35 lines
612 B
C
35 lines
612 B
C
#ifndef MATERIAL_PIXERHSHADER_H
|
|
#define MATERIAL_PIXERHSHADER_H
|
|
|
|
#include "d3dresource.h"
|
|
#include <QVector>
|
|
#include <QtTypes>
|
|
|
|
struct GfxPixelShaderLoadDef
|
|
{
|
|
quint16 cachedPartPtr;
|
|
QVector<quint8> cachedPart;
|
|
quint16 physicalPartPtr;
|
|
QVector<quint8> physicalPart;
|
|
quint16 cachedPartSize;
|
|
quint16 physicalPartSize;
|
|
};
|
|
|
|
struct D3DPixelShader : D3DResource
|
|
{
|
|
};
|
|
|
|
union Material_PixelShaderProgram
|
|
{
|
|
D3DPixelShader *ps;
|
|
GfxPixelShaderLoadDef loadDef;
|
|
};
|
|
|
|
struct MaterialPixelShader
|
|
{
|
|
const char *name;
|
|
Material_PixelShaderProgram prog;
|
|
};
|
|
|
|
#endif // MATERIAL_PIXERHSHADER_H
|