#include <glFramebuffer.h>
|
enum class | AttachmentState : U8 { STATE_DISABLED = 0
, STATE_ENABLED
, COUNT
} |
|
enum class | Usage : U8 { RT_READ_WRITE = 0
, RT_READ_ONLY = 1
, RT_WRITE_ONLY = 2
} |
|
enum class | Type : U8 {
RENDER_TARGET
, SHADER_BUFFER
, BUFFER
, SHADER
,
SHADER_PROGRAM
, TEXTURE
, COUNT
} |
|
|
bool | checkStatus () |
|
bool | checkStatusInternal (gl46core::GLuint handle) |
|
void | prepareBuffers (const RTDrawDescriptor &drawPolicy) |
|
bool | initAttachment (RTAttachment *att, RTAttachmentType type, RTColourAttachmentSlot slot) override |
|
bool | toggleAttachment (U8 attachmentIdx, AttachmentState state, U16 levelOffset, DrawLayerEntry layerOffset, bool layeredRendering) |
|
void | clear (const RTClearDescriptor &descriptor) |
|
void | begin (const RTDrawDescriptor &drawPolicy, const RTClearDescriptor &clearPolicy) |
|
void | end (const RTTransitionMask &mask) |
|
| PROPERTY_R_IW (Str< 128 >, debugMessage, "") |
|
| PROPERTY_R_IW (gl46core::GLuint, framebufferHandle, GL_NULL_HANDLE) |
|
void | resolve (const RTTransitionMask &mask) |
|
bool | setMipLevelInternal (U8 attachmentIdx, U16 writeLevel) |
|
| RenderTarget (GFXDevice &context, const RenderTargetDescriptor &descriptor) |
|
virtual bool | initAttachment (RTAttachment *att, RTAttachmentType type, RTColourAttachmentSlot slot) |
|
bool | autoResolveAttachment (RTAttachment *att) const |
|
| GraphicsResource (GFXDevice &context, Type type, I64 GUID, U64 nameHash) |
|
| NonCopyable ()=default |
|
| ~NonCopyable ()=default |
|
| NonMovable ()=default |
|
| ~NonMovable ()=default |
|
Definition at line 54 of file glFramebuffer.h.
◆ AttachmentState
Enumerator |
---|
STATE_DISABLED | |
STATE_ENABLED | |
COUNT | |
Definition at line 60 of file glFramebuffer.h.
◆ glFramebuffer()
◆ ~glFramebuffer()
Divide::glFramebuffer::~glFramebuffer |
( |
| ) |
|
|
override |
◆ begin()
◆ blitFrom()
◆ checkStatus()
bool Divide::glFramebuffer::checkStatus |
( |
| ) |
|
|
protected |
◆ checkStatusInternal()
bool Divide::glFramebuffer::checkStatusInternal |
( |
gl46core::GLuint |
handle | ) |
|
|
protected |
◆ clear()
◆ create()
bool Divide::glFramebuffer::create |
( |
| ) |
|
|
overridevirtual |
◆ end()
◆ initAttachment()
◆ prepareBuffers()
void Divide::glFramebuffer::prepareBuffers |
( |
const RTDrawDescriptor & |
drawPolicy | ) |
|
|
protected |
◆ PROPERTY_R_IW() [1/2]
Divide::glFramebuffer::PROPERTY_R_IW |
( |
gl46core::GLuint |
, |
|
|
framebufferHandle |
, |
|
|
GL_NULL_HANDLE |
|
|
) |
| |
|
protected |
◆ PROPERTY_R_IW() [2/2]
Divide::glFramebuffer::PROPERTY_R_IW |
( |
Str< 128 > |
, |
|
|
debugMessage |
, |
|
|
"" |
|
|
) |
| |
|
protected |
◆ QueueMipMapsRecomputation()
void Divide::glFramebuffer::QueueMipMapsRecomputation |
( |
const RTAttachment_uptr & |
attachment | ) |
|
|
staticprotected |
◆ resolve()
◆ setMipLevel()
void Divide::glFramebuffer::setMipLevel |
( |
U16 |
writeLevel | ) |
|
◆ setMipLevelInternal()
bool Divide::glFramebuffer::setMipLevelInternal |
( |
U8 |
attachmentIdx, |
|
|
U16 |
writeLevel |
|
) |
| |
|
protected |
◆ toggleAttachment()
◆ Attorney::CEGUIRenderTarget
◆ Attorney::GLAPIRenderTarget
◆ _activeDepthBuffer
bool Divide::glFramebuffer::_activeDepthBuffer = false |
|
protected |
◆ _activeReadBuffer
gl46core::GLenum Divide::glFramebuffer::_activeReadBuffer = gl46core::GL_NONE |
|
protected |
◆ _attachmentState
eastl::fixed_vector<BindingState, 8 + 2, true> Divide::glFramebuffer::_attachmentState |
|
protected |
◆ _colourBuffers
◆ _framebufferResolveHandle
gl46core::GLuint Divide::glFramebuffer::_framebufferResolveHandle {GL_NULL_HANDLE} |
|
protected |
◆ _isLayeredDepth
bool Divide::glFramebuffer::_isLayeredDepth = false |
|
protected |
◆ _previousDrawLayers
◆ _previousPolicy
◆ _statusCheckQueued
bool Divide::glFramebuffer::_statusCheckQueued = false |
|
protected |
The documentation for this class was generated from the following files:
- G:/Divide-Framework/Source/Platform/Video/RenderBackend/OpenGL/Buffers/Headers/glFramebuffer.h
- G:/Divide-Framework/Source/Platform/Video/RenderBackend/OpenGL/Buffers/glFramebuffer.cpp