NAP
Public Member Functions | Public Attributes | List of all members
VertexAttributeDeclaration Class Referencefinal

#include <vertexattributedeclaration.h>

Public Member Functions

 VertexAttributeDeclaration (const std::string &name, int location, int elementSize, VkFormat format)
 
 VertexAttributeDeclaration ()=delete
 

Public Attributes

std::string mName
 Name of the shader attribute. More...
 
int mLocation
 
int mElementSize
 Element size of this vertex. More...
 
VkFormat mFormat
 

Description

Represents an Vulkan vertex shader attribute

Constructor & Destructor Documentation

◆ VertexAttributeDeclaration() [1/2]

VertexAttributeDeclaration ( const std::string &  name,
int  location,
int  elementSize,
VkFormat  format 
)

◆ VertexAttributeDeclaration() [2/2]

Member Data Documentation

◆ mElementSize

int mElementSize

Element size of this vertex.

◆ mFormat

VkFormat mFormat

◆ mLocation

int mLocation

◆ mName

std::string mName

Name of the shader attribute.