|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
|
protected |
Stage a flat native-typed byte buffer for FLOAT32 bindings, bypassing the double-to-float cast in flatten_channels_to_staging.
Intended for pixel data (uint8_t, uint16_t) and pre-converted float buffers that should reach the GPU without an intermediate double widening. Once staged, prepare_gpu_inputs will upload these bytes directly via upload_raw rather than the float staging path.
Calling this clears any previously staged native bytes for the slot. It does not affect m_binding_data (PASSTHROUGH) or m_staging_floats.
| binding_index | Binding slot. Must match a FLOAT32 INPUT binding. |
| data | Raw bytes in the element type the shader expects. |
| byte_size | Total byte count. |
Definition at line 82 of file GpuDispatchCore.cpp.
References m_native_staging_bytes.