Nebula
|
The vegetation context handles rendering of grass, trees and other types of vegetation.
Classes | |
struct | CombinedMeshVertex |
struct | GrassVertex |
struct | VegetationBiomeId |
class | VegetationContext |
struct | VegetationGrassSetup |
struct | VegetationMeshSetup |
struct | VegetationSetupSettings |
Functions | |
__ImplementContext (VegetationContext, VegetationContext::vegetationAllocator) | |
Vegetation::__ImplementContext | ( | VegetationContext | , |
VegetationContext::vegetationAllocator | ) |
CoreGraphics::ResourceTableId Vegetation::argumentsTable |
CoreGraphics::VertexLayoutId Vegetation::combinedMeshLayout |
CoreGraphics::VertexLayoutId Vegetation::combinedMeshLayoutWithColor |
CoreGraphics::BufferId Vegetation::drawCountBuffer |
CoreGraphics::BufferId Vegetation::grassArgumentsBuffer |
CoreGraphics::BufferId Vegetation::grassDrawCallsBuffer |
SizeT Vegetation::grassDrawsThisFrame = 0 |
CoreGraphics::BufferId Vegetation::grassIbo |
CoreGraphics::BufferId Vegetation::grassInfoBuffer |
Ids::IdPool Vegetation::grassInfoPool |
Vegetation::GrassInfo Vegetation::grassInfos[Vegetation::MAX_GRASS_INFOS] |
CoreGraphics::VertexLayoutId Vegetation::grassLayout |
IndexT Vegetation::grassMaskCount = 0 |
CoreGraphics::BufferId Vegetation::grassVbo |
CoreGraphics::TextureId Vegetation::heightMap |
Util::FixedArray<CoreGraphics::ResourceTableId> Vegetation::indirectArgumentsTable |
Util::FixedArray<CoreGraphics::BufferId> Vegetation::indirectDrawCountBuffer |
Util::FixedArray<CoreGraphics::BufferId> Vegetation::indirectGrassArgumentBuffer |
Util::FixedArray<CoreGraphics::BufferId> Vegetation::indirectGrassDrawCallsBuffer |
Util::FixedArray<CoreGraphics::BufferId> Vegetation::indirectMeshArgumentsBuffer |
Util::FixedArray<CoreGraphics::BufferId> Vegetation::indirectMeshDrawCallsBuffer |
CoreGraphics::VertexLayoutId Vegetation::layouts[MAX_MESH_INFOS] |
Vegetation::VegetationMaterialUniforms Vegetation::materialUniforms |
CoreGraphics::BufferId Vegetation::materialUniformsBuffer |
float Vegetation::maxHeight |
|
static |
CoreGraphics::BufferId Vegetation::meshArgumentsBuffer |
CoreGraphics::BufferId Vegetation::meshDrawCallsBuffer |
SizeT Vegetation::meshDrawsThisFrame[MAX_MESH_INFOS] = { 0 } |
SizeT Vegetation::meshIndexOffsets[MAX_MESH_INFOS] |
CoreGraphics::BufferId Vegetation::meshInfoBuffer |
Ids::IdPool Vegetation::meshInfoPool |
Vegetation::MeshInfo Vegetation::meshInfos[Vegetation::MAX_MESH_INFOS] |
IndexT Vegetation::meshMaskCount = 0 |
CoreGraphics::ShaderProgramId Vegetation::meshPrograms[MAX_MESH_INFOS] |
SizeT Vegetation::meshVertexOffsets[MAX_MESH_INFOS] |
CoreGraphics::ShaderProgramId Vegetation::meshZPrograms[MAX_MESH_INFOS] |
float Vegetation::minHeight |
uint Vegetation::numGrassBlades |
CoreGraphics::ResourceTableId Vegetation::systemResourceTable |
CoreGraphics::BufferId Vegetation::systemUniforms |
Ids::IdPool Vegetation::texturePool |
CoreGraphics::ShaderId Vegetation::vegetationBaseShader |
CoreGraphics::ShaderProgramId Vegetation::vegetationClearShader |
|
static |
CoreGraphics::ShaderProgramId Vegetation::vegetationGenerateDrawsShader |
CoreGraphics::ShaderProgramId Vegetation::vegetationGrassShader |
CoreGraphics::ShaderProgramId Vegetation::vegetationGrassZShader |
CoreGraphics::ShaderProgramId Vegetation::vegetationMeshShader |
CoreGraphics::ShaderProgramId Vegetation::vegetationMeshVColorShader |
CoreGraphics::ShaderProgramId Vegetation::vegetationMeshVColorZShader |
CoreGraphics::ShaderProgramId Vegetation::vegetationMeshZShader |
struct { ... } Vegetation::vegetationState |
Math::vec2 Vegetation::worldSize |