AttachmentPoint.
More...
#include <kanzi/core.ui/graphics3d/composition_target_render_pass.hpp>
| kanzi::CompositionTargetRenderPass::Framebuffer::AttachmentPoint::AttachmentPoint |
( |
| ) |
|
|
explicitdefault |
| kanzi::CompositionTargetRenderPass::Framebuffer::AttachmentPoint::AttachmentPoint |
( |
RenderbufferSharedPtr |
renderbuffer | ) |
|
|
inlineexplicit |
| kanzi::CompositionTargetRenderPass::Framebuffer::AttachmentPoint::AttachmentPoint |
( |
TextureSharedPtr |
texture | ) |
|
|
inlineexplicit |
| Texture* kanzi::CompositionTargetRenderPass::Framebuffer::AttachmentPoint::getTexture |
( |
| ) |
const |
|
inline |
Gets the texture in this attachment point.
- Returns
- Pointer to texture.
| Renderbuffer* kanzi::CompositionTargetRenderPass::Framebuffer::AttachmentPoint::getRenderbuffer |
( |
| ) |
const |
|
inline |
Gets the renderbuffer in this attachment point.
- Returns
- Pointer to renderbuffer.
| void kanzi::CompositionTargetRenderPass::Framebuffer::AttachmentPoint::clear |
( |
| ) |
|
|
inline |
Clears the internal state of the handle.
After calling this function, the attachment point does not own any GPU resources.
Updates the renderbuffer/texture state.
Renderbuffer is favored over texture.
- Parameters
-
| texture | Texture target. |
| renderbuffer | Rendrbuffer target. |
- Returns
- If the state was changed true, otherwise false.
| void kanzi::CompositionTargetRenderPass::Framebuffer::AttachmentPoint::setTexture |
( |
TextureSharedPtr |
texture | ) |
|
Sets this attachment point to texture status.
- Parameters
-
| void kanzi::CompositionTargetRenderPass::Framebuffer::AttachmentPoint::setRenderbuffer |
( |
RenderbufferSharedPtr |
renderbuffer | ) |
|
Sets this attachment point to texture status.
- Parameters
-
The documentation for this struct was generated from the following file: