Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
GridRenderer.hpp
1#pragma once
2
3#include <glm/glm.hpp>
4#include <glm/gtc/quaternion.hpp>
5#include <vector>
6
7#include <EngineCore/Assets/PipelineSet/GraphicsPipelineAsset.hpp>
8#include <EngineCore/Assets/AssetReference.hpp>
9
10namespace Grindstone::GraphicsAPI {
11 class CommandBuffer;
12 class Buffer;
13 class DescriptorSet;
15 class GraphicsPipeline;
16 class RenderPass;
17}
18
19namespace Grindstone::Editor {
21 public:
22 void Initialize(class Grindstone::GraphicsAPI::RenderPass* renderPass);
23 void Render(Grindstone::GraphicsAPI::CommandBuffer* commandBuffer, glm::vec2 renderScale, glm::mat4 proj, glm::mat4 view, float nearDist, float farDist, glm::quat rotation, float offset);
24 protected:
26 Grindstone::GraphicsAPI::Buffer* gridUniformBuffer = nullptr;
27 Grindstone::GraphicsAPI::DescriptorSet* gridDescriptorSet = nullptr;
28 Grindstone::GraphicsAPI::DescriptorSetLayout* gridDescriptorSetLayout = nullptr;
29 };
30}
Definition GridRenderer.hpp:20
Definition Buffer.hpp:56
Definition CommandBuffer.hpp:59
Definition DescriptorSetLayout.hpp:13
Definition DescriptorSet.hpp:15
Definition GraphicsPipeline.hpp:19
Definition RenderPass.hpp:27
Definition AssetReference.hpp:45