31 lines
538 B
C
31 lines
538 B
C
#ifndef MATERIAL_PIXERHSHADER_H
|
|
#define MATERIAL_PIXERHSHADER_H
|
|
|
|
#include "d3dresource.h"
|
|
|
|
struct GfxPixelShaderLoadDef
|
|
{
|
|
unsigned __int8 *cachedPart;
|
|
unsigned __int8 *physicalPart;
|
|
unsigned __int16 cachedPartSize;
|
|
unsigned __int16 physicalPartSize;
|
|
};
|
|
|
|
struct D3DPixelShader : D3DResource
|
|
{
|
|
};
|
|
|
|
union Material_PixelShaderProgram
|
|
{
|
|
D3DPixelShader *ps;
|
|
GfxPixelShaderLoadDef loadDef;
|
|
};
|
|
|
|
struct MaterialPixelShader
|
|
{
|
|
const char *name;
|
|
Material_PixelShaderProgram prog;
|
|
};
|
|
|
|
#endif // MATERIAL_PIXERHSHADER_H
|