Struct FrameBuffer::RAII_Impl
Defined in File FrameBuffer.h
Nested Relationships
This struct is a nested type of Class FrameBuffer.
Nested Types
Struct Documentation
-
struct RAII_Impl
Public Functions
-
RAII_Impl() = default
-
inline ~RAII_Impl()
-
void create(unsigned int width, unsigned int height, int nSamples)
-
void createDepthMap(unsigned int width, unsigned int height)
-
void destroy()
-
FrameBufferBinding bind()
-
void unbind()
Public Members
-
Buffer::Usage usage = Buffer::Usage::StaticDraw
-
mrpt::containers::PerThreadDataHolder<State> m_state
-
struct State
Public Members
-
bool m_created = false
-
bool m_isDepthMap = false
-
unsigned int m_Framebuffer = 0
-
unsigned int m_Depth = 0
-
unsigned int m_Color = 0
-
unsigned int m_DepthMapTexture = 0
-
unsigned int m_width = 0
-
unsigned int m_height = 0
-
int m_Samples = 0
In pixels.
-
bool m_created = false
-
RAII_Impl() = default