|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Nexus::Mantle::Mantle | ( | const Kinesis::AABB3D & | bounds, |
| std::shared_ptr< Buffers::VKBuffer > | buf, | ||
| Portal::Graphics::FitMode | fit = Portal::Graphics::FitMode::STRETCH, |
||
| CrossingFn | on_enter = {}, |
||
| CrossingFn | on_exit = {} |
||
| ) |
Build from a box and a buffer.
Blocks for a ComputeMeshBuffer.
| bounds | World-space box. |
| buf | Buffer to place. Must not be null. |
| fit | How the buffer's geometry fills the box. |
| on_enter | Fired with the entity id when it enters. May be empty. |
| on_exit | Fired with the entity id when it leaves. May be empty. |
Definition at line 61 of file Mantle.cpp.
References MayaFlux::Nexus::Attachment::buf, MayaFlux::Journal::Init, m_local, m_look, MF_ERROR, MF_WARN, MayaFlux::Journal::Nexus, MayaFlux::Nexus::read_bounds(), refresh(), MayaFlux::Portal::Graphics::TILE, and MayaFlux::Portal::Graphics::TILE_MIRRORED.
Here is the call graph for this function: