#include <candlewick/utils/MeshDataView.h>
◆ IndexType
◆ MeshDataView() [1/4]
candlewick::MeshDataView::MeshDataView |
( |
const MeshData & | meshData | ) |
|
|
explicit |
◆ MeshDataView() [2/4]
template<IsVertexType V>
candlewick::MeshDataView::MeshDataView |
( |
SDL_GPUPrimitiveType | primitiveType, |
|
|
std::span< const V > | vertices, |
|
|
std::span< const IndexType > | indices = {} ) |
◆ MeshDataView() [3/4]
template<IsVertexType V, size_t N, size_t M>
candlewick::MeshDataView::MeshDataView |
( |
SDL_GPUPrimitiveType | primitiveType, |
|
|
const V(&) | vertices[N], |
|
|
const IndexType(&) | indices[M] ) |
◆ MeshDataView() [4/4]
candlewick::MeshDataView::MeshDataView |
( |
SDL_GPUPrimitiveType | primitiveType, |
|
|
const MeshLayout & | layout, |
|
|
std::span< const char > | vertices, |
|
|
std::span< const IndexType > | indices = {} ) |
◆ toOwned()
MeshData candlewick::MeshDataView::toOwned |
( |
| ) |
const |
◆ indexData
std::span<const IndexType> candlewick::MeshDataView::indexData |
◆ layout
◆ primitiveType
SDL_GPUPrimitiveType candlewick::MeshDataView::primitiveType |
◆ vertexData
std::span<const char> candlewick::MeshDataView::vertexData |
The documentation for this struct was generated from the following file: