vengine  0.0.1
3D graphics engine
Loading...
Searching...
No Matches
ven::PointLightRenderSystem Class Referencefinal

Class for point light system. More...

#include <PointLight.hpp>

+ Inheritance diagram for ven::PointLightRenderSystem:
+ Collaboration diagram for ven::PointLightRenderSystem:

Public Member Functions

 PointLightRenderSystem (Device &device, const VkRenderPass renderPass, const VkDescriptorSetLayout globalSetLayout)
 
 PointLightRenderSystem (const PointLightRenderSystem &)=delete
 
PointLightRenderSystemoperator= (const PointLightRenderSystem &)=delete
 
 PointLightRenderSystem (PointLightRenderSystem &&)=delete
 
PointLightRenderSystemoperator= (PointLightRenderSystem &&)=delete
 
void render (const FrameInfo &frameInfo) const override
 
- Public Member Functions inherited from ven::ARenderSystemBase
 ARenderSystemBase (Device &device)
 
virtual ~ARenderSystemBase ()
 
 ARenderSystemBase (const ARenderSystemBase &)=delete
 
ARenderSystemBaseoperator= (const ARenderSystemBase &)=delete
 
 ARenderSystemBase (ARenderSystemBase &&)=delete
 
ARenderSystemBaseoperator= (ARenderSystemBase &&)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from ven::ARenderSystemBase
void createPipelineLayout (VkDescriptorSetLayout globalSetLayout, uint32_t pushConstantSize)
 
void createPipeline (VkRenderPass renderPass, const std::string &shadersVertPath, const std::string &shadersFragPath, bool isLight)
 
DevicegetDevice () const
 
VkPipelineLayout getPipelineLayout () const
 
const std::unique_ptr< Shaders > & getShaders () const
 
- Protected Attributes inherited from ven::ARenderSystemBase
std::unique_ptr< DescriptorSetLayoutrenderSystemLayout
 

Detailed Description

Class for point light system.

Definition at line 24 of file PointLight.hpp.

Constructor & Destructor Documentation

◆ PointLightRenderSystem() [1/3]

ven::PointLightRenderSystem::PointLightRenderSystem ( Device & device,
const VkRenderPass renderPass,
const VkDescriptorSetLayout globalSetLayout )
inlineexplicit

Definition at line 28 of file PointLight.hpp.

References ven::ARenderSystemBase::createPipeline(), ven::ARenderSystemBase::createPipelineLayout(), and ven::SHADERS_BIN_PATH.

+ Here is the call graph for this function:

◆ PointLightRenderSystem() [2/3]

ven::PointLightRenderSystem::PointLightRenderSystem ( const PointLightRenderSystem & )
delete

◆ PointLightRenderSystem() [3/3]

ven::PointLightRenderSystem::PointLightRenderSystem ( PointLightRenderSystem && )
delete

Member Function Documentation

◆ operator=() [1/2]

PointLightRenderSystem & ven::PointLightRenderSystem::operator= ( const PointLightRenderSystem & )
delete

◆ operator=() [2/2]

PointLightRenderSystem & ven::PointLightRenderSystem::operator= ( PointLightRenderSystem && )
delete

◆ render()

void ven::PointLightRenderSystem::render ( const FrameInfo & frameInfo) const
overridevirtual

Implements ven::ARenderSystemBase.

Definition at line 5 of file pointLight.cpp.

References ven::FrameInfo::commandBuffer, ven::ARenderSystemBase::getPipelineLayout(), ven::ARenderSystemBase::getShaders(), ven::FrameInfo::globalDescriptorSet, ven::FrameInfo::lights, and ven::LightPushConstantData::position.

Referenced by ven::Engine::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: