Polygon rasterization description. More...
#include <polygon_rasterizer.h>
Public Member Functions | |
Construction | |
CL_PolygonRasterizer () | |
Constructs a polygon rasterizer description. | |
virtual | ~CL_PolygonRasterizer () |
Attributes | |
bool | is_antialiased () const |
Returns true if the polygons are anti-aliased. | |
bool | is_culled () const |
Returns true if cull testing is enabled. | |
bool | is_point_offset () const |
Returns true if points are offset. | |
bool | is_line_offset () const |
Returns true if lines are offset. | |
bool | is_polygon_offset () const |
Returns true if polygons are offset. | |
CL_CullMode | get_face_cull_mode () const |
Returns the polygon cull clipping mode. | |
CL_FillMode | get_face_fill_mode () const |
Returns the filling mode for polygons. | |
float | get_offset_factor () const |
Returns the offsetting factor. | |
float | get_offset_units () const |
Returns the offsetting units. | |
CL_FaceSide | get_front_face () const |
Returns the side considered the front of a face. | |
Operations | |
void | set_antialiased (bool value) |
Enables/disables anti-aliasing. | |
void | set_culled (bool value) |
Enables/disables polygon cull clipping. | |
void | set_point_offset (bool value) |
Enables/disables point offsetting. | |
void | set_line_offset (bool value) |
Enables/disables line offsetting. | |
void | set_polygon_offset (bool value) |
Enables/disables polygon offsetting. | |
void | set_face_cull_mode (CL_CullMode value) |
Sets the polygon cull clipping mode. | |
void | set_face_fill_mode (CL_FillMode value) |
Sets the filling mode for polygons. | |
void | set_front_face (CL_FaceSide value) |
Sets which side is the front side of a face. | |
void | set_offset_factor (float value) |
Sets the offset factor. | |
void | set_offset_units (float value) |
Sets the offset units. |
Polygon rasterization description.
CL_PolygonRasterizer::CL_PolygonRasterizer | ( | ) |
Constructs a polygon rasterizer description.
virtual CL_PolygonRasterizer::~CL_PolygonRasterizer | ( | ) | [virtual] |
CL_CullMode CL_PolygonRasterizer::get_face_cull_mode | ( | ) | const |
Returns the polygon cull clipping mode.
CL_FillMode CL_PolygonRasterizer::get_face_fill_mode | ( | ) | const |
Returns the filling mode for polygons.
CL_FaceSide CL_PolygonRasterizer::get_front_face | ( | ) | const |
Returns the side considered the front of a face.
float CL_PolygonRasterizer::get_offset_factor | ( | ) | const |
Returns the offsetting factor.
float CL_PolygonRasterizer::get_offset_units | ( | ) | const |
Returns the offsetting units.
bool CL_PolygonRasterizer::is_antialiased | ( | ) | const |
Returns true if the polygons are anti-aliased.
bool CL_PolygonRasterizer::is_culled | ( | ) | const |
Returns true if cull testing is enabled.
bool CL_PolygonRasterizer::is_line_offset | ( | ) | const |
Returns true if lines are offset.
bool CL_PolygonRasterizer::is_point_offset | ( | ) | const |
Returns true if points are offset.
bool CL_PolygonRasterizer::is_polygon_offset | ( | ) | const |
Returns true if polygons are offset.
void CL_PolygonRasterizer::set_antialiased | ( | bool | value | ) |
Enables/disables anti-aliasing.
void CL_PolygonRasterizer::set_culled | ( | bool | value | ) |
Enables/disables polygon cull clipping.
void CL_PolygonRasterizer::set_face_cull_mode | ( | CL_CullMode | value | ) |
Sets the polygon cull clipping mode.
void CL_PolygonRasterizer::set_face_fill_mode | ( | CL_FillMode | value | ) |
Sets the filling mode for polygons.
void CL_PolygonRasterizer::set_front_face | ( | CL_FaceSide | value | ) |
Sets which side is the front side of a face.
void CL_PolygonRasterizer::set_line_offset | ( | bool | value | ) |
Enables/disables line offsetting.
void CL_PolygonRasterizer::set_offset_factor | ( | float | value | ) |
Sets the offset factor.
void CL_PolygonRasterizer::set_offset_units | ( | float | value | ) |
Sets the offset units.
void CL_PolygonRasterizer::set_point_offset | ( | bool | value | ) |
Enables/disables point offsetting.
void CL_PolygonRasterizer::set_polygon_offset | ( | bool | value | ) |
Enables/disables polygon offsetting.