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

◆ FormaProcessor()

MayaFlux::Buffers::FormaProcessor::FormaProcessor ( Portal::Graphics::PrimitiveTopology  topology)
explicit

Definition at line 10 of file FormaProcessor.cpp.

11 : m_topology(topology)
12{
14
15 switch (topology) {
18 break;
22 break;
25 default:
27 break;
28 }
29}
Portal::Graphics::PrimitiveTopology m_topology
@ GRAPHICS_BACKEND
Standard graphics processing backend configuration.
uint32_t stride_bytes
Total bytes per vertex (stride in Vulkan terms) e.g., 3 floats (position) + 3 floats (normal) = 24 by...
static VertexLayout for_lines(uint32_t stride=60)
Factory: layout for LineVertex (position, color, thickness, uv, normal, tangent)
static VertexLayout for_meshes(uint32_t stride=60)
Factory: layout for MeshVertex (position, color, weight, uv, normal, tangent)
static VertexLayout for_points(uint32_t stride=60)
Factory: layout for PointVertex (position, color, size, uv, normal, tangent)

References MayaFlux::Kakshya::VertexLayout::for_lines(), MayaFlux::Kakshya::VertexLayout::for_meshes(), MayaFlux::Kakshya::VertexLayout::for_points(), MayaFlux::Buffers::GRAPHICS_BACKEND, MayaFlux::Portal::Graphics::LINE_LIST, MayaFlux::Portal::Graphics::LINE_STRIP, MayaFlux::Buffers::BufferProcessor::m_processing_token, m_stride, MayaFlux::Portal::Graphics::POINT_LIST, MayaFlux::Kakshya::VertexLayout::stride_bytes, MayaFlux::Portal::Graphics::TRIANGLE_LIST, and MayaFlux::Portal::Graphics::TRIANGLE_STRIP.

+ Here is the call graph for this function: