|
SDL_gpu
0.11.0
A hardware-accelerated, cross-platform 2D graphics API
|
#include <SDL_gpu.h>
Data Fields | |
| 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 |
| int | refcount |
| void * | data |
Rendering context data. Only GPU_Targets which represent windows will store this.
| GPU_ShaderBlock GPU_Context::current_shader_block |
| GPU_ShaderBlock GPU_Context::default_textured_shader_block |
| GPU_ShaderBlock GPU_Context::default_untextured_shader_block |
| GPU_MatrixStack GPU_Context::modelview_matrix |
| GPU_MatrixStack GPU_Context::projection_matrix |
| GPU_BlendMode GPU_Context::shapes_blend_mode |
| int GPU_Context::stored_window_w |
1.8.13