Open CASCADE Technology
6.9.1
|
OpenGl resources. More...
#include <OpenGl_AspectFace.hxx>
Public Member Functions | |
Resources () | |
Standard_Boolean | IsTextureReady () const |
Standard_Boolean | IsShaderReady () const |
void | SetTextureReady () |
void | SetShaderReady () |
void | ResetTextureReadiness () |
void | ResetShaderReadiness () |
void | BuildTexture (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_TextureMap > &theTexture) |
void | BuildShader (const Handle< OpenGl_Context > &theCtx, const Handle< Graphic3d_ShaderProgram > &theShader) |
Data Fields | |
Handle< OpenGl_Texture > | Texture |
TCollection_AsciiString | TextureId |
Handle< OpenGl_ShaderProgram > | ShaderProgram |
TCollection_AsciiString | ShaderProgramId |
OpenGl resources.
|
inline |
void OpenGl_AspectFace::Resources::BuildShader | ( | const Handle< OpenGl_Context > & | theCtx, |
const Handle< Graphic3d_ShaderProgram > & | theShader | ||
) |
void OpenGl_AspectFace::Resources::BuildTexture | ( | const Handle< OpenGl_Context > & | theCtx, |
const Handle< Graphic3d_TextureMap > & | theTexture | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Handle< OpenGl_ShaderProgram > OpenGl_AspectFace::Resources::ShaderProgram |
TCollection_AsciiString OpenGl_AspectFace::Resources::ShaderProgramId |
Handle< OpenGl_Texture > OpenGl_AspectFace::Resources::Texture |
TCollection_AsciiString OpenGl_AspectFace::Resources::TextureId |