Rasterizer state description. More...
#include <rasterizer_state_description.h>
Public Member Functions | |
RasterizerStateDescription () | |
bool | antialiased () const |
RasterizerStateDescription | clone () const |
bool | culled () const |
void | enable_antialiased (bool value) |
Enables/disables anti-aliasing. (uicoreGL only) More... | |
bool | enable_line_antialiasing () const |
void | enable_line_antialiasing (bool enabled) |
Setting to true enables line antialiasing. More... | |
void | enable_offset_fill (bool value) |
Enables/disables polygon offsetting. More... | |
void | enable_offset_line (bool value) |
Enables/disables line offsetting. More... | |
void | enable_offset_point (bool value) |
Enables/disables point offsetting. More... | |
void | enable_point_size (bool enable) |
Enables if points sizes is set by the vertex shader. (uicoreGL only) More... | |
bool | enable_scissor () const |
void | enable_scissor (bool enabled) |
Enables/disables if clipping rects are used. More... | |
CullMode | face_cull_mode () const |
FillMode | face_fill_mode () const |
FaceSide | front_face () const |
bool | is_point_size () const |
bool | offset_fill () const |
bool | offset_line () const |
bool | offset_point () const |
bool | operator< (const RasterizerStateDescription &other) const |
bool | operator== (const RasterizerStateDescription &other) const |
float | point_fade_treshold_size () const |
float | point_size () const |
PointSpriteOrigin | point_sprite_origin () const |
void | polygon_offset (float &out_factor, float &out_units) const |
void | set_culled (bool value) |
Enables/disables polygon cull clipping. More... | |
void | set_face_cull_mode (CullMode value) |
Sets the polygon cull clipping mode. More... | |
void | set_face_fill_mode (FillMode value) |
Sets the filling mode for polygons. More... | |
void | set_front_face (FaceSide value) |
Sets which side is the front side of a face. More... | |
void | set_point_fade_treshold_size (float) |
Alpha fade point once minimum size treshold reached. Requires multisampling to be enabled. (uicoreGL only) More... | |
void | set_point_size (float) |
The default value is 1.0 (uicoreGL only) More... | |
void | set_point_sprite_origin (PointSpriteOrigin origin) |
Sets the origin of texture point sprites. (uicoreGL only) More... | |
void | set_polygon_offset (float factor, float units) |
Sets the offset factor. More... | |
Rasterizer state description.
uicore::RasterizerStateDescription::RasterizerStateDescription | ( | ) |
bool uicore::RasterizerStateDescription::antialiased | ( | ) | const |
RasterizerStateDescription uicore::RasterizerStateDescription::clone | ( | ) | const |
bool uicore::RasterizerStateDescription::culled | ( | ) | const |
void uicore::RasterizerStateDescription::enable_antialiased | ( | bool | value | ) |
Enables/disables anti-aliasing. (uicoreGL only)
bool uicore::RasterizerStateDescription::enable_line_antialiasing | ( | ) | const |
void uicore::RasterizerStateDescription::enable_line_antialiasing | ( | bool | enabled | ) |
Setting to true enables line antialiasing.
Initially antialiasing of lines is disabled.
void uicore::RasterizerStateDescription::enable_offset_fill | ( | bool | value | ) |
Enables/disables polygon offsetting.
void uicore::RasterizerStateDescription::enable_offset_line | ( | bool | value | ) |
Enables/disables line offsetting.
void uicore::RasterizerStateDescription::enable_offset_point | ( | bool | value | ) |
Enables/disables point offsetting.
void uicore::RasterizerStateDescription::enable_point_size | ( | bool | enable | ) |
Enables if points sizes is set by the vertex shader. (uicoreGL only)
bool uicore::RasterizerStateDescription::enable_scissor | ( | ) | const |
void uicore::RasterizerStateDescription::enable_scissor | ( | bool | enabled | ) |
Enables/disables if clipping rects are used.
CullMode uicore::RasterizerStateDescription::face_cull_mode | ( | ) | const |
FillMode uicore::RasterizerStateDescription::face_fill_mode | ( | ) | const |
FaceSide uicore::RasterizerStateDescription::front_face | ( | ) | const |
bool uicore::RasterizerStateDescription::is_point_size | ( | ) | const |
bool uicore::RasterizerStateDescription::offset_fill | ( | ) | const |
bool uicore::RasterizerStateDescription::offset_line | ( | ) | const |
bool uicore::RasterizerStateDescription::offset_point | ( | ) | const |
bool uicore::RasterizerStateDescription::operator< | ( | const RasterizerStateDescription & | other | ) | const |
bool uicore::RasterizerStateDescription::operator== | ( | const RasterizerStateDescription & | other | ) | const |
float uicore::RasterizerStateDescription::point_fade_treshold_size | ( | ) | const |
float uicore::RasterizerStateDescription::point_size | ( | ) | const |
PointSpriteOrigin uicore::RasterizerStateDescription::point_sprite_origin | ( | ) | const |
void uicore::RasterizerStateDescription::polygon_offset | ( | float & | out_factor, |
float & | out_units | ||
) | const |
void uicore::RasterizerStateDescription::set_culled | ( | bool | value | ) |
Enables/disables polygon cull clipping.
void uicore::RasterizerStateDescription::set_face_cull_mode | ( | CullMode | value | ) |
Sets the polygon cull clipping mode.
void uicore::RasterizerStateDescription::set_face_fill_mode | ( | FillMode | value | ) |
Sets the filling mode for polygons.
void uicore::RasterizerStateDescription::set_front_face | ( | FaceSide | value | ) |
Sets which side is the front side of a face.
void uicore::RasterizerStateDescription::set_point_fade_treshold_size | ( | float | ) |
Alpha fade point once minimum size treshold reached. Requires multisampling to be enabled. (uicoreGL only)
void uicore::RasterizerStateDescription::set_point_size | ( | float | ) |
The default value is 1.0 (uicoreGL only)
void uicore::RasterizerStateDescription::set_point_sprite_origin | ( | PointSpriteOrigin | origin | ) |
Sets the origin of texture point sprites. (uicoreGL only)
void uicore::RasterizerStateDescription::set_polygon_offset | ( | float | factor, |
float | units | ||
) |
Sets the offset factor.