mirror of https://github.com/axmolengine/axmol.git
39 lines
727 B
C
39 lines
727 B
C
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "../../Effekseer/Effekseer/Material/Effekseer.MaterialCompiler.h"
|
||
|
#include <vector>
|
||
|
|
||
|
namespace Effekseer
|
||
|
{
|
||
|
|
||
|
class MaterialCompilerDX9 : public MaterialCompiler, public ReferenceObject
|
||
|
{
|
||
|
private:
|
||
|
public:
|
||
|
MaterialCompilerDX9() = default;
|
||
|
|
||
|
virtual ~MaterialCompilerDX9() = default;
|
||
|
|
||
|
CompiledMaterialBinary* Compile(MaterialFile* materialFile, int32_t maximumUniformCount, int32_t maximumTextureCount);
|
||
|
|
||
|
CompiledMaterialBinary* Compile(MaterialFile* materialFile) override;
|
||
|
|
||
|
int AddRef() override
|
||
|
{
|
||
|
return ReferenceObject::AddRef();
|
||
|
}
|
||
|
|
||
|
int Release() override
|
||
|
{
|
||
|
return ReferenceObject::Release();
|
||
|
}
|
||
|
|
||
|
int GetRef() override
|
||
|
{
|
||
|
return ReferenceObject::GetRef();
|
||
|
}
|
||
|
};
|
||
|
|
||
|
} // namespace Effekseer
|