MayaFlux 0.2.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 101 of file ShaderProcessor.hpp.

101 : uint8_t {
102 NONE = 0,
103 INPUT_READ = 1 << 0, ///< Shader reads input
104 OUTPUT_WRITE = 1 << 1, ///< Shader writes output (modifies)
106 };
@ OUTPUT_WRITE
Shader writes output (modifies)