14 using std::unique_ptr;
77 void render(
int contextIdx);
94 inline void addPoint(
const TransparentRenderPoint* point,
int atlasTextureIndex,
float pointSize,
const Color4& effectColorMul,
const Color4& effectColorAdd,
int textureHorizontalSprites,
int textureVerticalSprites) {
Color 4 definition class.
const array< float, 4 > & getArray() const
Batch renderer for points.
unique_ptr< ByteBuffer > sbSpriteSheetDimensionByteBuffer
ShortBuffer sbTextureSpriteIndices
unique_ptr< ByteBuffer > sbTextureSpriteIndicesByteBuffer
ShortBuffer sbSpriteSheetDimension
BatchRendererPoints(Renderer *renderer, int32_t id)
Public constructor.
void render(int contextIdx)
Render.
FloatBuffer fbSpriteSheetDimension
void addPointNoInteger(const TransparentRenderPoint *point, int atlasTextureIndex, float pointSize, const Color4 &effectColorMul, const Color4 &effectColorAdd, int textureHorizontalSprites, int textureVerticalSprites)
Adds a transparent render point to this transparent render points.
unique_ptr< ByteBuffer > fbTextureSpriteIndicesByteBuffer
unique_ptr< ByteBuffer > fbEffectColorAddByteBuffer
FloatBuffer fbEffectColorAdd
static constexpr int32_t POINT_COUNT
FloatBuffer fbTextureSpriteIndices
vector< int32_t > * vboIds
unique_ptr< ByteBuffer > fbPointSizesByteBuffer
unique_ptr< ByteBuffer > fbColorsByteBuffer
~BatchRendererPoints()
Destructor.
void clear()
Clears this batch vbo renderer.
unique_ptr< ByteBuffer > fbEffectColorMulByteBuffer
unique_ptr< ByteBuffer > fbVerticesByteBuffer
unique_ptr< ByteBuffer > fbSpriteSheetDimensionByteBuffer
void addPoint(const TransparentRenderPoint *point, int atlasTextureIndex, float pointSize, const Color4 &effectColorMul, const Color4 &effectColorAdd, int textureHorizontalSprites, int textureVerticalSprites)
Adds a transparent render point to this transparent render points.
FloatBuffer fbEffectColorMul
const array< float, 3 > & getArray() const
FloatBuffer * put(float value)
Put a float value into float buffer.
virtual int64_t getPosition()
ShortBuffer * put(uint16_t value)
Put a value into current position.
Transparent point to be rendered.
#define FORBID_CLASS_COPY(CLASS)