srp
software rendering pipeline
Loading...
Searching...
No Matches
vertex.h File Reference
#include <stddef.h>
#include "type.h"
Include dependency graph for vertex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SRPVaryingInfo
 
enum  SRPInterpolationMode { SRP_INTERPOLATION_MODE_PERSPECTIVE , SRP_INTERPOLATION_MODE_AFFINE , SRP_INTERPOLATION_MODE_FLAT }
 
typedef struct SRPVertex SRPVertex
 
typedef struct SRPVarying SRPVarying
 
typedef enum SRPInterpolationMode SRPInterpolationMode
 
typedef struct SRPInterpolated SRPInterpolated
 

Detailed Description

Typedefs related to vertex handling

Typedef Documentation

◆ SRPInterpolated

Represents interpolated varyings

See also
SRPVarying

◆ SRPInterpolationMode

Varyings interpolation mode

◆ SRPVarying

typedef struct SRPVarying SRPVarying

Represents a varying as outputted by the vertex shader

See also
SRPVertexShaderOut

Enumeration Type Documentation

◆ SRPInterpolationMode

Varyings interpolation mode

Enumerator
SRP_INTERPOLATION_MODE_PERSPECTIVE 

Perspective-correct interplolation

SRP_INTERPOLATION_MODE_AFFINE 

Affine screen-space interpolation

SRP_INTERPOLATION_MODE_FLAT 

No interpolation, value for the primitive is taken from the provoking vertex