#include <SDL_gpu.h>

Public Attributes | |
| struct GPU_Renderer * | renderer |
| GPU_Target * | context_target |
| GPU_Image * | image |
| void * | data |
| Uint16 | w |
| Uint16 | h |
| GPU_bool | using_virtual_resolution |
| Uint16 | base_w |
| Uint16 | base_h |
| GPU_bool | use_clip_rect |
| GPU_Rect | clip_rect |
| GPU_bool | use_color |
| SDL_Color | color |
| GPU_Rect | viewport |
| GPU_Camera | camera |
| GPU_bool | use_camera |
| GPU_Context * | context |
| int | refcount |
| GPU_bool | is_alias |
Render target object for use as a blitting destination. A GPU_Target can be created from a GPU_Image with GPU_LoadTarget(). A GPU_Target can also represent a separate window with GPU_CreateTargetFromWindow(). In that case, 'context' is allocated and filled in. Note: You must have passed the SDL_WINDOW_OPENGL flag to SDL_CreateWindow() for OpenGL renderers to work with new windows. Free the memory with GPU_FreeTarget() when you're done.
| GPU_Camera GPU_Target::camera |
Perspective and object viewing transforms.
| GPU_Context* GPU_Target::context |
Renderer context data. NULL if the target does not represent a window or rendering context.
1.8.6