![]() |
Public API Reference |
![]() |
Helper class to obtain a shader variable that was guaranteedly not used in a frame yet. More...
#include <csgfx/shadervarframeholder.h>
Public Member Functions | |
csRef< csShaderVariable > | GetFrameUniqueSV (uint framenr, CS::ShaderVarStringID name) |
Allocate a shader variable that was not used this frame. |
Helper class to obtain a shader variable that was guaranteedly not used in a frame yet.
Definition at line 38 of file shadervarframeholder.h.
csRef<csShaderVariable> csShaderVariableFrameHolder::GetFrameUniqueSV | ( | uint | framenr, |
CS::ShaderVarStringID | name | ||
) |
Allocate a shader variable that was not used this frame.
framenr | Number of the current frame; used to track used and unused variable. |
name | Name of the variable |