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

◆ batch_slice()

FormaTarget MayaFlux::Portal::Forma::internal::Atelier::batch_slice ( Surface & surface,
Graphics::PrimitiveTopology topology )
nodiscard

A new slice of surface_batch(), of topology.

Definition at line 189 of file Atelier.cpp.

190{
191 return FormaTarget::slice_of(surface_batch(surface), topology);
192}
static FormaTarget slice_of(const std::shared_ptr< Buffers::FormaBuffer > &buffer, std::optional< Graphics::PrimitiveTopology > topology=std::nullopt)
A new empty slice of buffer, drawn after the others.
Definition Target.cpp:19
std::shared_ptr< Buffers::FormaBuffer > surface_batch(Surface &surface)
The buffer everything placed on surface without a buffer of its own draws into.
Definition Atelier.cpp:180

References MayaFlux::Portal::Forma::FormaTarget::slice_of(), and surface_batch().

Referenced by MayaFlux::Portal::Forma::internal::add_text_row(), MayaFlux::Portal::Forma::ask(), and MayaFlux::Portal::Forma::slice().

Here is the call graph for this function:
Here is the caller graph for this function: