Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
MeshRendererComponent.hpp
1
#pragma once
2
3
#include <string>
4
#include <vector>
5
#include "EngineCore/Reflection/ComponentReflection.hpp"
6
#include "EngineCore/Assets/Materials/MaterialAsset.hpp"
7
8
namespace
Grindstone {
9
namespace
GraphicsAPI {
10
class
UniformBuffer;
11
class
DescriptorSet;
12
}
13
14
struct
MeshRendererComponent
{
15
std::vector<AssetReference<MaterialAsset>> materials;
16
17
GraphicsAPI::UniformBuffer
* perDrawUniformBuffer =
nullptr
;
18
GraphicsAPI::DescriptorSet
* perDrawDescriptorSet =
nullptr
;
19
20
REFLECT(
"MeshRenderer"
)
21
};
22
}
Grindstone::GraphicsAPI::DescriptorSet
Definition
DescriptorSet.hpp:11
Grindstone::GraphicsAPI::UniformBuffer
Definition
UniformBuffer.hpp:10
Grindstone::MeshRendererComponent
Definition
MeshRendererComponent.hpp:14
sources
code
Plugins
Renderables3D
Components
MeshRendererComponent.hpp
Generated by
1.12.0