ILightBatch

namespace marengine

Enums

enum ELightBatchType

Values:

enumerator NONE
enumerator POINTLIGHT
enumerator DIRECTIONALLIGHT
class ILightBatch : public FRenderResource

Subclassed by FLightBatch

Public Functions

const float *getBatchData() const = 0
uint32 getCountLight() const = 0
bool shouldBeBatched(const Entity &entity) const = 0
bool canBeBatched(const Entity &entity) const = 0
void submitToBatch(const Entity &entity) = 0
void passLightSSBO(int32 index) = 0
int32 getLightSSBO() const = 0
ELightBatchType getType() const = 0
class ILightBatchFactory : public FRenderResourceFactory

Subclassed by FLightBatchFactory

Public Functions

FPointLightBatch *emplacePointLightBatch() = 0
class ILightBatchStorage : public IRenderResourceStorage

Subclassed by FLightBatchStorage

Public Functions

FPointLightBatch *getPointLightBatch() const = 0
uint32 getCountPointLightBatch() const = 0