Antkeeper  0.0.1
Public Member Functions | Friends | List of all members
render::model_group Class Reference

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

#include <model.hpp>

Public Member Functions

void set_material (material *material)
 
void set_drawing_mode (gl::drawing_mode mode)
 
void set_start_index (std::size_t index)
 
void set_index_count (std::size_t count)
 
std::size_t get_index () const
 
const std::string & get_name () const
 
const materialget_material () const
 
materialget_material ()
 
gl::drawing_mode get_drawing_mode () const
 
std::size_t get_start_index () const
 
std::size_t get_index_count () const
 

Friends

class model
 

Detailed Description

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

Definition at line 38 of file model.hpp.

Member Function Documentation

◆ get_drawing_mode()

gl::drawing_mode render::model_group::get_drawing_mode ( ) const
inline

Definition at line 105 of file model.hpp.

◆ get_index()

std::size_t render::model_group::get_index ( ) const
inline

Definition at line 85 of file model.hpp.

◆ get_index_count()

std::size_t render::model_group::get_index_count ( ) const
inline

Definition at line 115 of file model.hpp.

◆ get_material() [1/2]

material * render::model_group::get_material ( )
inline

Definition at line 100 of file model.hpp.

◆ get_material() [2/2]

const material * render::model_group::get_material ( ) const
inline

Definition at line 95 of file model.hpp.

◆ get_name()

const std::string & render::model_group::get_name ( ) const
inline

Definition at line 90 of file model.hpp.

◆ get_start_index()

std::size_t render::model_group::get_start_index ( ) const
inline

Definition at line 110 of file model.hpp.

◆ set_drawing_mode()

void render::model_group::set_drawing_mode ( gl::drawing_mode  mode)
inline

Definition at line 70 of file model.hpp.

◆ set_index_count()

void render::model_group::set_index_count ( std::size_t  count)
inline

Definition at line 80 of file model.hpp.

◆ set_material()

void render::model_group::set_material ( render::material material)
inline

Definition at line 65 of file model.hpp.

◆ set_start_index()

void render::model_group::set_start_index ( std::size_t  index)
inline

Definition at line 75 of file model.hpp.

Friends And Related Function Documentation

◆ model

friend class model
friend

Definition at line 55 of file model.hpp.


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