srp
software rendering pipeline
Loading...
Searching...
No Matches
SRPContext Struct Reference

#include <context.h>

Collaboration diagram for SRPContext:

Public Attributes

SRPMessageCallbackType messageCallback
 
void * messageCallbackUserParameter
 
SRPProvokingVertexMode provokingVertexMode
 
SRPFrontFace frontFace
 
SRPCullFace cullFace
 
SRPPolygonMode polygonMode
 
float pointSize
 
SRPArenaarena
 

Detailed Description

Holds runtime settings. This always needs to be declared as SRPContext srpContext in user programs and initialized with srpNewContext()

Member Data Documentation

◆ arena

SRPArena* SRPContext::arena

Arena for internal allocations. Is not exposed to the user

◆ cullFace

SRPCullFace SRPContext::cullFace

Which face(s) should be culled

◆ frontFace

SRPFrontFace SRPContext::frontFace

Which face is considered front-facing

◆ messageCallback

SRPMessageCallbackType SRPContext::messageCallback

Message callback function that is called whenever an error/warning/etc. occurs

◆ messageCallbackUserParameter

void* SRPContext::messageCallbackUserParameter

User pointer to pass to message callback function

See also
SRPContext.messageCallback

◆ pointSize

float SRPContext::pointSize

Size of rasterized point, in pixels

◆ polygonMode

SRPPolygonMode SRPContext::polygonMode

Polygon rendering mode

◆ provokingVertexMode

SRPProvokingVertexMode SRPContext::provokingVertexMode

Which vertex is considered to be the provoking vertex


The documentation for this struct was generated from the following file: