XPlor/libs/assets/materialpixelshader.h

35 lines
621 B
C
Raw Normal View History

2025-06-07 11:20:47 -04:00
#ifndef MATERIAL_PIXERHSHADER_H
#define MATERIAL_PIXERHSHADER_H
#include "d3dresource.h"
2025-07-10 00:04:52 -04:00
#include "qcontainerfwd.h"
#include "qtypes.h"
2025-06-07 11:20:47 -04:00
struct GfxPixelShaderLoadDef
{
2025-07-10 00:04:52 -04:00
quint16 cachedPartPtr;
QVector<quint8> cachedPart;
quint16 physicalPartPtr;
QVector<quint8> physicalPart;
quint16 cachedPartSize;
quint16 physicalPartSize;
2025-06-07 11:20:47 -04:00
};
struct D3DPixelShader : D3DResource
{
};
union Material_PixelShaderProgram
{
D3DPixelShader *ps;
GfxPixelShaderLoadDef loadDef;
};
struct MaterialPixelShader
{
const char *name;
Material_PixelShaderProgram prog;
};
#endif // MATERIAL_PIXERHSHADER_H