mirror of https://github.com/axmolengine/axmol.git
39 lines
730 B
C++
39 lines
730 B
C++
|
|
#pragma once
|
|
|
|
#include "../../Effekseer/Effekseer/Material/Effekseer.MaterialCompiler.h"
|
|
#include <vector>
|
|
|
|
namespace Effekseer
|
|
{
|
|
|
|
class MaterialCompilerDX12 : public MaterialCompiler, public ReferenceObject
|
|
{
|
|
private:
|
|
public:
|
|
MaterialCompilerDX12() = default;
|
|
|
|
virtual ~MaterialCompilerDX12() = 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
|