| Support Forum G3D Web Page |
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 uint * | d_dispatchIndirectLevelBuffer |
| coherent volatile uniform uint * | d_levelIndexBuffer |
| coherent volatile uniform uint * | d_levelStartIndexBuffer |
| coherent volatile uniform uint * | d_numberOfAllocatedNodes |
| Number of nodes allocated; indices are number * 8. More... | |
| uniform bool | resetPoolAllocation |
| uniform uint | topDenseTreeNumNodes |
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.
| glsl::SVO_buildInit_glc::layout | ( | local_size_x | = 1, |
| local_size_y | = 1, |
||
| local_size_z | = 1 |
||
| ) |
|
inline |
| uniform int glsl::SVO_buildInit_glc::curSvoId |
| coherent volatile uniform uint* glsl::SVO_buildInit_glc::d_dispatchIndirectLevelBuffer |
| coherent volatile uniform uint* glsl::SVO_buildInit_glc::d_levelIndexBuffer |
| coherent volatile uniform uint* glsl::SVO_buildInit_glc::d_levelStartIndexBuffer |
| coherent volatile uniform uint* glsl::SVO_buildInit_glc::d_numberOfAllocatedNodes |
Number of nodes allocated; indices are number * 8.
| uniform bool glsl::SVO_buildInit_glc::resetPoolAllocation |
| uniform uint glsl::SVO_buildInit_glc::topDenseTreeNumNodes |
1.8.15