mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 19:22:30 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
14
src/gx/Shader.cpp
Normal file
14
src/gx/Shader.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include "gx/Shader.hpp"
|
||||
#include "gx/Device.hpp"
|
||||
|
||||
char* GxShaderConstantsLock(EGxShTarget target) {
|
||||
return g_theGxDevicePtr->ShaderConstantsLock(target);
|
||||
}
|
||||
|
||||
void GxShaderConstantsSet(EGxShTarget target, uint32_t index, const float* constants, uint32_t count) {
|
||||
g_theGxDevicePtr->ShaderConstantsSet(target, index, constants, count);
|
||||
}
|
||||
|
||||
void GxShaderConstantsUnlock(EGxShTarget target, uint32_t index, uint32_t count) {
|
||||
g_theGxDevicePtr->ShaderConstantsUnlock(target, index, count);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue