Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::SVO_buildInit_glc Class Reference


Computes (countBuffer[endIndex] - countBuffer[startIndex]) and then uses that to produce the indirect buffer for dispatch/draw indirect calls. More...

Public Member Functions

 layout (local_size_x=1, local_size_y=1, local_size_z=1) in
 
void main ()
 

Public Attributes

uniform int curSvoId
 
coherent volatile uniform uintd_dispatchIndirectLevelBuffer
 
coherent volatile uniform uintd_levelIndexBuffer
 
coherent volatile uniform uintd_levelStartIndexBuffer
 
coherent volatile uniform uintd_numberOfAllocatedNodes
 Number of nodes allocated; indices are number * 8. More...
 
uniform bool resetPoolAllocation
 
uniform uint topDenseTreeNumNodes
 

Detailed Description


Computes (countBuffer[endIndex] - countBuffer[startIndex]) and then uses that to produce the indirect buffer for dispatch/draw indirect calls.

If startIndex < 0, considers countBuffer[startIndex] to be zero.

Requires BUFFER_WIDTH to be set to choose grid dimensions.

Member Function Documentation

◆ layout()

glsl::SVO_buildInit_glc::layout ( local_size_x  = 1,
local_size_y  = 1,
local_size_z  = 1 
)

◆ main()

void glsl::SVO_buildInit_glc::main ( void  )
inline

Member Data Documentation

◆ curSvoId

uniform int glsl::SVO_buildInit_glc::curSvoId

◆ d_dispatchIndirectLevelBuffer

coherent volatile uniform uint* glsl::SVO_buildInit_glc::d_dispatchIndirectLevelBuffer

◆ d_levelIndexBuffer

coherent volatile uniform uint* glsl::SVO_buildInit_glc::d_levelIndexBuffer

◆ d_levelStartIndexBuffer

coherent volatile uniform uint* glsl::SVO_buildInit_glc::d_levelStartIndexBuffer

◆ d_numberOfAllocatedNodes

coherent volatile uniform uint* glsl::SVO_buildInit_glc::d_numberOfAllocatedNodes

Number of nodes allocated; indices are number * 8.

◆ resetPoolAllocation

uniform bool glsl::SVO_buildInit_glc::resetPoolAllocation

◆ topDenseTreeNumNodes

uniform uint glsl::SVO_buildInit_glc::topDenseTreeNumNodes

documentation generated on Wed Nov 24 2021 08:02:04 using doxygen 1.8.15