![]() |
Raven Engine v0.1
|
Describes a single texture attachment in a framebuffer. More...
#include <Framebuffer.h>
Public Member Functions | |
| FramebufferTextureSpecification ()=default | |
| FramebufferTextureSpecification (ImageFormat format) | |
Public Attributes | |
| ImageFormat | Format = ImageFormat::RGBA8 |
| Pixel format of the attachment. | |
| bool | Blend = true |
| Whether blending is enabled. | |
| FramebufferBlendMode | BlendMode = FramebufferBlendMode::SrcAlphaOneMinusSrc |
| Blend mode. | |
| AttachmentLoadOp | LoadOp = AttachmentLoadOp::Inherit |
| Load operation for attachment. | |
Describes a single texture attachment in a framebuffer.
Includes format, blending options, and load operation.
|
default |
|
inline |
| format | The image format of the attachment (default: RGBA8). |
| bool Raven::FramebufferTextureSpecification::Blend = true |
Whether blending is enabled.
| FramebufferBlendMode Raven::FramebufferTextureSpecification::BlendMode = FramebufferBlendMode::SrcAlphaOneMinusSrc |
Blend mode.
| ImageFormat Raven::FramebufferTextureSpecification::Format = ImageFormat::RGBA8 |
Pixel format of the attachment.
| AttachmentLoadOp Raven::FramebufferTextureSpecification::LoadOp = AttachmentLoadOp::Inherit |
Load operation for attachment.