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