21 using std::unique_ptr;
Color 4 definition class.
Batch renderer for transparent triangles.
~BatchRendererTriangles()
Destructor.
bool addVertex(const Vector3 &vertex, const Vector3 &normal, const Vector2 &textureCoordinate)
Adds a vertex to this transparent render faces group.
FloatBuffer fbEffectColorAdds
BatchRendererTriangles(Renderer *renderer, int32_t id)
Public constructor.
static constexpr int32_t TRIANGLE_COUNT
static constexpr int32_t VERTEX_COUNT
unique_ptr< ByteBuffer > fbEffectColorAddsByteBuffer
unique_ptr< ByteBuffer > fbNormalsByteBuffer
vector< int32_t > * vboIds
FloatBuffer fbTextureCoordinates
void clear()
Clears this batch vbo renderer.
unique_ptr< ByteBuffer > fbVerticesByteBuffer
FloatBuffer fbEffectColorMuls
FloatBuffer fbModelMatrices
unique_ptr< ByteBuffer > fbModelMatricesByteBuffer
unique_ptr< ByteBuffer > fbEffectColorMulsByteBuffer
unique_ptr< ByteBuffer > fbTextureCoordinatesByteBuffer
Transparent render faces group.
Matrix4x4 class representing matrix4x4 mathematical structure and operations for 3d space.
Vector2 class representing vector2 mathematical structure and operations with x, y components.
const array< float, 2 > & getArray() const
Vector3 class representing vector3 mathematical structure and operations with x, y,...
const array< float, 3 > & getArray() const
FloatBuffer * put(float value)
Put a float value into float buffer.
#define FORBID_CLASS_COPY(CLASS)