Support Forum       G3D Web Page     
Public Member Functions | List of all members
glsl::SVO_levelAllocToIndex_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
 
 layout (r32ui) uniform uimageBuffer sizeBuffer
 
 layout (r32ui) uniform uimageBuffer levelStartIndexBuffer
 
 layout (r32ui) uniform uimageBuffer levelIndexBuffer
 
void main ()
 

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() [1/4]

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

◆ layout() [2/4]

glsl::SVO_levelAllocToIndex_glc::layout ( r32ui  )

◆ layout() [3/4]

glsl::SVO_levelAllocToIndex_glc::layout ( r32ui  )

◆ layout() [4/4]

glsl::SVO_levelAllocToIndex_glc::layout ( r32ui  )

◆ main()

void glsl::SVO_levelAllocToIndex_glc::main ( void  )
inline

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