|
virtual std::vector< std::shared_ptr< const command_buffer_type > > | commandBuffers () const noexcept=0 |
| Gets all command buffers of the frame buffer.
|
|
virtual std::shared_ptr< const command_buffer_type > | commandBuffer (unsigned index) const =0 |
|
virtual std::vector< const image_type * > | images () const noexcept=0 |
|
virtual const image_type & | image (unsigned location) const =0 |
| Gets the image storing the output attachment for the render target mapped at given location .
|
|
virtual unsigned int | bufferIndex () const noexcept=0 |
| Gets the index of the frame buffer within the IRenderPass.
|
|
virtual spark::math::Vector2< unsigned > | size () const noexcept=0 |
| Gets the current size of the frame buffer.
|
|
std::vector< std::shared_ptr< const ICommandBuffer > > | commandBuffers () const noexcept |
| Gets all command buffers of the frame buffer.
|
|
std::shared_ptr< const ICommandBuffer > | commandBuffer (unsigned int index) const |
| Gets the command buffer that records draw commands for the frame buffer.
|
|
std::vector< const IImage * > | images () const noexcept |
| Gets all images storing the output attachments for the render targets of the IRenderPass.
|
|
const IImage & | image (unsigned int location) const |
| Gets the image storing the output attachment for the render target mapped at given location .
|
|
virtual void | resize (const spark::math::Vector2< unsigned > &render_area)=0 |
| Invalidate and resize the frame buffer with given render_area .
|
|
template<typename CommandBufferType>
class spark::render::FrameBuffer< CommandBufferType >
Stores the images for the output attachments for a back buffer of a IRenderPass>, as well as a CommandBuffer instance, that records draw commands.
- Template Parameters
-
CommandBufferType | Type of the command buffer (inherits from ICommandBuffer). |