Nebula
Loading...
Searching...
No Matches
Vegetation::VegetationContext::VegetationInstanceInfo Struct Reference

Public Attributes

CoreGraphics::TextureId heightMap
float minHeight
float maxHeight
float worldSizeX
float worldSizeZ
Vegetation::MeshInfo meshInfos [Vegetation::MAX_MESH_INFOS]
Ids::IdPool meshInfoPool
CoreGraphics::BufferId meshInfoBuffer
CoreGraphics::ResourceTableId systemResourceTable
CoreGraphics::BufferId systemUniforms
Util::FixedArray< CoreGraphics::BufferId > meshDrawCallsBuffer
Util::FixedArray< CoreGraphics::BufferId > meshArgumentsBuffer
Util::FixedArray< CoreGraphics::ResourceTableId > argumentsTable
Util::FixedArray< CoreGraphics::BufferId > drawCountBuffer
IndexT meshMaskCount = 0
CoreGraphics::VertexLayoutId meshVertexLayouts [MAX_MESH_INFOS]
SizeT meshVertexPositionOffsets [MAX_MESH_INFOS]
SizeT meshVertexAttributeOffsets [MAX_MESH_INFOS]
SizeT meshIndexOffsets [MAX_MESH_INFOS]
ShaderSet shaderSet [MAX_MESH_INFOS]
bool live = false
 true from Setup until the entity is deregistered.

Member Data Documentation

◆ argumentsTable

Util::FixedArray<CoreGraphics::ResourceTableId> Vegetation::VegetationContext::VegetationInstanceInfo::argumentsTable

◆ drawCountBuffer

Util::FixedArray<CoreGraphics::BufferId> Vegetation::VegetationContext::VegetationInstanceInfo::drawCountBuffer

◆ heightMap

CoreGraphics::TextureId Vegetation::VegetationContext::VegetationInstanceInfo::heightMap

◆ live

bool Vegetation::VegetationContext::VegetationInstanceInfo::live = false

true from Setup until the entity is deregistered.

A slot the allocator keeps for reuse is not live, and the frame's passes skip it

◆ maxHeight

float Vegetation::VegetationContext::VegetationInstanceInfo::maxHeight

◆ meshArgumentsBuffer

Util::FixedArray<CoreGraphics::BufferId> Vegetation::VegetationContext::VegetationInstanceInfo::meshArgumentsBuffer

◆ meshDrawCallsBuffer

Util::FixedArray<CoreGraphics::BufferId> Vegetation::VegetationContext::VegetationInstanceInfo::meshDrawCallsBuffer

◆ meshIndexOffsets

SizeT Vegetation::VegetationContext::VegetationInstanceInfo::meshIndexOffsets[MAX_MESH_INFOS]

◆ meshInfoBuffer

CoreGraphics::BufferId Vegetation::VegetationContext::VegetationInstanceInfo::meshInfoBuffer

◆ meshInfoPool

Ids::IdPool Vegetation::VegetationContext::VegetationInstanceInfo::meshInfoPool

◆ meshInfos

Vegetation::MeshInfo Vegetation::VegetationContext::VegetationInstanceInfo::meshInfos[Vegetation::MAX_MESH_INFOS]

◆ meshMaskCount

IndexT Vegetation::VegetationContext::VegetationInstanceInfo::meshMaskCount = 0

◆ meshVertexAttributeOffsets

SizeT Vegetation::VegetationContext::VegetationInstanceInfo::meshVertexAttributeOffsets[MAX_MESH_INFOS]

◆ meshVertexLayouts

CoreGraphics::VertexLayoutId Vegetation::VegetationContext::VegetationInstanceInfo::meshVertexLayouts[MAX_MESH_INFOS]

◆ meshVertexPositionOffsets

SizeT Vegetation::VegetationContext::VegetationInstanceInfo::meshVertexPositionOffsets[MAX_MESH_INFOS]

◆ minHeight

float Vegetation::VegetationContext::VegetationInstanceInfo::minHeight

◆ shaderSet

ShaderSet Vegetation::VegetationContext::VegetationInstanceInfo::shaderSet[MAX_MESH_INFOS]

◆ systemResourceTable

CoreGraphics::ResourceTableId Vegetation::VegetationContext::VegetationInstanceInfo::systemResourceTable

◆ systemUniforms

CoreGraphics::BufferId Vegetation::VegetationContext::VegetationInstanceInfo::systemUniforms

◆ worldSizeX

float Vegetation::VegetationContext::VegetationInstanceInfo::worldSizeX

◆ worldSizeZ

float Vegetation::VegetationContext::VegetationInstanceInfo::worldSizeZ

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