|
srp
software rendering pipeline
|
Internals of the Context module. More...

Internals of the Context module.
| void srpDepthCompareOp | ( | SRPCompareOp | op | ) |
Set the compare operation used in the depth test
| void srpDepthTest | ( | bool | enable | ) |
Enable or disable the depth test
| void srpDepthWrite | ( | bool | enable | ) |
Enable or disable the depth writing
| void srpMessageCallbackHelper | ( | SRPMessageType | type, |
| SRPMessageSeverity | severity, | ||
| const char * | sourceFunction, | ||
| const char * | format, | ||
| ... | |||
| ) |
A helper function used by the library implementation to make callbacks easier
| [in] | type | Message type |
| [in] | severity | Message severity |
| [in] | sourceFunction | Function that is the source of this message |
| [in] | format | printf-like format string |
| [in] | ... | Values passed to the format string |
SRPMessageCallbackFunc | void srpNewContext | ( | SRPContext * | pContext | ) |
Initialize the context
| [in] | pContext | The pointer to the context |
| void srpProvokingVertexMode | ( | SRPProvokingVertexMode | mode | ) |
Set the provoking vertex convention
| void srpRasterCullFace | ( | SRPFace | face | ) |
Set the face(s) to cull
| void srpRasterFrontFace | ( | SRPWinding | face | ) |
Set the winding order considered the front face
| void srpRasterPointSize | ( | float | size | ) |
Set point size
| void srpRasterPolygonMode | ( | SRPPolygonMode | mode | ) |
Set polygon rasterization mode
| void srpScissorOptions | ( | size_t | x, |
| size_t | y, | ||
| size_t | width, | ||
| size_t | height | ||
| ) |
Set the options for the scissor test
| void srpScissorTest | ( | bool | enable | ) |
Enable or disable the scissor test
| void srpSetMessageCallback | ( | SRPMessageCallback | callback | ) |
Set message callback function
| void srpStencilFunc | ( | SRPCompareOp | func, |
| uint8_t | ref, | ||
| uint8_t | mask | ||
| ) |
Set the stencil comparison function options
| void srpStencilFuncSeparate | ( | SRPFace | face, |
| SRPCompareOp | func, | ||
| uint8_t | ref, | ||
| uint8_t | mask | ||
| ) |
Set the stencil comparison function options for a specific face type
| void srpStencilOp | ( | SRPStencilOp | sfail, |
| SRPStencilOp | dfail, | ||
| SRPStencilOp | pass | ||
| ) |
Set the stencil update operation options
| void srpStencilOpSeparate | ( | SRPFace | face, |
| SRPStencilOp | sfail, | ||
| SRPStencilOp | dfail, | ||
| SRPStencilOp | pass | ||
| ) |
Set the stencil update operation options for a specific face type
| void srpStencilTest | ( | bool | enable | ) |
Enable or disable the stencil test
| void srpStencilWriteMask | ( | uint8_t | mask | ) |
Set the write mask on stencil operations
| void srpStencilWriteMaskSeparate | ( | SRPFace | face, |
| uint8_t | mask | ||
| ) |
Set the write mask on stencil operations for a specific face type