openMSX
Public Member Functions | Public Attributes | List of all members
gl::Context Struct Reference

#include <GLContext.hh>

Collaboration diagram for gl::Context:
Collaboration graph
[legend]

Public Member Functions

 Context (int width, int height)
 Initialize global openGL state. More...
 
 ~Context ()
 
openmsx::GLScalergetFallbackScaler ()
 

Public Attributes

ShaderProgram progTex
 
GLint unifTexColor
 
GLint unifTexMvp
 
ShaderProgram progFill
 
GLint unifFillMvp
 
mat4 pixelMvp
 

Detailed Description

Definition at line 13 of file GLContext.hh.

Constructor & Destructor Documentation

◆ Context()

gl::Context::Context ( int  width,
int  height 
)

◆ ~Context()

gl::Context::~Context ( )
default

Member Function Documentation

◆ getFallbackScaler()

openmsx::GLScaler & gl::Context::getFallbackScaler ( )

Definition at line 45 of file GLContext.cc.

Member Data Documentation

◆ pixelMvp

mat4 gl::Context::pixelMvp

Definition at line 45 of file GLContext.hh.

Referenced by Context().

◆ progFill

ShaderProgram gl::Context::progFill

Definition at line 39 of file GLContext.hh.

Referenced by Context().

◆ progTex

ShaderProgram gl::Context::progTex

Definition at line 29 of file GLContext.hh.

Referenced by Context().

◆ unifFillMvp

GLint gl::Context::unifFillMvp

Definition at line 40 of file GLContext.hh.

Referenced by Context().

◆ unifTexColor

GLint gl::Context::unifTexColor

Definition at line 30 of file GLContext.hh.

Referenced by Context().

◆ unifTexMvp

GLint gl::Context::unifTexMvp

Definition at line 31 of file GLContext.hh.

Referenced by Context().


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