MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Buffers::ShaderDispatchConfig Struct Reference

Configuration for compute shader dispatch. More...

#include <ShaderProcessor.hpp>

+ Collaboration diagram for MayaFlux::Buffers::ShaderDispatchConfig:

Public Types

enum class  DispatchMode : uint8_t { ELEMENT_COUNT , MANUAL , BUFFER_SIZE , CUSTOM }
 

Public Member Functions

 ShaderDispatchConfig ()=default
 

Public Attributes

uint32_t workgroup_x = 256
 Workgroup size X (should match shader)
 
uint32_t workgroup_y = 1
 
uint32_t workgroup_z = 1
 
enum MayaFlux::Buffers::ShaderDispatchConfig::DispatchMode mode = DispatchMode::ELEMENT_COUNT
 
uint32_t group_count_x = 1
 
uint32_t group_count_y = 1
 
uint32_t group_count_z = 1
 
std::function< std::array< uint32_t, 3 >(const std::shared_ptr< VKBuffer > &)> custom_calculator
 

Detailed Description

Configuration for compute shader dispatch.

Definition at line 30 of file ShaderProcessor.hpp.


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