OGLplus (0.52.0) a C++ wrapper for OpenGL

Wrapper for the basic point, line and polygon rasterization operations. More...

#include </home/chochlik/devel/oglplus/include/oglplus/context/rasterization.hpp>

Inheritance diagram for oglplus::context::Rasterization:

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...
 

Detailed Description

Wrapper for the basic point, line and polygon rasterization operations.

Member Function Documentation

static void oglplus::context::Rasterization::CullFace ( Face  mode)
static

Sets the face culling mode.

Related OpenGL symbols:
glCullFace
static Face oglplus::context::Rasterization::CullFaceMode ( void  )
static

Returns the face culling mode.

Related OpenGL symbols:
glGet GL_CULL_FACE_MODE
static void oglplus::context::Rasterization::FrontFace ( FaceOrientation  orientation)
static

Sets the polygon facing mode.

Related OpenGL symbols:
glFrontFace
static void oglplus::context::Rasterization::LineWidth ( GLfloat  width)
static

Sets the line width.

Related OpenGL symbols:
glLineWidth

References LineWidth().

static GLfloat oglplus::context::Rasterization::LineWidth ( void  )
static

Returns the line width.

Related OpenGL symbols:
glGet GL_LINE_WIDTH

Referenced by LineWidth().

static GLfloat oglplus::context::Rasterization::MinSampleShading ( void  )
static

Returns the minimal sample shading value.

Requires OpenGL 4.0.

Related OpenGL symbols:
glGet GL_MIN_SAMPLE_SHADING_VALUE

Referenced by MinSampleShading().

static void oglplus::context::Rasterization::MinSampleShading ( GLfloat  value)
static

Sets the multisampling minimal sample shading value.

Requires OpenGL 4.0.

Related OpenGL symbols:
glMinSampleShading

References MinSampleShading().

static void oglplus::context::Rasterization::PointFadeThresholdSize ( GLfloat  size)
static

Sets the point fade threshold size.

Related OpenGL symbols:
glPointParameter GL_POINT_FADE_THRESHOLD_SIZE
static GLfloat oglplus::context::Rasterization::PointFadeThresholdSize ( void  )
static

Returns the point fade threshold size.

Related OpenGL symbols:
glGet GL_POINT_FADE_THRESHOLD_SIZE
static void oglplus::context::Rasterization::PointSize ( GLfloat  size)
static

Sets the point size.

Related OpenGL symbols:
glPointSize

References PointSize().

static GLfloat oglplus::context::Rasterization::PointSize ( void  )
static

Returns the point size.

Related OpenGL symbols:
glGet GL_POINT_SIZE

Referenced by PointSize().

static void oglplus::context::Rasterization::PolygonMode ( Face  face,
oglplus::PolygonMode  mode 
)
static

Sets the polygon rasterization mode.

Related OpenGL symbols:
glPolygonMode
static void oglplus::context::Rasterization::PolygonMode ( oglplus::PolygonMode  mode)
static

Sets the polygon rasterization mode.

Related OpenGL symbols:
glPolygonMode
static oglplus::PolygonMode oglplus::context::Rasterization::PolygonMode ( void  )
static

Returns the face culling mode.

Related OpenGL symbols:
glGet GL_POLYGON_MODE
static void oglplus::context::Rasterization::PolygonOffset ( GLfloat  factor,
GLfloat  units 
)
static

Sets the polygon depth offset.

Related OpenGL symbols:
glPolygonOffset
static GLfloat oglplus::context::Rasterization::PolygonOffsetFactor ( void  )
static

Returns the polygon offset factor.

Related OpenGL symbols:
glGet GL_POLYGON_OFFSET_FACTOR
static GLfloat oglplus::context::Rasterization::PolygonOffsetUnits ( void  )
static

Returns the polygon offset units.

Related OpenGL symbols:
glGet GL_POLYGON_OFFSET_UNITS
static void oglplus::context::Rasterization::ProvokingVertex ( ProvokeMode  mode)
static

Sets the provoking vertex selection mode for flatshading.

Requires OpenGL 3.2 or the GL_ARB_provoking_vertex extension.

Related OpenGL symbols:
glProvokingVertex

References ProvokingVertex().

static ProvokeMode oglplus::context::Rasterization::ProvokingVertex ( void  )
static

Returns the provoking vertex selection mode for flatshading.

Requires OpenGL 3.2 or the GL_ARB_provoking_vertex extension.

Related OpenGL symbols:
glGet GL_PROVOKING_VERTEX

Referenced by ProvokingVertex().

static GLint oglplus::context::Rasterization::SampleBuffers ( void  )
static

Returns the value of sample buffers.

Related OpenGL symbols:
glGet GL_SAMPLE_BUFFERS
static Vec2f oglplus::context::Rasterization::SamplePosition ( GLuint  index)
static

Returns the position of the specified multisampling sample.

Requires OpenGL 3.2.

Related OpenGL symbols:
glGetMultisample GL_SAMPLE_POSITION

References oglplus::Vector< T, N >::Data.

static GLint oglplus::context::Rasterization::Samples ( void  )
static

Returns the number of multisampling samples.

Related OpenGL symbols:
glGet GL_SAMPLES

The documentation for this class was generated from the following file:

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).