Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CFrameBufferObject Class Reference

#include <FrameBufferObject.h>

Public Member Functions

 CFrameBufferObject ()
 
bool IsSupported ()
 
bool IsValid () const
 
bool IsBound () const
 
bool Initialize ()
 
void Cleanup ()
 
void SetFiltering (GLenum target, GLenum mode)
 
bool CreateAndBindToTexture (GLenum target, int width, int height, GLenum format, GLenum type=GL_UNSIGNED_BYTE, GLenum filter=GL_LINEAR, GLenum clampmode=GL_CLAMP_TO_EDGE)
 
GLuint Texture () const
 
bool BeginRender ()
 
void EndRender () const
 

Constructor & Destructor Documentation

◆ CFrameBufferObject()

CFrameBufferObject::CFrameBufferObject ( )

Member Function Documentation

◆ BeginRender()

bool CFrameBufferObject::BeginRender ( )

◆ Cleanup()

void CFrameBufferObject::Cleanup ( )

◆ CreateAndBindToTexture()

bool CFrameBufferObject::CreateAndBindToTexture ( GLenum target,
int width,
int height,
GLenum format,
GLenum type = GL_UNSIGNED_BYTE,
GLenum filter = GL_LINEAR,
GLenum clampmode = GL_CLAMP_TO_EDGE )

◆ EndRender()

void CFrameBufferObject::EndRender ( ) const

◆ Initialize()

bool CFrameBufferObject::Initialize ( )

◆ IsBound()

bool CFrameBufferObject::IsBound ( ) const
inline

◆ IsSupported()

bool CFrameBufferObject::IsSupported ( )

◆ IsValid()

bool CFrameBufferObject::IsValid ( ) const
inline

◆ SetFiltering()

void CFrameBufferObject::SetFiltering ( GLenum target,
GLenum mode )

◆ Texture()

GLuint CFrameBufferObject::Texture ( ) const
inline

The documentation for this class was generated from the following files: