#include <FrameBuffer.h>
◆ FrameBuffer()
| Fling::FrameBuffer::FrameBuffer |
( |
const VkDevice & |
t_Dev, |
|
|
INT32 |
t_Width = 2048, |
|
|
INT32 |
t_Height = 2048 |
|
) |
| |
|
explicit |
◆ ~FrameBuffer()
| Fling::FrameBuffer::~FrameBuffer |
( |
| ) |
|
◆ AddAttachment()
- Returns
- Index of the new attachment on the frame buffer
◆ CreateRenderPass()
| VkResult Fling::FrameBuffer::CreateRenderPass |
( |
| ) |
|
Create the default render pass of this frame buffer based on the given attachments it has.
Should be called AFTER adding attachments for proper uses.
- Returns
- VK_SUCESS if all resources have been created successfully
◆ CreateSampler()
| VkResult Fling::FrameBuffer::CreateSampler |
( |
VkFilter |
magFilter, |
|
|
VkFilter |
minFilter, |
|
|
VkSamplerAddressMode |
adressMode |
|
) |
| |
Create a sampler for sampling from any frame buffer attachments.
- Returns
- VkResult for sampler creation
◆ GetAttachmentAtIndex()
Get the frame buffer attachment at a given index.
- Returns
- Nullptr if index is invalid
◆ GetHandle()
| VkFramebuffer Fling::FrameBuffer::GetHandle |
( |
| ) |
const |
|
inline |
◆ GetHeight()
| INT32 Fling::FrameBuffer::GetHeight |
( |
| ) |
const |
|
inline |
◆ GetRenderPassHandle()
| VkRenderPass Fling::FrameBuffer::GetRenderPassHandle |
( |
| ) |
const |
|
inline |
◆ GetSamplerHandle()
| VkSampler Fling::FrameBuffer::GetSamplerHandle |
( |
| ) |
const |
|
inline |
◆ GetWidth()
| INT32 Fling::FrameBuffer::GetWidth |
( |
| ) |
const |
|
inline |
◆ Release()
| void Fling::FrameBuffer::Release |
( |
| ) |
|
◆ SizeSize()
| void Fling::FrameBuffer::SizeSize |
( |
INT32 |
w, |
|
|
INT32 |
h |
|
) |
| |
◆ m_Attachments
◆ m_Device
| const VkDevice& Fling::FrameBuffer::m_Device |
|
private |
◆ m_FrameBuffer
| VkFramebuffer Fling::FrameBuffer::m_FrameBuffer = VK_NULL_HANDLE |
|
private |
◆ m_Height
| INT32 Fling::FrameBuffer::m_Height = 0 |
|
private |
◆ m_RenderPass
| VkRenderPass Fling::FrameBuffer::m_RenderPass = VK_NULL_HANDLE |
|
private |
◆ m_Sampler
| VkSampler Fling::FrameBuffer::m_Sampler = VK_NULL_HANDLE |
|
private |
◆ m_Width
| INT32 Fling::FrameBuffer::m_Width = 0 |
|
private |
The documentation for this class was generated from the following files: