|
Ocular Engine
|
#include <RasterState.hpp>
Public Attributes | |
| FillMode | fillMode |
| Determines if triangles are filled during rasterization. | |
| CullMode | cullMode |
| Determines what type of triangles to cull. | |
| CullDirection | cullDirection |
| Determines what is considered front/back-facing triangles. | |
| PrimitiveStyle | primitiveStyle |
| Determines how vertex data is interpreted. | |
| bool | enableMultisampling |
| Enables/disable RenderTexture antialiasing. | |
| bool | enableLineAntialiasing |
| Enables line primitive antialiasing. | |
| State Component | Default Value |
|---|---|
| Fill Mode | Solid |
| Cull Mode | Back |
| Cull Direction | Counterclockwise |
| Primitive Style | Triangle List |
| Enable Multisampling | True |
| Enable Line Antialiasing | False |