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

◆ set_push_constants() [1/2]

template<typename T >
void MayaFlux::Buffers::TextureArrayBuffer::set_push_constants ( const T &  block)
inline

Replace the default push constants with a block of type T.

Definition at line 233 of file TextureArrayBuffer.hpp.

234 {
235 set_push_constants(&block, sizeof(T));
236 }
void set_push_constants(const void *data, size_t size)
Replace the default push constants with the shader's own.