PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::RenderTarget2D Class Referencefinal
Inheritance diagram for pixelbullet::RenderTarget2D:
pixelbullet::Descriptor

Public Member Functions

 RenderTarget2D (RenderTargetSpecification specification)
 
void Rebuild (const Graphics &graphics, uint32_t imageCount, const VkExtent2D &swapchainExtent)
 
void SetActiveImageIndex (uint32_t activeImageIndex)
 
WriteDescriptorSet GetWriteDescriptor (uint32_t binding, VkDescriptorType descriptorType, const std::optional< OffsetSize > &offsetSize) const override
 
uint64_t GetRevision () const override
 
const RenderTargetSpecificationGetSpecification () const
 
const std::string & GetName () const
 
const glm::uvec2 & GetExtent () const
 
uint32_t GetImageCount () const
 
const Image2D * GetActiveImage () const
 
const Image2D * GetImage (uint32_t imageIndex) const
 
const VkImageView & GetImageView (uint32_t imageIndex) const
 
- Public Member Functions inherited from pixelbullet::Descriptor

Member Function Documentation

◆ GetRevision()

uint64_t pixelbullet::RenderTarget2D::GetRevision ( ) const
inlineoverridevirtual

Reimplemented from pixelbullet::Descriptor.

◆ GetWriteDescriptor()

WriteDescriptorSet pixelbullet::RenderTarget2D::GetWriteDescriptor ( uint32_t binding,
VkDescriptorType descriptorType,
const std::optional< OffsetSize > & offsetSize ) const
overridevirtual

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