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 | |
layout (r32ui) uniform uimageBuffer startIndexBuffer | |
layout (r32ui) uniform uimageBuffer endIndexBuffer | |
void | main () |
Public Attributes | |
uniform int | endIndex |
uniform int | startIndex |
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_countToIndirectArgument_glc::layout | ( | local_size_x | = 1 , |
local_size_y | = 1 , |
||
local_size_z | = 1 |
||
) |
glsl::SVO_countToIndirectArgument_glc::layout | ( | r32ui | ) |
glsl::SVO_countToIndirectArgument_glc::layout | ( | r32ui | ) |
|
inline |
uniform int glsl::SVO_countToIndirectArgument_glc::endIndex |
uniform int glsl::SVO_countToIndirectArgument_glc::startIndex |