|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::array< Kakshya::TextureQuadVertex, 4 > MayaFlux::Kinesis::textured_rect | ( | Kinesis::AABB2D | region | ) |
Generate a UV-mapped TRIANGLE_STRIP quad from an AABB2D.
UV origin is bottom-left (0,1) matching Vulkan image layout. Replaces handwritten textured quad construction in Forma callers.
| region | NDC axis-aligned bounds. |
Definition at line 698 of file GeometryPrimitives.cpp.
References MayaFlux::Kinesis::AABB2D::max, MayaFlux::Kinesis::AABB2D::min, and textured_rect().
Referenced by textured_rect().
Here is the call graph for this function:
Here is the caller graph for this function: