Nebula
Loading...
Searching...
No Matches
Vegetation::[struct].vegetationState Struct Reference

Public Attributes

CoreGraphics::TextureId heightMap
float minHeight
float maxHeight
Math::vec2 worldSize
uint numGrassBlades
CoreGraphics::BufferId grassVbo
CoreGraphics::BufferId grassIbo
CoreGraphics::VertexLayoutId grassLayout
CoreGraphics::VertexLayoutId combinedMeshLayoutWithColor
CoreGraphics::VertexLayoutId combinedMeshLayout
Vegetation::MeshInfo meshInfos [Vegetation::MAX_MESH_INFOS]
Ids::IdPool meshInfoPool
CoreGraphics::BufferId meshInfoBuffer
Vegetation::GrassInfo grassInfos [Vegetation::MAX_GRASS_INFOS]
Ids::IdPool grassInfoPool
CoreGraphics::BufferId grassInfoBuffer
CoreGraphics::ResourceTableId systemResourceTable
CoreGraphics::BufferId systemUniforms
CoreGraphics::ShaderId vegetationBaseShader
CoreGraphics::ShaderProgramId vegetationClearShader
CoreGraphics::ShaderProgramId vegetationGenerateDrawsShader
CoreGraphics::ShaderProgramId vegetationGrassZShader
CoreGraphics::ShaderProgramId vegetationGrassShader
CoreGraphics::ShaderProgramId vegetationMeshZShader
CoreGraphics::ShaderProgramId vegetationMeshShader
CoreGraphics::ShaderProgramId vegetationMeshVColorZShader
CoreGraphics::ShaderProgramId vegetationMeshVColorShader
CoreGraphics::BufferId grassDrawCallsBuffer
Util::FixedArray< CoreGraphics::BufferId > indirectGrassDrawCallsBuffer
CoreGraphics::BufferId grassArgumentsBuffer
Util::FixedArray< CoreGraphics::BufferId > indirectGrassArgumentBuffer
CoreGraphics::BufferId meshDrawCallsBuffer
Util::FixedArray< CoreGraphics::BufferId > indirectMeshDrawCallsBuffer
CoreGraphics::BufferId meshArgumentsBuffer
Util::FixedArray< CoreGraphics::BufferId > indirectMeshArgumentsBuffer
CoreGraphics::ResourceTableId argumentsTable
Util::FixedArray< CoreGraphics::ResourceTableId > indirectArgumentsTable
CoreGraphics::BufferId drawCountBuffer
Util::FixedArray< CoreGraphics::BufferId > indirectDrawCountBuffer
IndexT grassMaskCount
IndexT meshMaskCount
Ids::IdPool texturePool
SizeT grassDrawsThisFrame
SizeT meshDrawsThisFrame [MAX_MESH_INFOS]
SizeT meshVertexOffsets [MAX_MESH_INFOS]
SizeT meshIndexOffsets [MAX_MESH_INFOS]
CoreGraphics::VertexLayoutId layouts [MAX_MESH_INFOS]
CoreGraphics::ShaderProgramId meshZPrograms [MAX_MESH_INFOS]
CoreGraphics::ShaderProgramId meshPrograms [MAX_MESH_INFOS]
Vegetation::VegetationMaterialUniforms::STRUCT materialUniforms
CoreGraphics::BufferId materialUniformsBuffer

Member Data Documentation

◆ argumentsTable

CoreGraphics::ResourceTableId Vegetation::[struct].vegetationState argumentsTable

◆ combinedMeshLayout

CoreGraphics::VertexLayoutId Vegetation::[struct].vegetationState combinedMeshLayout

◆ combinedMeshLayoutWithColor

CoreGraphics::VertexLayoutId Vegetation::[struct].vegetationState combinedMeshLayoutWithColor

◆ drawCountBuffer

CoreGraphics::BufferId Vegetation::[struct].vegetationState drawCountBuffer

◆ grassArgumentsBuffer

CoreGraphics::BufferId Vegetation::[struct].vegetationState grassArgumentsBuffer

◆ grassDrawCallsBuffer

CoreGraphics::BufferId Vegetation::[struct].vegetationState grassDrawCallsBuffer

◆ grassDrawsThisFrame

SizeT Vegetation::[struct].vegetationState grassDrawsThisFrame

◆ grassIbo

CoreGraphics::BufferId Vegetation::[struct].vegetationState grassIbo

◆ grassInfoBuffer

CoreGraphics::BufferId Vegetation::[struct].vegetationState grassInfoBuffer

◆ grassInfoPool

Ids::IdPool Vegetation::[struct].vegetationState grassInfoPool

◆ grassInfos

Vegetation::GrassInfo Vegetation::[struct].vegetationState[Vegetation::MAX_GRASS_INFOS]

◆ grassLayout

CoreGraphics::VertexLayoutId Vegetation::[struct].vegetationState grassLayout

◆ grassMaskCount

IndexT Vegetation::[struct].vegetationState grassMaskCount

◆ grassVbo

CoreGraphics::BufferId Vegetation::[struct].vegetationState grassVbo

◆ heightMap

CoreGraphics::TextureId Vegetation::[struct].vegetationState heightMap

◆ indirectArgumentsTable

Util::FixedArray<CoreGraphics::ResourceTableId> Vegetation::[struct].vegetationState indirectArgumentsTable

◆ indirectDrawCountBuffer

Util::FixedArray<CoreGraphics::BufferId> Vegetation::[struct].vegetationState indirectDrawCountBuffer

◆ indirectGrassArgumentBuffer

Util::FixedArray<CoreGraphics::BufferId> Vegetation::[struct].vegetationState indirectGrassArgumentBuffer

◆ indirectGrassDrawCallsBuffer

Util::FixedArray<CoreGraphics::BufferId> Vegetation::[struct].vegetationState indirectGrassDrawCallsBuffer

◆ indirectMeshArgumentsBuffer

Util::FixedArray<CoreGraphics::BufferId> Vegetation::[struct].vegetationState indirectMeshArgumentsBuffer

◆ indirectMeshDrawCallsBuffer

Util::FixedArray<CoreGraphics::BufferId> Vegetation::[struct].vegetationState indirectMeshDrawCallsBuffer

◆ layouts

CoreGraphics::VertexLayoutId Vegetation::[struct].vegetationState[MAX_MESH_INFOS]

◆ materialUniforms

Vegetation::VegetationMaterialUniforms::STRUCT Vegetation::[struct].vegetationState materialUniforms

◆ materialUniformsBuffer

CoreGraphics::BufferId Vegetation::[struct].vegetationState materialUniformsBuffer

◆ maxHeight

◆ meshArgumentsBuffer

CoreGraphics::BufferId Vegetation::[struct].vegetationState meshArgumentsBuffer

◆ meshDrawCallsBuffer

CoreGraphics::BufferId Vegetation::[struct].vegetationState meshDrawCallsBuffer

◆ meshDrawsThisFrame

SizeT Vegetation::[struct].vegetationState[MAX_MESH_INFOS]

◆ meshIndexOffsets

SizeT Vegetation::[struct].vegetationState[MAX_MESH_INFOS]

◆ meshInfoBuffer

CoreGraphics::BufferId Vegetation::[struct].vegetationState meshInfoBuffer

◆ meshInfoPool

Ids::IdPool Vegetation::[struct].vegetationState meshInfoPool

◆ meshInfos

Vegetation::MeshInfo Vegetation::[struct].vegetationState[Vegetation::MAX_MESH_INFOS]

◆ meshMaskCount

◆ meshPrograms

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState[MAX_MESH_INFOS]

◆ meshVertexOffsets

SizeT Vegetation::[struct].vegetationState[MAX_MESH_INFOS]

◆ meshZPrograms

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState[MAX_MESH_INFOS]

◆ minHeight

◆ numGrassBlades

◆ systemResourceTable

CoreGraphics::ResourceTableId Vegetation::[struct].vegetationState systemResourceTable

◆ systemUniforms

CoreGraphics::BufferId Vegetation::[struct].vegetationState systemUniforms

◆ texturePool

Ids::IdPool Vegetation::[struct].vegetationState texturePool

◆ vegetationBaseShader

CoreGraphics::ShaderId Vegetation::[struct].vegetationState vegetationBaseShader

◆ vegetationClearShader

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState vegetationClearShader

◆ vegetationGenerateDrawsShader

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState vegetationGenerateDrawsShader

◆ vegetationGrassShader

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState vegetationGrassShader

◆ vegetationGrassZShader

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState vegetationGrassZShader

◆ vegetationMeshShader

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState vegetationMeshShader

◆ vegetationMeshVColorShader

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState vegetationMeshVColorShader

◆ vegetationMeshVColorZShader

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState vegetationMeshVColorZShader

◆ vegetationMeshZShader

CoreGraphics::ShaderProgramId Vegetation::[struct].vegetationState vegetationMeshZShader

◆ worldSize


The documentation for this struct was generated from the following files: