MayaFlux 0.1.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 154 of file ShaderProcessor.hpp.

154 : uint8_t {
155 NONE = 0,
156 INPUT_READ = 1 << 0, ///< Shader reads input
157 OUTPUT_WRITE = 1 << 1, ///< Shader writes output (modifies)
159 };
@ OUTPUT_WRITE
Shader writes output (modifies)