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

◆ set_push_constants() [2/2]

void MayaFlux::Yantra::GpuDispatchCore::set_push_constants ( const void *  data,
size_t  bytes 
)

Set push constant data from a raw byte pointer.

Parameters
dataPointer to trivially-copyable push constant struct.
bytesSize in bytes.

Definition at line 17 of file GpuDispatchCore.cpp.

18{
19 m_push_constants.resize(bytes);
20 std::memcpy(m_push_constants.data(), data, bytes);
21}
std::vector< uint8_t > m_push_constants

References m_push_constants.

Referenced by MayaFlux::Yantra::ShaderExecutionContext< InputType, OutputType >::push().

+ Here is the caller graph for this function: