VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
visutwin::canvas::MetalVertexBufferLayout Class Reference

#include <platform/graphics/metal/metalVertexBufferLayout.h>

Public Member Functions

std::vector< void * > get (const std::shared_ptr< VertexFormat > &vertexFormat0, const std::shared_ptr< VertexFormat > &vertexFormat1=nullptr)

Detailed Description

Metal vertex buffer layout management class. Handles creation and caching of vertex buffer layouts for rendering pipelines.

This class converts VertexFormat objects into Metal-compatible vertex buffer layouts, handling both interleaved and non-interleaved vertex data configurations.

Definition at line 23 of file metalVertexBufferLayout.h.

Member Function Documentation

◆ get()

std::vector< void * > visutwin::canvas::MetalVertexBufferLayout::get ( const std::shared_ptr< VertexFormat > & vertexFormat0,
const std::shared_ptr< VertexFormat > & vertexFormat1 = nullptr )

Get a vertex layout for one or two vertex formats. Results are cached for performance.

Definition at line 12 of file metalVertexBufferLayout.cpp.


The documentation for this class was generated from the following files: