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

◆ on_before_execute()

bool MayaFlux::Buffers::SDFFieldProcessor::on_before_execute ( Portal::Graphics::CommandBufferID  cmd_id,
const std::shared_ptr< VKBuffer > &  buffer 
)
overrideprotectedvirtual

Called before each process callback.

Parameters
cmdCommand buffer
bufferCurrently processing buffer
Returns
True to proceed with execution, false to skip

Override to update push constants or dynamic descriptors.

Reimplemented from MayaFlux::Buffers::ShaderProcessor.

Definition at line 160 of file SDFFieldProcessor.cpp.

163{
164 if (m_from_field) {
166 } else {
168 }
169 return true;
170}
void set_push_constant_data(const T &data)
Update push constant data (type-safe)

References m_field_pc, m_from_field, m_pc, and MayaFlux::Buffers::ShaderProcessor::set_push_constant_data().

+ Here is the call graph for this function: