Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::SVO_countToIndirectArgument_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 startIndexBuffer
 
 layout (r32ui) uniform uimageBuffer endIndexBuffer
 
void main ()
 

Public Attributes

uniform int endIndex
 
uniform int startIndex
 

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/3]

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

◆ layout() [2/3]

glsl::SVO_countToIndirectArgument_glc::layout ( r32ui  )

◆ layout() [3/3]

glsl::SVO_countToIndirectArgument_glc::layout ( r32ui  )

◆ main()

void glsl::SVO_countToIndirectArgument_glc::main ( void  )
inline

Member Data Documentation

◆ endIndex

uniform int glsl::SVO_countToIndirectArgument_glc::endIndex

◆ startIndex

uniform int glsl::SVO_countToIndirectArgument_glc::startIndex

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