Caching of OpenGL uniform parameters. 更多...
#include <OpenGLShaderResources.h>
Public 成员函数 | |
| void | CommitPackedGlobals (const FOpenGLLinkedProgram *LinkedProgram, int32 Stage) |
| Commit shader parameters to the currently bound program. 更多... | |
| FOpenGLShaderParameterCache () | |
| Constructor. | |
| void | MarkAllDirty () |
| Marks all uniform arrays as dirty. | |
| void | Set (uint32 BufferIndex, uint32 ByteOffset, uint32 NumBytes, const void *NewValues) |
| Sets values directly into the packed uniform array | |
| ~FOpenGLShaderParameterCache () | |
| Destructor. | |
Caching of OpenGL uniform parameters.
| void FOpenGLShaderParameterCache::CommitPackedGlobals | ( | const FOpenGLLinkedProgram * | LinkedProgram, |
| int32 | Stage | ||
| ) |
Commit shader parameters to the currently bound program.
| ParameterTable | - Information on the bound uniform arrays for the program. |