MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ BufferUsageHint

Get buffer usage characteristics needed for safe data flow.

Returns flags indicating:

  • Does compute read from input? (HOST_TO_DEVICE upload needed?)
  • Does compute write to output? (DEVICE_TO_HOST readback needed?)

This lets ComputeProcessingChain auto-determine staging needs.

Enumerator
NONE 
INPUT_READ 

Shader reads input.

OUTPUT_WRITE 

Shader writes output (modifies)

BIDIRECTIONAL 

Definition at line 124 of file ShaderProcessor.hpp.

124 : uint8_t {
125 NONE = 0,
126 INPUT_READ = 1 << 0, ///< Shader reads input
127 OUTPUT_WRITE = 1 << 1, ///< Shader writes output (modifies)
129 };
@ OUTPUT_WRITE
Shader writes output (modifies)