VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
Skybox.h
Go to the documentation of this file.
1
8#pragma once
12
13namespace venom
14{
15namespace vulkan
16{
17class VulkanSkybox : public vc::SkyboxImpl
18{
19public:
20 VulkanSkybox();
21 ~VulkanSkybox() override;
22
23 inline const VertexBuffer & GetVertexBuffer() const { return __vertexBuffer; }
24 inline const DescriptorSet& GetPanormaDescriptorSet() const { return __descriptorSet->GetCurrentSet(); }
25
26 vc::Error _LoadSkybox(const vc::Texture & texture) override;
27 vc::Error _LoadIrradianceMap(const vc::Texture& texture, vc::Texture & irradianceMap) override;
28 vc::Error _LoadRadianceMap(const vc::Texture& texture, vc::Texture& radianceMap) override;
29 vc::Error _LoadBlurMap(const common::Texture& texture, common::Texture& blurMap) override;
30 vc::Error _ChangeBlurFactor(const float factor) override;
31private:
32 VertexBuffer __vertexBuffer;
33 UniformBuffer __uniformBuffer;
34 DescriptorSetGroup * __descriptorSet;
35};
36}
37}
Definition Skybox.h:36
Definition Texture.h:179
Regroups descriptor sets by frame, so if updates have to be done by group, they will be done on the g...
Definition DescriptorPool.h:25
Definition DescriptorSet.h:22
Definition UniformBuffer.h:17
Definition VertexBuffer.h:18
Encapsulation of Vulkan for the front end of VenomEngine.
Definition Allocator.h:18
Contains the entirety of the code of the VenomEngine project.
Definition Callback.h:13