Render target attachment descriptor structure.
More...
#include <RenderTargetFlags.h>
|
| Format | format = Format::Undefined |
| | Specifies the render-target attachment format. By default Format::Undefined.
|
| Texture * | texture = nullptr |
| | Pointer to the texture which is to be used as target output. By default null.
|
| std::uint32_t | mipLevel = 0 |
| | Specifies the MIP-map level which is to be attached to a render target.
|
| std::uint32_t | arrayLayer = 0 |
| | Specifies the array texture layer which is to be used as render target attachment.
|
Render target attachment descriptor structure.
- See also
- RenderTargetDescriptor
◆ AttachmentDescriptor() [1/3]
| LLGL::AttachmentDescriptor::AttachmentDescriptor |
( |
| ) |
|
|
default |
◆ AttachmentDescriptor() [2/3]
| LLGL::AttachmentDescriptor::AttachmentDescriptor |
( |
Format | format | ) |
|
|
inline |
Constructor for the specified depth-, or stencil attachment.
◆ AttachmentDescriptor() [3/3]
| LLGL::AttachmentDescriptor::AttachmentDescriptor |
( |
Texture * | texture, |
|
|
std::uint32_t | mipLevel = 0, |
|
|
std::uint32_t | arrayLayer = 0 ) |
|
inline |
Constructor for the specified depth-, stencil-, or color attachment.
◆ arrayLayer
| std::uint32_t LLGL::AttachmentDescriptor::arrayLayer = 0 |
◆ format
◆ mipLevel
| std::uint32_t LLGL::AttachmentDescriptor::mipLevel = 0 |
Specifies the MIP-map level which is to be attached to a render target.
◆ texture
| Texture* LLGL::AttachmentDescriptor::texture = nullptr |
Pointer to the texture which is to be used as target output. By default null.
- See also
- AttachmentDescriptor::type
-
TextureDescriptor::bindFlags
The documentation for this struct was generated from the following file: