Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::mesh::builder Class Reference

The Builder class is used to build a Mesh object. More...

#include <mesh.hpp>

Public Member Functions

buildervertices (std::vector< types::vertex > vertices)
 
builderindices (std::vector< unsigned int > indices)
 
buildertextures (std::vector< std::shared_ptr< texture > > textures)
 
builderwrapping (GLint wrapping)
 
builderfiltering_min (GLint filtering_min)
 
builderfiltering_mag (GLint filtering_mag)
 
builderhas_mipmap (GLboolean has_mipmap)
 
buildermipmap_min (GLint mipmap_min)
 
buildermipmap_mag (GLint mipmap_mag)
 
mesh build ()
 

Detailed Description

The Builder class is used to build a Mesh object.

Definition at line 209 of file mesh.hpp.

Member Function Documentation

◆ build()

mesh mesh::builder::build ( )

Definition at line 156 of file mesh.cpp.

◆ filtering_mag()

mesh::builder & mesh::builder::filtering_mag ( GLint  filtering_mag)

Definition at line 138 of file mesh.cpp.

◆ filtering_min()

mesh::builder & mesh::builder::filtering_min ( GLint  filtering_min)

Definition at line 132 of file mesh.cpp.

◆ has_mipmap()

mesh::builder & mesh::builder::has_mipmap ( GLboolean  has_mipmap)

Definition at line 144 of file mesh.cpp.

◆ indices()

mesh::builder & mesh::builder::indices ( std::vector< unsigned int >  indices)

Definition at line 114 of file mesh.cpp.

◆ mipmap_min()

mesh::builder & mesh::builder::mipmap_min ( GLint  mipmap_min)

Definition at line 150 of file mesh.cpp.

◆ textures()

mesh::builder & mesh::builder::textures ( std::vector< std::shared_ptr< texture > >  textures)

Definition at line 120 of file mesh.cpp.

◆ vertices()

mesh::builder & mesh::builder::vertices ( std::vector< types::vertex vertices)

Definition at line 108 of file mesh.cpp.

◆ wrapping()

mesh::builder & mesh::builder::wrapping ( GLint  wrapping)

Definition at line 126 of file mesh.cpp.


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