| 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 {
12 void CreateDescriptorSets(
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
25 void UpdateUniformBuffer(
26 MeshRenderer& t_MeshRend,
27 Transform& transform,
28 UINT32 t_CurrentImage,
29 Camera* t_Camera);
30
31 }
32 }
MeshRenderer.h
Camera.h
Fling::Camera
Base class for camera, meant to be overridden.
Definition: Camera.h:10
Fling::ShaderProgramReflections::BindCmdBuffer
void BindCmdBuffer(MeshRenderer &t_MeshRend, VkCommandBuffer t_CommandBuffer, GraphicsPipeline *t_GraphicsPipeline, UINT32 t_CommandBufferIndex)
Definition: ShaderProgramReflections.cpp:63
Fling::GraphicsPipeline
Definition: GraphicsPipeline.h:9
Transform.h
Fling::ShaderProgramReflections::UpdateUniformBuffer
void UpdateUniformBuffer(MeshRenderer &t_MeshRend, Transform &transform, UINT32 t_CurrentImage, Camera *t_Camera)
Definition: ShaderProgramReflections.cpp:89
Lighting.hpp
Fling::Lighting
Definition: Lighting.hpp:10
Fling::Transform
Definition: Transform.h:8
UINT32
uint32_t UINT32
Definition: FlingTypes.h:13
Fling
Definition: Engine.h:29
Fling::ShaderProgramReflections::CreateDescriptorSets
void CreateDescriptorSets(MeshRenderer &t_MeshRend, Lighting &t_Lighting, VkDescriptorSetLayout t_DescriptorLayout)
Definition: ShaderProgramReflections.cpp:4
Fling::MeshRenderer
Definition: MeshRenderer.h:12
Fling::ShaderProgramReflections::CreateDescriptorPool
void CreateDescriptorPool(MeshRenderer &t_MeshRend)
Definition: ShaderProgramReflections.cpp:58