PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
PixelBullet::RenderStage Class Reference

Public Member Functions

 RenderStage (std::vector< Attachment > images={}, std::vector< SubpassType > subpasses={}, const Viewport &viewport=Viewport())
 
void Update ()
 
void Rebuild (const Swapchain &swapchain)
 
std::optional< AttachmentGetAttachment (const std::string &name) const
 
std::optional< AttachmentGetAttachment (uint32_t binding) const
 
const DescriptorGetDescriptor (const std::string &name) const
 
const VkFramebuffer & GetActiveFramebuffer (uint32_t activeSwapchainImage) const
 
const std::vector< Attachment > & GetAttachments () const
 
const std::vector< SubpassType > & GetSubpasses () const
 
ViewportGetViewport ()
 
void SetViewport (const Viewport &viewport)
 
const RenderAreaGetRenderArea () const
 
bool IsOutOfDate () const
 
const RenderpassGetRenderpass () const
 
const ImageDepthGetDepthStencil () const
 
const FramebuffersGetFramebuffers () const
 
const std::vector< VkClearValue > & GetClearValues () const
 
uint32_t GetAttachmentCount (uint32_t subpass) const
 
bool HasDepth () const
 
bool HasSwapchain () const
 
bool IsMultisampled (uint32_t subpass) const
 

Friends

class Graphics
 

Member Function Documentation

◆ GetRenderArea()

const RenderArea & PixelBullet::RenderStage::GetRenderArea ( ) const
inline

Gets the render stage viewport.

Returns
The the render stage viewport.

◆ IsOutOfDate()

bool PixelBullet::RenderStage::IsOutOfDate ( ) const
inline

Gets if the width or height has changed between the last update and now.

Returns
If the width or height has changed.

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