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

◆ create_buffer() [1/4]

template<typename V >
requires std::is_trivially_copyable_v<V> && (!std::ranges::range<V>)
std::shared_ptr< Buffers::FormaBuffer > MayaFlux::Portal::Forma::create_buffer ( std::shared_ptr< Core::Window window,
const V &  vertex,
Graphics::PrimitiveTopology  topology = Graphics::PrimitiveTopology::TRIANGLE_STRIP 
)

Definition at line 231 of file Forma.hpp.

235{
236 auto buf = internal::create_buffer_impl(std::move(window), sizeof(V), topology);
237 buf->submit(vertex);
238 return buf;
239}

References MayaFlux::Portal::Forma::internal::create_buffer_impl().

+ Here is the call graph for this function: