Class for object render system. More...
#include <Object.hpp>
Public Member Functions | |
ObjectRenderSystem (Device &device, const VkRenderPass renderPass, const VkDescriptorSetLayout globalSetLayout) | |
ObjectRenderSystem (const ObjectRenderSystem &)=delete | |
ObjectRenderSystem & | operator= (const ObjectRenderSystem &)=delete |
ObjectRenderSystem (ObjectRenderSystem &&)=delete | |
ObjectRenderSystem & | operator= (ObjectRenderSystem &&)=delete |
void | render (const FrameInfo &frameInfo) const override |
![]() | |
ARenderSystemBase (Device &device) | |
virtual | ~ARenderSystemBase () |
ARenderSystemBase (const ARenderSystemBase &)=delete | |
ARenderSystemBase & | operator= (const ARenderSystemBase &)=delete |
ARenderSystemBase (ARenderSystemBase &&)=delete | |
ARenderSystemBase & | operator= (ARenderSystemBase &&)=delete |
Additional Inherited Members | |
![]() | |
void | createPipelineLayout (VkDescriptorSetLayout globalSetLayout, uint32_t pushConstantSize) |
void | createPipeline (VkRenderPass renderPass, const std::string &shadersVertPath, const std::string &shadersFragPath, bool isLight) |
Device & | getDevice () const |
VkPipelineLayout | getPipelineLayout () const |
const std::unique_ptr< Shaders > & | getShaders () const |
![]() | |
std::unique_ptr< DescriptorSetLayout > | renderSystemLayout |
Class for object render system.
Definition at line 23 of file Object.hpp.
|
inlineexplicit |
Definition at line 27 of file Object.hpp.
References ven::ARenderSystemBase::createPipeline(), ven::ARenderSystemBase::createPipelineLayout(), and ven::SHADERS_BIN_PATH.
|
delete |
|
delete |
|
delete |
|
delete |
|
overridevirtual |
Implements ven::ARenderSystemBase.
Definition at line 6 of file object.cpp.
References ven::DescriptorWriter::build(), ven::FrameInfo::commandBuffer, ven::FrameInfo::frameDescriptorPool, ven::FrameInfo::frameIndex, ven::ARenderSystemBase::getPipelineLayout(), ven::ARenderSystemBase::getShaders(), ven::FrameInfo::globalDescriptorSet, ven::ObjectPushConstantData::modelMatrix, ven::FrameInfo::objects, ven::ARenderSystemBase::renderSystemLayout, ven::DescriptorWriter::writeBuffer(), and ven::DescriptorWriter::writeImage().
Referenced by ven::Engine::run().