Rehti MMORPG  1.0.0
Rehti MMORPG is a free and open source MMORPG game.
GameObject Struct Reference

#include <GraphicsTypes.hpp>

Collaboration diagram for GameObject:
Collaboration graph

Static Public Member Functions

static std::array< VkDescriptorSetLayoutBinding, 3 > getDescriptorSetLayoutBindings ()
 

Public Attributes

AllocatedBuffer vertexData
 
AllocatedBuffer indexData
 
AllocatedBuffer materialData
 
uint32_t indexCount
 
AllocatedImage texture
 
VkImageView textureView
 
PhongMaterial material
 
std::vector< GameObjectUniformBufferuniformBuffers
 

Member Function Documentation

◆ getDescriptorSetLayoutBindings()

std::array< VkDescriptorSetLayoutBinding, 3 > GameObject::getDescriptorSetLayoutBindings ( )
static

Member Data Documentation

◆ indexCount

uint32_t GameObject::indexCount

◆ indexData

AllocatedBuffer GameObject::indexData

◆ material

PhongMaterial GameObject::material

◆ materialData

AllocatedBuffer GameObject::materialData

◆ texture

AllocatedImage GameObject::texture

◆ textureView

VkImageView GameObject::textureView

◆ uniformBuffers

std::vector<GameObjectUniformBuffer> GameObject::uniformBuffers

◆ vertexData

AllocatedBuffer GameObject::vertexData

The documentation for this struct was generated from the following files: