Wrapper for the basic point, line and polygon rasterization operations. More...
#include </home/chochlik/devel/oglplus/include/oglplus/context/rasterization.hpp>
Static Public Member Functions | |
static void | FrontFace (FaceOrientation orientation) |
Sets the polygon facing mode. More... | |
static void | CullFace (Face mode) |
Sets the face culling mode. More... | |
static Face | CullFaceMode (void) |
Returns the face culling mode. More... | |
static void | PolygonMode (Face face, oglplus::PolygonMode mode) |
Sets the polygon rasterization mode. More... | |
static void | PolygonMode (oglplus::PolygonMode mode) |
Sets the polygon rasterization mode. More... | |
static oglplus::PolygonMode | PolygonMode (void) |
Returns the face culling mode. More... | |
static void | PolygonOffset (GLfloat factor, GLfloat units) |
Sets the polygon depth offset. More... | |
static GLfloat | PolygonOffsetFactor (void) |
Returns the polygon offset factor. More... | |
static GLfloat | PolygonOffsetUnits (void) |
Returns the polygon offset units. More... | |
static void | LineWidth (GLfloat width) |
Sets the line width. More... | |
static GLfloat | LineWidth (void) |
Returns the line width. More... | |
static void | PointSize (GLfloat size) |
Sets the point size. More... | |
static GLfloat | PointSize (void) |
Returns the point size. More... | |
static void | PointFadeThresholdSize (GLfloat size) |
Sets the point fade threshold size. More... | |
static GLfloat | PointFadeThresholdSize (void) |
Returns the point fade threshold size. More... | |
static void | ProvokingVertex (ProvokeMode mode) |
Sets the provoking vertex selection mode for flatshading. More... | |
static ProvokeMode | ProvokingVertex (void) |
Returns the provoking vertex selection mode for flatshading. More... | |
static GLint | SampleBuffers (void) |
Returns the value of sample buffers. More... | |
static GLint | Samples (void) |
Returns the number of multisampling samples. More... | |
static Vec2f | SamplePosition (GLuint index) |
Returns the position of the specified multisampling sample. More... | |
static GLfloat | MinSampleShading (void) |
Returns the minimal sample shading value. More... | |
static void | MinSampleShading (GLfloat value) |
Sets the multisampling minimal sample shading value. More... | |
Wrapper for the basic point, line and polygon rasterization operations.
|
static |
Sets the face culling mode.
|
static |
Returns the face culling mode.
GL_CULL_FACE_MODE
|
static |
Sets the polygon facing mode.
|
static |
|
static |
|
static |
Returns the minimal sample shading value.
Requires OpenGL 4.0.
GL_MIN_SAMPLE_SHADING_VALUE
Referenced by MinSampleShading().
|
static |
Sets the multisampling minimal sample shading value.
Requires OpenGL 4.0.
References MinSampleShading().
|
static |
Sets the point fade threshold size.
GL_POINT_FADE_THRESHOLD_SIZE
|
static |
Returns the point fade threshold size.
GL_POINT_FADE_THRESHOLD_SIZE
|
static |
|
static |
|
static |
Sets the polygon rasterization mode.
|
static |
Sets the polygon rasterization mode.
|
static |
Returns the face culling mode.
GL_POLYGON_MODE
|
static |
Sets the polygon depth offset.
|
static |
Returns the polygon offset factor.
GL_POLYGON_OFFSET_FACTOR
|
static |
Returns the polygon offset units.
GL_POLYGON_OFFSET_UNITS
|
static |
Sets the provoking vertex selection mode for flatshading.
Requires OpenGL 3.2 or the GL_ARB_provoking_vertex extension.
References ProvokingVertex().
|
static |
Returns the provoking vertex selection mode for flatshading.
Requires OpenGL 3.2 or the GL_ARB_provoking_vertex extension.
GL_PROVOKING_VERTEX
Referenced by ProvokingVertex().
|
static |
Returns the value of sample buffers.
GL_SAMPLE_BUFFERS
|
static |
Returns the position of the specified multisampling sample.
Requires OpenGL 3.2.
GL_SAMPLE_POSITION
References oglplus::Vector< T, N >::Data.
|
static |
Returns the number of multisampling samples.
GL_SAMPLES