lmgl 1.0.0
A lightweight OpenGL graphics engine library written in C++
Loading...
Searching...
No Matches
buffer.hpp File Reference

Defines classes and structures for managing vertex and index buffers in OpenGL. More...

#include <cstddef>
#include <initializer_list>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  lmgl::renderer::BufferElement
 Represents a single element in a buffer layout. More...
 
class  lmgl::renderer::BufferLayout
 Defines the layout of a buffer, consisting of multiple buffer elements. More...
 
class  lmgl::renderer::VertexBuffer
 Manages a vertex buffer in OpenGL. More...
 
class  lmgl::renderer::IndexBuffer
 Manages an index buffer in OpenGL. More...
 

Namespaces

namespace  lmgl
 Forward declarations for Assimp Material structure.
 
namespace  lmgl::renderer
 Namespace for rendering-related classes and functions.
 

Enumerations

enum class  lmgl::renderer::ShaderDataType {
  None = 0 , Float , Float2 , Float3 ,
  Float4 , Mat3 , Mat4 , Int ,
  Int2 , Int3 , Int4 , Bool
}
 Enumerates the various data types used in shaders. More...
 

Detailed Description

Defines classes and structures for managing vertex and index buffers in OpenGL.

This header file contains the definitions for BufferElement, BufferLayout, VertexBuffer, and IndexBuffer classes. These classes facilitate the creation, management, and usage of vertex and index buffers in an OpenGL rendering context.