xbmc
Public Member Functions | List of all members
KODI::SHADER::CShaderTextureGL Class Reference
Inheritance diagram for KODI::SHADER::CShaderTextureGL:
Inheritance graph
[legend]
Collaboration diagram for KODI::SHADER::CShaderTextureGL:
Collaboration graph
[legend]

Public Member Functions

 CShaderTextureGL (CGLTexture *texture)
 
 CShaderTextureGL (CGLTexture &texture)
 
float GetWidth () const override
 Return width of texture. More...
 
float GetHeight () const override
 Return height of texture. More...
 
CGLTextureGetPointer ()
 
bool CreateFBO (int width, int height)
 
void BindFBO ()
 
void UnbindFBO ()
 

Member Function Documentation

◆ GetHeight()

float KODI::SHADER::CShaderTextureGL::GetHeight ( ) const
inlineoverridevirtual

Return height of texture.

Returns
Height of the texture in texels

Implements KODI::SHADER::IShaderTexture.

◆ GetWidth()

float KODI::SHADER::CShaderTextureGL::GetWidth ( ) const
inlineoverridevirtual

Return width of texture.

Returns
Width of the texture in texels

Implements KODI::SHADER::IShaderTexture.


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