54 inline void addPoint(
const Vector3& point, uint16_t spriteIndex,
const Color4& color,
int particleSystemType,
void* particleSystem) {
57 Console::println(
string(
"TransparentRenderPointsPool::createTransparentRenderPoint(): Too many transparent render points"));
62 transparentRenderPoint->point = point;
63 transparentRenderPoint->spriteIndex = spriteIndex;
64 transparentRenderPoint->color = color;
65 transparentRenderPoint->particleSystemType = particleSystemType;
66 transparentRenderPoint->particleSystem = particleSystem;
Render transparent render points pool.
Transparent render points pool.
void addPoint(const Vector3 &point, uint16_t spriteIndex, const Color4 &color, int particleSystemType, void *particleSystem)
Creates an transparent render point entity in pool.
~TransparentRenderPointsPool()
Destructor.
int getTransparentRenderPointsCount()
TransparentRenderPointsPool(int32_t pointsMax)
Public constructor.
void sort()
Sort transparent render points.
const vector< TransparentRenderPoint * > & getTransparentRenderPoints()
vector< TransparentRenderPoint * > transparentRenderPoints
Transparent point to be rendered.