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

#include <shaders.h>

Collaboration diagram for SRPShaderProgram:

Public Attributes

SRPUniformuniform
 
SRPVertexShadervs
 
SRPFragmentShaderfs
 

Detailed Description

Holds shaders and a uniform. While not being a program (i.e. is not compiled), the naming is chosen to be similar to OpenGL's shader program

See also
srpDrawVertexBuffer srpDrawIndexBuffer

Member Data Documentation

◆ fs

SRPFragmentShader* SRPShaderProgram::fs

Pointer to the vertex shader to use

◆ vs

SRPVertexShader* SRPShaderProgram::vs

Pointer to the uniform to use


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