|
struct | GPU_Camera |
|
struct | GPU_Target |
|
DECLSPEC GPU_Target *SDLCALL | GPU_CreateAliasTarget (GPU_Target *target) |
|
DECLSPEC GPU_Target *SDLCALL | GPU_LoadTarget (GPU_Image *image) |
|
DECLSPEC GPU_Target *SDLCALL | GPU_GetTarget (GPU_Image *image) |
|
DECLSPEC void SDLCALL | GPU_FreeTarget (GPU_Target *target) |
|
DECLSPEC void SDLCALL | GPU_SetVirtualResolution (GPU_Target *target, Uint16 w, Uint16 h) |
|
DECLSPEC void SDLCALL | GPU_GetVirtualResolution (GPU_Target *target, Uint16 *w, Uint16 *h) |
|
DECLSPEC void SDLCALL | GPU_GetVirtualCoords (GPU_Target *target, float *x, float *y, float displayX, float displayY) |
|
DECLSPEC void SDLCALL | GPU_UnsetVirtualResolution (GPU_Target *target) |
|
DECLSPEC GPU_Rect SDLCALL | GPU_MakeRect (float x, float y, float w, float h) |
|
DECLSPEC SDL_Color SDLCALL | GPU_MakeColor (Uint8 r, Uint8 g, Uint8 b, Uint8 a) |
|
DECLSPEC void SDLCALL | GPU_SetViewport (GPU_Target *target, GPU_Rect viewport) |
|
DECLSPEC void SDLCALL | GPU_UnsetViewport (GPU_Target *target) |
|
DECLSPEC GPU_Camera SDLCALL | GPU_GetDefaultCamera (void) |
|
DECLSPEC GPU_Camera SDLCALL | GPU_GetCamera (GPU_Target *target) |
|
DECLSPEC GPU_Camera SDLCALL | GPU_SetCamera (GPU_Target *target, GPU_Camera *cam) |
|
DECLSPEC void SDLCALL | GPU_EnableCamera (GPU_Target *target, GPU_bool use_camera) |
|
DECLSPEC GPU_bool SDLCALL | GPU_IsCameraEnabled (GPU_Target *target) |
|
DECLSPEC SDL_Color SDLCALL | GPU_GetPixel (GPU_Target *target, Sint16 x, Sint16 y) |
|
DECLSPEC GPU_Rect SDLCALL | GPU_SetClipRect (GPU_Target *target, GPU_Rect rect) |
|
DECLSPEC GPU_Rect SDLCALL | GPU_SetClip (GPU_Target *target, Sint16 x, Sint16 y, Uint16 w, Uint16 h) |
|
DECLSPEC void SDLCALL | GPU_UnsetClip (GPU_Target *target) |
|
DECLSPEC GPU_bool SDLCALL | GPU_IntersectRect (GPU_Rect A, GPU_Rect B, GPU_Rect *result) |
|
DECLSPEC GPU_bool SDLCALL | GPU_IntersectClipRect (GPU_Target *target, GPU_Rect B, GPU_Rect *result) |
|
DECLSPEC void SDLCALL | GPU_SetTargetColor (GPU_Target *target, SDL_Color color) |
|
DECLSPEC void SDLCALL | GPU_SetTargetRGB (GPU_Target *target, Uint8 r, Uint8 g, Uint8 b) |
|
DECLSPEC void SDLCALL | GPU_SetTargetRGBA (GPU_Target *target, Uint8 r, Uint8 g, Uint8 b, Uint8 a) |
|
DECLSPEC void SDLCALL | GPU_UnsetTargetColor (GPU_Target *target) |
|
DECLSPEC void SDLCALL GPU_SetTargetColor |
( |
GPU_Target * |
target, |
|
|
SDL_Color |
color |
|
) |
| |
Sets the modulation color for subsequent drawing of images and shapes on the given target. This has a cumulative effect with the image coloring functions. e.g. GPU_SetRGB(image, 255, 128, 0); GPU_SetTargetRGB(target, 128, 128, 128); Would make the image draw with color of roughly (128, 64, 0).
Definition at line 1668 of file SDL_gpu.c.
DECLSPEC void SDLCALL GPU_SetTargetRGB |
( |
GPU_Target * |
target, |
|
|
Uint8 |
r, |
|
|
Uint8 |
g, |
|
|
Uint8 |
b |
|
) |
| |
Sets the modulation color for subsequent drawing of images and shapes on the given target. This has a cumulative effect with the image coloring functions. e.g. GPU_SetRGB(image, 255, 128, 0); GPU_SetTargetRGB(target, 128, 128, 128); Would make the image draw with color of roughly (128, 64, 0).
Definition at line 1677 of file SDL_gpu.c.
DECLSPEC void SDLCALL GPU_SetTargetRGBA |
( |
GPU_Target * |
target, |
|
|
Uint8 |
r, |
|
|
Uint8 |
g, |
|
|
Uint8 |
b, |
|
|
Uint8 |
a |
|
) |
| |
Sets the modulation color for subsequent drawing of images and shapes on the given target. This has a cumulative effect with the image coloring functions. e.g. GPU_SetRGB(image, 255, 128, 0); GPU_SetTargetRGB(target, 128, 128, 128); Would make the image draw with color of roughly (128, 64, 0).
Definition at line 1692 of file SDL_gpu.c.