Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
BaseAssetRenderer.hpp
1#pragma once
2
3#include <string>
4#include <vector>
5#include <map>
6#include <entt/fwd.hpp>
7#include <glm/vec3.hpp>
8
9#include <Common/HashedString.hpp>
10#include <Common/Containers/Span.hpp>
11#include <Common/Rendering/AssetRenderQueueContext.hpp>
12#include <Common/Rendering/GeometryRenderingStats.hpp>
13#include <Common/Rendering/AssetRenderQueueContext.hpp>
14#include "EngineCore/Assets/AssetManager.hpp"
15
16using RenderQueueIndex = uint8_t;
17const RenderQueueIndex INVALID_RENDER_QUEUE = UINT8_MAX;
18
19namespace Grindstone {
20 namespace GraphicsAPI {
21 class CommandBuffer;
22 class DescriptorSet;
23 }
24
26 public:
27 virtual std::string GetName() const = 0;
28 virtual void SetEngineDescriptorSet(GraphicsAPI::DescriptorSet* descriptorSet) = 0;
30 GraphicsAPI::CommandBuffer* commandBuffer,
32 ) = 0;
33 };
34}
Definition BaseAssetRenderer.hpp:25
Definition CommandBuffer.hpp:109
Definition DescriptorSet.hpp:15
Definition Buffer.hpp:9
Definition Assert.hpp:16
Definition AssetRenderQueueContext.hpp:10
Definition GeometryRenderingStats.hpp:6