Fling Engine  0.00.1
Fling Engine is a game engine written in Vulkan
ShaderProgramReflections.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "MeshRenderer.h"
4 #include "Lighting/Lighting.hpp"
5 #include "Components/Transform.h"
6 #include "Camera.h"
7 
8 namespace Fling
9 {
10  namespace ShaderProgramReflections
11  {
13  MeshRenderer& t_MeshRend,
14  Lighting& t_Lighting,
15  VkDescriptorSetLayout t_DescriptorLayout);
16 
17  void CreateDescriptorPool(MeshRenderer& t_MeshRend);
18 
19  void BindCmdBuffer(
20  MeshRenderer& t_MeshRend,
21  VkCommandBuffer t_CommandBuffer,
22  GraphicsPipeline* t_GraphicsPipeline,
23  UINT32 t_CommandBufferIndex);
24 
26  MeshRenderer& t_MeshRend,
27  Transform& transform,
28  UINT32 t_CurrentImage,
29  Camera* t_Camera);
30 
31  }
32 }
Base class for camera, meant to be overridden.
Definition: Camera.h:10
void BindCmdBuffer(MeshRenderer &t_MeshRend, VkCommandBuffer t_CommandBuffer, GraphicsPipeline *t_GraphicsPipeline, UINT32 t_CommandBufferIndex)
Definition: ShaderProgramReflections.cpp:63
Definition: GraphicsPipeline.h:9
void UpdateUniformBuffer(MeshRenderer &t_MeshRend, Transform &transform, UINT32 t_CurrentImage, Camera *t_Camera)
Definition: ShaderProgramReflections.cpp:89
Definition: Lighting.hpp:10
Definition: Transform.h:8
uint32_t UINT32
Definition: FlingTypes.h:13
Definition: Engine.h:29
void CreateDescriptorSets(MeshRenderer &t_MeshRend, Lighting &t_Lighting, VkDescriptorSetLayout t_DescriptorLayout)
Definition: ShaderProgramReflections.cpp:4
Definition: MeshRenderer.h:12
void CreateDescriptorPool(MeshRenderer &t_MeshRend)
Definition: ShaderProgramReflections.cpp:58