sculpto
Classes | Namespaces
mesh.h File Reference

Mesh interfaces definition module. Mesh stores vertex and index buffer and implement their binding during render. More...

#include "materials/material.h"
#include "topology/trimesh.h"
#include "core/render/primitives/vertex_array.h"
#include "core/render/primitives/buffer.h"

Go to the source code of this file.

Classes

struct  scl::submesh_props< Tvertex >
 
class  scl::mesh
 

Namespaces

namespace  scl
 

Detailed Description

Mesh interfaces definition module. Mesh stores vertex and index buffer and implement their binding during render.

OpenGL mesh (vertex_array) class definition module. Mesh stores vertex and index buffer and implement their binding during render.

Mesh class defintion module. Mesh composes vertex array (vertex and index buffer), material (shader + uniform data, textures), and tranformation (world) matrix.

Author
Sabitov Kirill
Date
27 June 2022
Author
Sabitov Kirill
Date
01 July 2022

Definition in file mesh.h.