Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
VoxelParticleRenderer (VoxelParticleEngine *engine) | |
void | updateBuffer (int begin, int end, VoxelParticleData *data) |
void | draw (const Camera &camera) |
Protected Attributes | |
std::unique_ptr< VoxelMesh > | m_voxelMesh |
bool | m_initialized |
VoxelParticleEngine * | m_engine |
int | m_bufferSize |
Property< glm::vec3 > | m_defaultLightDir |
glow::ref_ptr< glow::Buffer > | m_gpuParticleBuffer |
glow::ref_ptr< glow::Program > | m_program |
glow::ref_ptr < glow::VertexArrayObject > | m_vertexArrayObject |