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

#include <shaders.h>

Public Attributes

float color [4]
 
float fragDepth
 

Detailed Description

Holds outputs from fragment shader

See also
SRPFragmentShader

Member Data Documentation

◆ color

float SRPFragmentShaderOut::color[4]

Color to draw at this fragment

◆ fragDepth

float SRPFragmentShaderOut::fragDepth

Set the depth value of the current fragment. May be written only if SRPFragmentShader.mayOverwriteDepth is true


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