Render target interface.
More...
#include <RenderTarget.h>
|
| virtual Extent2D | GetResolution () const =0 |
| | Returns the render target resolution.
|
| virtual std::uint32_t | GetSamples () const =0 |
| | Returns the number of samples this render target was created with.
|
| virtual std::uint32_t | GetNumColorAttachments () const =0 |
| | Returns the number of color attachments of this render target. This can also be zero.
|
| virtual bool | HasDepthAttachment () const =0 |
| | Returns true if this render target has a depth or depth-stencil attachment.
|
| virtual bool | HasStencilAttachment () const =0 |
| | Returns true if this render target has a stencil or depth-stencil attachment.
|
| virtual const RenderPass * | GetRenderPass () const =0 |
| | Returns the RenderPass object this render target is associated with, or null if render passes are optional for the the render system.
|
| virtual void | SetDebugName (const char *name) |
| | Sets the name of this class instance for debugging purposes.
|
| virtual bool | IsInstanceOf (int id) const |
| | Returns true if this object is an instance of the specified interface.
|
| | NonCopyable (const NonCopyable &)=delete |
| NonCopyable & | operator= (const NonCopyable &)=delete |
| virtual | ~NonCopyable ()=default |
◆ GetNumColorAttachments()
| virtual std::uint32_t LLGL::RenderTarget::GetNumColorAttachments |
( |
| ) |
const |
|
pure virtual |
◆ GetRenderPass()
| virtual const RenderPass * LLGL::RenderTarget::GetRenderPass |
( |
| ) |
const |
|
pure virtual |
◆ GetResolution()
| virtual Extent2D LLGL::RenderTarget::GetResolution |
( |
| ) |
const |
|
pure virtual |
◆ GetSamples()
| virtual std::uint32_t LLGL::RenderTarget::GetSamples |
( |
| ) |
const |
|
pure virtual |
◆ HasDepthAttachment()
| virtual bool LLGL::RenderTarget::HasDepthAttachment |
( |
| ) |
const |
|
pure virtual |
◆ HasStencilAttachment()
| virtual bool LLGL::RenderTarget::HasStencilAttachment |
( |
| ) |
const |
|
pure virtual |
◆ ValidateMipResolution()
| void LLGL::RenderTarget::ValidateMipResolution |
( |
const Texture & | texture, |
|
|
std::uint32_t | mipLevel ) |
|
protected |
◆ ValidateResolution()
| void LLGL::RenderTarget::ValidateResolution |
( |
const Extent2D & | attachmentResolution | ) |
|
|
protected |
Validates the specified attachment resolution for this render target.
The documentation for this class was generated from the following file: