All Classes Functions Variables Typedefs Enumerations Groups
Public Attributes | List of all members
GPU_Context Struct Reference

#include <SDL_gpu.h>

Collaboration diagram for GPU_Context:
Collaboration graph
[legend]

Public Attributes

void * context
 
GPU_bool failed
 
Uint32 windowID
 
int window_w
 
int window_h
 
int drawable_w
 
int drawable_h
 
int stored_window_w
 
int stored_window_h
 
Uint32 current_shader_program
 
Uint32 default_textured_shader_program
 
Uint32 default_untextured_shader_program
 
GPU_ShaderBlock current_shader_block
 
GPU_ShaderBlock default_textured_shader_block
 
GPU_ShaderBlock default_untextured_shader_block
 
GPU_bool shapes_use_blending
 
GPU_BlendMode shapes_blend_mode
 
float line_thickness
 
GPU_bool use_texturing
 
int matrix_mode
 
GPU_MatrixStack projection_matrix
 
GPU_MatrixStack modelview_matrix
 
void * data
 

Detailed Description

Rendering context data. Only GPU_Targets which represent windows will store this.

Member Data Documentation

void* GPU_Context::context

SDL_GLContext

Uint32 GPU_Context::current_shader_program

Internal state

int GPU_Context::drawable_w

Drawable region dimensions

int GPU_Context::stored_window_w

Window dimensions for restoring windowed mode after GPU_SetFullscreen(1,1).

int GPU_Context::window_w

Actual window dimensions

Uint32 GPU_Context::windowID

SDL window ID


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