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