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< types::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 217 of file mesh.hpp.

Member Function Documentation

◆ build()

mesh mesh::builder::build ( )

Definition at line 147 of file mesh.cpp.

◆ filtering_mag()

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

Definition at line 129 of file mesh.cpp.

◆ filtering_min()

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

Definition at line 123 of file mesh.cpp.

◆ has_mipmap()

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

Definition at line 135 of file mesh.cpp.

◆ indices()

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

Definition at line 105 of file mesh.cpp.

◆ mipmap_min()

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

Definition at line 141 of file mesh.cpp.

◆ textures()

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

Definition at line 111 of file mesh.cpp.

◆ vertices()

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

Definition at line 99 of file mesh.cpp.

◆ wrapping()

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

Definition at line 117 of file mesh.cpp.


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