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
 
GLuint unifTexColor
 
GLuint unifTexMvp
 
ShaderProgram progFill
 
GLuint unifFillMvp
 
mat4 pixelMvp
 

Detailed Description

Definition at line 12 of file GLContext.hh.

Constructor & Destructor Documentation

◆ Context()

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

◆ ~Context()

gl::Context::~Context ( )
default

Referenced by Context().

Member Function Documentation

◆ getFallbackScaler()

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

Definition at line 42 of file GLContext.cc.

Member Data Documentation

◆ pixelMvp

mat4 gl::Context::pixelMvp

Definition at line 44 of file GLContext.hh.

Referenced by Context().

◆ progFill

ShaderProgram gl::Context::progFill

Definition at line 38 of file GLContext.hh.

Referenced by Context().

◆ progTex

ShaderProgram gl::Context::progTex

Definition at line 28 of file GLContext.hh.

Referenced by Context().

◆ unifFillMvp

GLuint gl::Context::unifFillMvp

Definition at line 39 of file GLContext.hh.

Referenced by Context().

◆ unifTexColor

GLuint gl::Context::unifTexColor

Definition at line 29 of file GLContext.hh.

Referenced by Context().

◆ unifTexMvp

GLuint gl::Context::unifTexMvp

Definition at line 30 of file GLContext.hh.

Referenced by Context().


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