SDL_gpu  0.11.0
A hardware-accelerated, cross-platform 2D graphics API
Data Fields
ContextData_OpenGL_1 Struct Reference

#include <SDL_gpu_OpenGL_1.h>

Data Fields

SDL_Color last_color
 
GPU_bool last_use_texturing
 
unsigned int last_shape
 
GPU_bool last_use_blending
 
GPU_BlendMode last_blend_mode
 
GPU_Rect last_viewport
 
GPU_Camera last_camera
 
GPU_bool last_camera_inverted
 
GPU_Imagelast_image
 
GPU_Targetlast_target
 
float * blit_buffer
 
unsigned short blit_buffer_num_vertices
 
unsigned short blit_buffer_max_num_vertices
 
unsigned short * index_buffer
 
unsigned int index_buffer_num_vertices
 
unsigned int index_buffer_max_num_vertices
 
unsigned int blit_VBO [2]
 
unsigned int blit_IBO
 
GPU_bool blit_VBO_flop
 
GPU_AttributeSource shader_attributes [16]
 
unsigned int attribute_VBO [16]
 

Detailed Description

Definition at line 224 of file SDL_gpu_OpenGL_1.h.

Field Documentation

◆ attribute_VBO

unsigned int ContextData_OpenGL_1::attribute_VBO[16]

Definition at line 250 of file SDL_gpu_OpenGL_1.h.

◆ blit_buffer

float* ContextData_OpenGL_1::blit_buffer

Definition at line 237 of file SDL_gpu_OpenGL_1.h.

◆ blit_buffer_max_num_vertices

unsigned short ContextData_OpenGL_1::blit_buffer_max_num_vertices

Definition at line 239 of file SDL_gpu_OpenGL_1.h.

◆ blit_buffer_num_vertices

unsigned short ContextData_OpenGL_1::blit_buffer_num_vertices

Definition at line 238 of file SDL_gpu_OpenGL_1.h.

◆ blit_IBO

unsigned int ContextData_OpenGL_1::blit_IBO

Definition at line 246 of file SDL_gpu_OpenGL_1.h.

◆ blit_VBO

unsigned int ContextData_OpenGL_1::blit_VBO[2]

Definition at line 245 of file SDL_gpu_OpenGL_1.h.

◆ blit_VBO_flop

GPU_bool ContextData_OpenGL_1::blit_VBO_flop

Definition at line 247 of file SDL_gpu_OpenGL_1.h.

◆ index_buffer

unsigned short* ContextData_OpenGL_1::index_buffer

Definition at line 240 of file SDL_gpu_OpenGL_1.h.

◆ index_buffer_max_num_vertices

unsigned int ContextData_OpenGL_1::index_buffer_max_num_vertices

Definition at line 242 of file SDL_gpu_OpenGL_1.h.

◆ index_buffer_num_vertices

unsigned int ContextData_OpenGL_1::index_buffer_num_vertices

Definition at line 241 of file SDL_gpu_OpenGL_1.h.

◆ last_blend_mode

GPU_BlendMode ContextData_OpenGL_1::last_blend_mode

Definition at line 230 of file SDL_gpu_OpenGL_1.h.

◆ last_camera

GPU_Camera ContextData_OpenGL_1::last_camera

Definition at line 232 of file SDL_gpu_OpenGL_1.h.

◆ last_camera_inverted

GPU_bool ContextData_OpenGL_1::last_camera_inverted

Definition at line 233 of file SDL_gpu_OpenGL_1.h.

◆ last_color

SDL_Color ContextData_OpenGL_1::last_color

Definition at line 226 of file SDL_gpu_OpenGL_1.h.

◆ last_image

GPU_Image* ContextData_OpenGL_1::last_image

Definition at line 235 of file SDL_gpu_OpenGL_1.h.

◆ last_shape

unsigned int ContextData_OpenGL_1::last_shape

Definition at line 228 of file SDL_gpu_OpenGL_1.h.

◆ last_target

GPU_Target* ContextData_OpenGL_1::last_target

Definition at line 236 of file SDL_gpu_OpenGL_1.h.

◆ last_use_blending

GPU_bool ContextData_OpenGL_1::last_use_blending

Definition at line 229 of file SDL_gpu_OpenGL_1.h.

◆ last_use_texturing

GPU_bool ContextData_OpenGL_1::last_use_texturing

Definition at line 227 of file SDL_gpu_OpenGL_1.h.

◆ last_viewport

GPU_Rect ContextData_OpenGL_1::last_viewport

Definition at line 231 of file SDL_gpu_OpenGL_1.h.

◆ shader_attributes

GPU_AttributeSource ContextData_OpenGL_1::shader_attributes[16]

Definition at line 249 of file SDL_gpu_OpenGL_1.h.


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