Contains parameters for new framebuffer.
More...
#include <src/graphics/core/framebuffer.h>
|
| enum | AttachmentType { Texture,
Renderbuffer,
None
} |
| |
|
| int | width = 1024 |
| | Requested width of buffers. More...
|
| |
| int | height = 1024 |
| | Requested height of buffers. More...
|
| |
| int | depth = 16 |
| | Requested depth buffer. More...
|
| |
| int | samples = 1 |
| | Requested number of samples for multisampling. More...
|
| |
|
AttachmentType | colorAttachment = AttachmentType::Renderbuffer |
| |
|
AttachmentType | depthAttachment = AttachmentType::Renderbuffer |
| |
Contains parameters for new framebuffer.
◆ LoadDefault()
| void Gfx::FramebufferParams::LoadDefault |
( |
| ) |
|
|
inline |
◆ width
| int Gfx::FramebufferParams::width = 1024 |
Requested width of buffers.
◆ height
| int Gfx::FramebufferParams::height = 1024 |
Requested height of buffers.
◆ depth
| int Gfx::FramebufferParams::depth = 16 |
◆ samples
| int Gfx::FramebufferParams::samples = 1 |
Requested number of samples for multisampling.
The documentation for this struct was generated from the following file: