LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::DispatchIndirectArguments Struct Reference

Structure for the arguments of an indirect compute command. More...

#include <IndirectArguments.h>

Public Attributes

std::uint32_t numThreadGroups [3]
 Number of thread groups in X, Y, and Z dimension.

Detailed Description

Structure for the arguments of an indirect compute command.

Remarks
This is a plain-old-data (POD) structure aligned with no default constructor to make it compatible between CPU and GPU memory space.
See also
CommandBuffer::DispatchIndirect
OpenGL counterpart DispatchIndirectCommand: https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glDispatchComputeIndirect.xhtml
Vulkan counterpart VkDispatchIndirectCommand: https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/VkDispatchIndirectCommand.html
Direct3D11 counterpart: N/A
Direct3D12 counterpart D3D12_DISPATCH_ARGUMENTS: https://docs.microsoft.com/en-us/windows/desktop/api/d3d12/ns-d3d12-d3d12_dispatch_arguments
Metal counterpart MTLDispatchThreadgroupsIndirectArguments: https://developer.apple.com/documentation/metal/mtldispatchthreadgroupsindirectarguments?language=objc

Member Data Documentation

◆ numThreadGroups

std::uint32_t LLGL::DispatchIndirectArguments::numThreadGroups[3]

Number of thread groups in X, Y, and Z dimension.


The documentation for this struct was generated from the following file: