| 
    libdonut 2.3.6
    
   Application framework for cross-platform game development in C++20 
   | 
 
Square 2D mesh for textured rendering. More...
#include <donut/graphics/TexturedQuad.hpp>
Classes | |
| struct | Instance | 
| Data layout for the attributes of a single instance of the mesh.  More... | |
| struct | Vertex | 
| Data layout for the attributes of a single vertex of the mesh.  More... | |
Public Attributes | |
| Mesh< Vertex, NoIndex, Instance > | mesh {VERTICES_USAGE, INSTANCES_USAGE, VERTICES, {}} | 
| Mesh data stored on the GPU.   | |
Static Public Attributes | |
| static constexpr MeshBufferUsage | VERTICES_USAGE = MeshBufferUsage::STATIC_DRAW | 
| Hint regarding the intended memory access pattern of the vertex buffer.   | |
| static constexpr MeshBufferUsage | INSTANCES_USAGE = MeshBufferUsage::STREAM_DRAW | 
| Hint regarding the intended memory access pattern of the instance buffer.   | |
| static constexpr MeshPrimitiveType | PRIMITIVE_TYPE = MeshPrimitiveType::TRIANGLE_STRIP | 
| The type of 3D primitives represented by the mesh vertices.   | |
| static constexpr std::array< Vertex, 4 > | VERTICES | 
| The constant vertex data stored in the mesh.   | |
| static constexpr std::int32_t | TEXTURE_UNIT = 0 | 
| Main texture unit index to use in the shader.   | |
| static constexpr std::int32_t | TEXTURE_UNIT_COUNT = 1 | 
| Total number of texture units required to render a textured quad.   | |
Square 2D mesh for textured rendering.
The vertices of the mesh are stored on the GPU, together with an associated instance buffer set up for instanced rendering with a single texture.
      
  | 
  staticconstexpr | 
Hint regarding the intended memory access pattern of the vertex buffer.
      
  | 
  staticconstexpr | 
Hint regarding the intended memory access pattern of the instance buffer.
      
  | 
  staticconstexpr | 
The type of 3D primitives represented by the mesh vertices.
      
  | 
  staticconstexpr | 
The constant vertex data stored in the mesh.
      
  | 
  staticconstexpr | 
Main texture unit index to use in the shader.
      
  | 
  staticconstexpr | 
Total number of texture units required to render a textured quad.
| Mesh<Vertex, NoIndex, Instance> donut::graphics::TexturedQuad::mesh {VERTICES_USAGE, INSTANCES_USAGE, VERTICES, {}} | 
Mesh data stored on the GPU.