FTex2DInfo

namespace marengine

Enums

enum EMaterialType

Values:

enumerator NONE
enumerator TEX2D
struct FTex2DInfo

Public Members

std::string path = {}
uint32 sampler = {0}
int32 id = {-1}
class IMaterialFactory : public FRenderResourceFactory

Subclassed by FMaterialFactory

Public Functions

FMaterialTex2D *emplaceTex2D(const std::string &path) = 0
FMaterialStorage *getStorage() const = 0
class IMaterialProxy : public FRenderResource

Subclassed by FMaterialProxy

Public Functions

void destroy() = 0
void bind() const = 0
void load() = 0
EMaterialType getType() const = 0
class IMaterialStorage : public IRenderResourceStorage

Subclassed by FMaterialStorage

Public Functions

FMaterialTex2D *getTex2D(int32 index) const = 0
uint32 getCountTex2D() const = 0
const FMaterialProxy *retrieve(const CRenderable &cRenderable) const = 0
const FMaterialProxy *isAlreadyLoadedTex2D(const std::string &texture) const = 0