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

Describes how vertex and index data should be interpreted for a draw call. More...

#include <scene/mesh.h>

Public Attributes

int base = 0
int baseVertex = 0
int count = 0
bool indexed = false
PrimitiveType type = PrimitiveType::PRIMITIVE_TRIANGLES

Detailed Description

Describes how vertex and index data should be interpreted for a draw call.

Definition at line 32 of file mesh.h.

Member Data Documentation

◆ base

◆ baseVertex

int visutwin::canvas::Primitive::baseVertex = 0

◆ count

◆ indexed

◆ type


The documentation for this struct was generated from the following file: