Antkeeper  0.0.1
Public Attributes | List of all members
render::model_group Struct Reference

Part of a model which is associated with exactly one material. More...

#include <model.hpp>

Public Attributes

hash::fnv1a32_t id {}
 
gl::primitive_topology primitive_topology {gl::primitive_topology::triangle_list}
 
std::uint32_t first_vertex {}
 
std::uint32_t vertex_count {}
 
std::shared_ptr< render::materialmaterial
 

Detailed Description

Part of a model which is associated with exactly one material.

Definition at line 40 of file model.hpp.

Member Data Documentation

◆ first_vertex

std::uint32_t render::model_group::first_vertex {}

Definition at line 44 of file model.hpp.

◆ id

hash::fnv1a32_t render::model_group::id {}

Definition at line 42 of file model.hpp.

◆ material

std::shared_ptr<render::material> render::model_group::material

Definition at line 46 of file model.hpp.

◆ primitive_topology

gl::primitive_topology render::model_group::primitive_topology {gl::primitive_topology::triangle_list}

Definition at line 43 of file model.hpp.

◆ vertex_count

std::uint32_t render::model_group::vertex_count {}

Definition at line 45 of file model.hpp.


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