mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(gx): load shaders in d3d backend
This commit is contained in:
parent
84cc5e998f
commit
5d294c5c2b
2 changed files with 60 additions and 1 deletions
|
|
@ -232,6 +232,7 @@ class CGxDeviceD3d : public CGxDevice {
|
|||
virtual char* BufLock(CGxBuf* buf);
|
||||
virtual int32_t BufUnlock(CGxBuf* buf, uint32_t size);
|
||||
virtual void IShaderCreate(CGxShader* shader);
|
||||
virtual void ShaderCreate(CGxShader* shaders[], EGxShTarget target, const char* a4, const char* a5, int32_t permutations);
|
||||
virtual int32_t StereoEnabled();
|
||||
|
||||
// Member functions
|
||||
|
|
@ -249,6 +250,8 @@ class CGxDeviceD3d : public CGxDevice {
|
|||
void IDestroyD3d();
|
||||
void IDestroyD3dDevice();
|
||||
void ISetTexture(uint32_t tmu, CGxTex* texId);
|
||||
void IShaderCreatePixel(CGxShader* shader);
|
||||
void IShaderCreateVertex(CGxShader* shader);
|
||||
void ITexCreate(CGxTex* texId);
|
||||
void ITexUpload(CGxTex* texId);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue