#ifndef MATERIAL_PIXERHSHADER_H
#define MATERIAL_PIXERHSHADER_H

#include "d3dresource.h"
#include "qcontainerfwd.h"
#include "qtypes.h"

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
