|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
Attachments of an offscreen render target. The attach point of depthStencil follows its texture's pixel format. More...
#include <GfxEnums.hpp>
Public Attributes | |
| TextureHandle | color0 = TextureHandle::Invalid |
| TextureHandle | depthStencil = TextureHandle::Invalid |
| TextureHandle | resolveColor0 = TextureHandle::Invalid |
| TextureHandle | resolveDepthStencil = TextureHandle::Invalid |
| TextureHandle | color1 = TextureHandle::Invalid |
| TextureHandle | resolveColor1 = TextureHandle::Invalid |
| Its single-sample twin, when the target is multisampled. | |
| TextureHandle | color2 = TextureHandle::Invalid |
| TextureHandle | resolveColor2 = TextureHandle::Invalid |
| u32 | width = 0 |
| u32 | height = 0 |
Attachments of an offscreen render target. The attach point of depthStencil follows its texture's pixel format.
Definition at line 451 of file GfxEnums.hpp.
| TextureHandle esengine::FramebufferDesc::color0 = TextureHandle::Invalid |
Definition at line 452 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer(), and esengine::GfxDevice::createFramebuffer().
| TextureHandle esengine::FramebufferDesc::color1 = TextureHandle::Invalid |
A second colour attachment, drawn in the same pass as the first: what the surface IS rather than how it looks (normal, roughness, metalness) — see PipelineDesc::gbuffer. Invalid for a target that carries none, which is nearly all of them.
Definition at line 462 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer(), esengine::GLDevice::beginRenderPass(), and esengine::GfxDevice::createFramebuffer().
| TextureHandle esengine::FramebufferDesc::color2 = TextureHandle::Invalid |
A third, beside the second whenever it is there: the surface's diffuse colour, for light an effect adds after the frame (bounce light), which must be coloured by what it lands on. See PipelineDesc::albedo.
Definition at line 467 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer(), esengine::GLDevice::beginRenderPass(), and esengine::GfxDevice::createFramebuffer().
| TextureHandle esengine::FramebufferDesc::depthStencil = TextureHandle::Invalid |
Definition at line 453 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer(), and esengine::GfxDevice::createFramebuffer().
| u32 esengine::FramebufferDesc::height = 0 |
Definition at line 472 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer().
| TextureHandle esengine::FramebufferDesc::resolveColor0 = TextureHandle::Invalid |
Single-sample attachments a multisampled target resolves into. Set them and the device resolves whenever the target is left, so nothing above the RHI learns the target was multisampled.
Definition at line 457 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer(), and esengine::GfxDevice::createFramebuffer().
| TextureHandle esengine::FramebufferDesc::resolveColor1 = TextureHandle::Invalid |
Its single-sample twin, when the target is multisampled.
Definition at line 464 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer(), and esengine::GfxDevice::createFramebuffer().
| TextureHandle esengine::FramebufferDesc::resolveColor2 = TextureHandle::Invalid |
Definition at line 468 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer(), and esengine::GfxDevice::createFramebuffer().
| TextureHandle esengine::FramebufferDesc::resolveDepthStencil = TextureHandle::Invalid |
Definition at line 458 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer(), and esengine::GfxDevice::createFramebuffer().
| u32 esengine::FramebufferDesc::width = 0 |
Pixel size, required only when resolving: a blit needs a rectangle and an attachment handle carries no dimensions.
Definition at line 471 of file GfxEnums.hpp.
Referenced by esengine::GLDevice::backendCreateFramebuffer().