#include "xmaterialpixelshaderprogram.h"

XMaterialPixelShaderProgram::XMaterialPixelShaderProgram()
    : XAsset()
    , mPixelShader()
    , mLoadDef()
{
    
}

XMaterialPixelShaderProgram::~XMaterialPixelShaderProgram()
{

}

void XMaterialPixelShaderProgram::Clear()
{
    mPixelShader.Clear();
    mLoadDef.Clear();
}

void XMaterialPixelShaderProgram::ParseData(QDataStream *aStream)
{
    mLoadDef.ParseData(aStream);
    mPixelShader.ParseData(aStream);

    if (mLoadDef.GetPhysicalPartSize())
    {
        //mPixelShader.
    }
    else
    {
        //mLoadDef
    }
}
