VkCV Framework  0.0.1
CV Vulkan framework
vkcv::asset::VertexGroup Struct Reference

#include <asset_loader.hpp>

Public Attributes

enum PrimitiveMode mode
 
size_t numIndices
 
size_t numVertices
 
struct {
   enum IndexType   type
 
   std::vector< uint8_t >   data
 
indexBuffer
 
struct {
   std::vector< uint8_t >   data
 
   std::vector< VertexAttribute >   attributes
 
vertexBuffer
 
struct {
   float   x
 
   float   y
 
   float   z
 
min
 
struct {
   float   x
 
   float   y
 
   float   z
 
max
 
int materialIndex
 

Detailed Description

This struct represents one (possibly the only) part of a mesh. There is always one vertexBuffer and zero or one indexBuffer (indexed rendering is common but not always used). If there is no index buffer, this is indicated by indexBuffer.data being empty. Each vertex buffer can have one or more vertex attributes.


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