RenderState class
RenderState class
Render state for building the pipeline The changes made on render state will not affect the created pipeline instances.
The RenderState type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self) | Constructor of RenderState |
Properties
| Property | Description |
|---|---|
| blend | Enable or disable the fragment blending. |
| blend_color | Gets or sets the blend color where used in BlendFactor.CONSTANT_COLOR |
| source_blend_factor | Gets or sets how the color is blended. |
| destination_blend_factor | Gets or sets how the color is blended. |
| cull_face | Enable or disable cull face |
| cull_face_mode | Gets or sets which face will be culled. |
| front_face | Gets or sets which order is front face. |
| depth_test | Enable or disable the depth test. |
| depth_mask | Enable or disable the depth writing. |
| depth_function | Gets or sets the compare function used in depth test |
| stencil_test | Enable or disable the stencil test. |
| stencil_reference | Gets or sets the reference value for the stencil test. |
| stencil_mask | Gets or sets the mask that is ANDed with the both reference and stored stencil value when test is done. |
| stencil_front_face | Gets the stencil state for front face. |
| stencil_back_face | Gets the stencil state for back face. |
| scissor_test | Enable or disable scissor test |
| polygon_mode | Gets or sets the polygon’s render mode. |
Methods
| Method | Description |
|---|---|
compare_to(self, other) | Compare the render state with another instance |
See Also
- module
aspose.threed.render - class
RenderState