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
31
src/gx/RenderState.cpp
Normal file
31
src/gx/RenderState.cpp
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#include "gx/RenderState.hpp"
|
||||
#include "gx/Shader.hpp"
|
||||
#include "gx/Device.hpp"
|
||||
#include "gx/Types.hpp"
|
||||
#include "gx/texture/CGxTex.hpp"
|
||||
#include <storm/Error.hpp>
|
||||
|
||||
void GxRsPop() {
|
||||
g_theGxDevicePtr->RsPop();
|
||||
}
|
||||
|
||||
void GxRsPush() {
|
||||
g_theGxDevicePtr->RsPush();
|
||||
}
|
||||
|
||||
void GxRsSet(EGxRenderState which, int32_t value) {
|
||||
STORM_ASSERT(which < GxRenderStates_Last);
|
||||
g_theGxDevicePtr->RsSet(which, value);
|
||||
}
|
||||
|
||||
void GxRsSet(EGxRenderState which, CGxShader* value) {
|
||||
g_theGxDevicePtr->RsSet(which, value);
|
||||
}
|
||||
|
||||
void GxRsSet(EGxRenderState which, CGxTex* value) {
|
||||
g_theGxDevicePtr->RsSet(which, value);
|
||||
}
|
||||
|
||||
void GxRsSetAlphaRef() {
|
||||
g_theGxDevicePtr->RsSetAlphaRef();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue