Hymn to Beauty
C++ 3D Engine
Video::VertexDescription Class Reference

Describes how a vertex buffer is accessed by a shader. More...

#include <VertexDescription.hpp>

Inheritance diagram for Video::VertexDescription:
Video::OpenGLVertexDescription Video::VulkanVertexDescription Video::WebGPUVertexDescription

Classes

struct  Attribute
 Describes an attribute used in a vertex shader. More...
 

Public Types

enum class  AttributeType { UNSIGNED_BYTE , INT , FLOAT }
 The type of a vertex attribute. More...
 

Public Member Functions

 VertexDescription ()
 Create a new vertex description. More...
 
virtual ~VertexDescription ()
 Destructor. More...
 

Detailed Description

Describes how a vertex buffer is accessed by a shader.

Member Enumeration Documentation

◆ AttributeType

The type of a vertex attribute.

Enumerator
UNSIGNED_BYTE 
INT 

Unsigned byte.

Signed integer.

FLOAT 

Single precision float.

Constructor & Destructor Documentation

◆ VertexDescription()

Video::VertexDescription::VertexDescription ( )
inline

Create a new vertex description.

◆ ~VertexDescription()

virtual Video::VertexDescription::~VertexDescription ( )
inlinevirtual

Destructor.


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