Attachment clear command structure.
More...
#include <CommandBufferFlags.h>
|
| long | flags = 0 |
| | Specifies the clear buffer flags.
|
| std::uint32_t | colorAttachment = 0 |
| | Specifies the index of the color attachment within the active render target. By default 0.
|
| ClearValue | clearValue |
| | Clear value for color, depth, and stencil buffers.
|
Attachment clear command structure.
- See also
- CommandBuffer::ClearAttachments
◆ AttachmentClear() [1/5]
| LLGL::AttachmentClear::AttachmentClear |
( |
| ) |
|
|
default |
◆ AttachmentClear() [2/5]
| LLGL::AttachmentClear::AttachmentClear |
( |
const float | color[4], |
|
|
std::uint32_t | colorAttachment ) |
|
inline |
Constructor for a color attachment clear command.
◆ AttachmentClear() [3/5]
| LLGL::AttachmentClear::AttachmentClear |
( |
float | depth | ) |
|
|
inline |
Constructor for a depth attachment clear command.
◆ AttachmentClear() [4/5]
| LLGL::AttachmentClear::AttachmentClear |
( |
std::uint32_t | stencil | ) |
|
|
inline |
Constructor for a stencil attachment clear command.
◆ AttachmentClear() [5/5]
| LLGL::AttachmentClear::AttachmentClear |
( |
float | depth, |
|
|
std::uint32_t | stencil ) |
|
inline |
Constructor for a depth-stencil attachment clear command.
◆ clearValue
Clear value for color, depth, and stencil buffers.
◆ colorAttachment
| std::uint32_t LLGL::AttachmentClear::colorAttachment = 0 |
Specifies the index of the color attachment within the active render target. By default 0.
- See also
- flags
◆ flags
| long LLGL::AttachmentClear::flags = 0 |
Specifies the clear buffer flags.
- See also
- ClearFlags
The documentation for this struct was generated from the following file: