Rehti MMORPG  1.0.0
Rehti MMORPG is a free and open source MMORPG game.
GraphicsTypes.cpp File Reference
#include "GraphicsTypes.hpp"
#include <glm/ext.hpp>
#include <glm/ext/quaternion_common.hpp>
Include dependency graph for GraphicsTypes.cpp:

Functions

std::array< ObjectType, OBJECT_TYPE_COUNTgetObjectTypes ()
 
std::array< AnimationType, ANIMATION_TYPE_COUNT > getAnimationTypes ()
 
uint32_t getAnimIndex (AnimationType animType)
 
VkVertexInputBindingDescription getSimpleVertexBindingDescription ()
 
std::array< VkVertexInputAttributeDescription, 2 > getSimpleVertexAttributeDescriptions ()
 
VkVertexInputBindingDescription getVertexBindingDescription ()
 
std::array< VkVertexInputAttributeDescription, 3 > getVertexAttributeDescriptions ()
 
VkVertexInputBindingDescription getCharacterVertexBindingDescription ()
 
std::array< VkVertexInputAttributeDescription, 5 > getCharacterVertexAttributeDescriptions ()
 
std::vector< VkVertexInputAttributeDescription > getAttributeDescription (ObjectType objectType)
 Returns a vector of VkVertexInputAttributeDescription for the given object type. More...
 
VkVertexInputBindingDescription getBindingDescription (ObjectType objectType)
 Returns the vertex binding description for the given object type. More...
 

Function Documentation

◆ getAnimationTypes()

std::array<AnimationType, ANIMATION_TYPE_COUNT> getAnimationTypes ( )

◆ getAnimIndex()

uint32_t getAnimIndex ( AnimationType  animType)
Here is the caller graph for this function:

◆ getAttributeDescription()

std::vector<VkVertexInputAttributeDescription> getAttributeDescription ( ObjectType  objectType)

Returns a vector of VkVertexInputAttributeDescription for the given object type.

Parameters
objectTypeto query the attribute descriptions for.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getBindingDescription()

VkVertexInputBindingDescription getBindingDescription ( ObjectType  objectType)

Returns the vertex binding description for the given object type.

Parameters
objectTypeto query the binding description for.
Returns
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCharacterVertexAttributeDescriptions()

std::array<VkVertexInputAttributeDescription, 5> getCharacterVertexAttributeDescriptions ( )
Here is the caller graph for this function:

◆ getCharacterVertexBindingDescription()

VkVertexInputBindingDescription getCharacterVertexBindingDescription ( )
Here is the caller graph for this function:

◆ getObjectTypes()

std::array<ObjectType, OBJECT_TYPE_COUNT> getObjectTypes ( )
Here is the caller graph for this function:

◆ getSimpleVertexAttributeDescriptions()

std::array<VkVertexInputAttributeDescription, 2> getSimpleVertexAttributeDescriptions ( )
Here is the caller graph for this function:

◆ getSimpleVertexBindingDescription()

VkVertexInputBindingDescription getSimpleVertexBindingDescription ( )
Here is the caller graph for this function:

◆ getVertexAttributeDescriptions()

std::array<VkVertexInputAttributeDescription, 3> getVertexAttributeDescriptions ( )
Here is the caller graph for this function:

◆ getVertexBindingDescription()

VkVertexInputBindingDescription getVertexBindingDescription ( )
Here is the caller graph for this function: