#include <SDL_gpu.h>
Public Attributes | |
struct GPU_Renderer * | renderer |
GPU_Target * | target |
Uint16 | w |
Uint16 | h |
GPU_FormatEnum | format |
int | num_layers |
int | bytes_per_pixel |
Uint32 | texture_w |
Uint32 | texture_h |
Uint8 | has_mipmaps |
SDL_Color | color |
Uint8 | use_blending |
GPU_BlendMode | blend_mode |
GPU_FilterEnum | filter_mode |
GPU_SnapEnum | snap_mode |
GPU_WrapEnum | wrap_mode_x |
GPU_WrapEnum | wrap_mode_y |
void * | data |
int | refcount |
Uint8 | is_alias |
Image object for containing pixel/texture data. A GPU_Image can be created with GPU_CreateImage(), GPU_LoadImage(), GPU_CopyImage(), or GPU_CopyImageFromSurface(). Free the memory with GPU_FreeImage() when you're done.
GPU_BlendMode GPU_Image::blend_mode |
Definition at line 187 of file SDL_gpu.h.
Referenced by CopyImage(), CreateUninitializedImage(), GPU_SetBlendEquation(), GPU_SetBlendFunction(), and prepareToRenderImage().
int GPU_Image::bytes_per_pixel |
Definition at line 181 of file SDL_gpu.h.
Referenced by CreateImage(), CreateUninitializedImage(), getRawImageData(), getRawTargetData(), SaveImage(), and UpdateImageBytes().
SDL_Color GPU_Image::color |
Definition at line 185 of file SDL_gpu.h.
Referenced by Blit(), BlitTransformX(), CopyImage(), CreateUninitializedImage(), GPU_SetColor(), GPU_SetRGB(), GPU_SetRGBA(), and prepareToRenderImage().
void* GPU_Image::data |
Definition at line 193 of file SDL_gpu.h.
Referenced by bindTexture(), CopyImage(), CopySurfaceFromImage(), CreateAliasImage(), CreateImage(), CreateUninitializedImage(), FreeImage(), getRawImageData(), LoadTarget(), readImagePixels(), SetShaderImage(), UpdateImageBytes(), and UpdateSubImage().
GPU_FilterEnum GPU_Image::filter_mode |
Definition at line 188 of file SDL_gpu.h.
Referenced by CopyImage(), CreateUninitializedImage(), and SetImageFilter().
GPU_FormatEnum GPU_Image::format |
Definition at line 179 of file SDL_gpu.h.
Referenced by CopyImage(), CreateUninitializedImage(), and getRawImageData().
Uint16 GPU_Image::h |
Definition at line 178 of file SDL_gpu.h.
Referenced by Blit(), BlitRotate(), BlitScale(), BlitTransform(), BlitTransformX(), changeViewport(), CopyImage(), CopySurfaceFromImage(), CreateImage(), CreateUninitializedImage(), getRawImageData(), GPU_BlitBatch(), GPU_BlitBatchSeparate(), GPU_GetVirtualCoords(), LoadTarget(), SaveImage(), UnsetVirtualResolution(), UpdateImageBytes(), and UpdateSubImage().
Uint8 GPU_Image::has_mipmaps |
Definition at line 183 of file SDL_gpu.h.
Referenced by CopyImage(), CreateUninitializedImage(), GenerateMipmaps(), and SetImageFilter().
Uint8 GPU_Image::is_alias |
Definition at line 195 of file SDL_gpu.h.
Referenced by CreateAliasImage(), and CreateUninitializedImage().
int GPU_Image::num_layers |
Definition at line 180 of file SDL_gpu.h.
Referenced by CreateUninitializedImage().
int GPU_Image::refcount |
Definition at line 194 of file SDL_gpu.h.
Referenced by CreateAliasImage(), CreateAliasTarget(), CreateUninitializedImage(), and FreeImage().
struct GPU_Renderer* GPU_Image::renderer |
Definition at line 176 of file SDL_gpu.h.
Referenced by Blit(), BlitBatch(), BlitTransformMatrix(), BlitTransformX(), CreateUninitializedImage(), SetImageFilter(), SetWrapMode(), and TriangleBatch().
GPU_SnapEnum GPU_Image::snap_mode |
Definition at line 189 of file SDL_gpu.h.
Referenced by Blit(), BlitTransformX(), CopyImage(), CreateUninitializedImage(), GPU_GetSnapMode(), and GPU_SetSnapMode().
GPU_Target* GPU_Image::target |
Definition at line 177 of file SDL_gpu.h.
Referenced by CreateUninitializedImage(), FreeImage(), FreeTarget(), GenerateMipmaps(), getRawImageData(), LoadTarget(), readImagePixels(), UpdateImageBytes(), and UpdateSubImage().
Uint32 GPU_Image::texture_h |
Definition at line 182 of file SDL_gpu.h.
Referenced by Blit(), BlitTransformX(), CopyImage(), CreateImage(), CreateUninitializedImage(), GPU_BlitBatch(), GPU_BlitBatchSeparate(), and GPU_TriangleBatch().
Uint32 GPU_Image::texture_w |
Definition at line 182 of file SDL_gpu.h.
Referenced by Blit(), BlitTransformX(), CopyImage(), CreateImage(), CreateUninitializedImage(), GPU_BlitBatch(), GPU_BlitBatchSeparate(), and GPU_TriangleBatch().
Uint8 GPU_Image::use_blending |
Definition at line 186 of file SDL_gpu.h.
Referenced by CopyImage(), CreateUninitializedImage(), GPU_GetBlending(), GPU_SetBlending(), and prepareToRenderImage().
Uint16 GPU_Image::w |
Definition at line 178 of file SDL_gpu.h.
Referenced by Blit(), BlitRotate(), BlitScale(), BlitTransform(), BlitTransformX(), CopyImage(), CopySurfaceFromImage(), CreateImage(), CreateUninitializedImage(), getRawImageData(), GPU_BlitBatch(), GPU_BlitBatchSeparate(), GPU_GetVirtualCoords(), LoadTarget(), SaveImage(), UnsetVirtualResolution(), UpdateImageBytes(), and UpdateSubImage().
GPU_WrapEnum GPU_Image::wrap_mode_x |
Definition at line 190 of file SDL_gpu.h.
Referenced by CopyImage(), CreateUninitializedImage(), and SetWrapMode().
GPU_WrapEnum GPU_Image::wrap_mode_y |
Definition at line 191 of file SDL_gpu.h.
Referenced by CopyImage(), CreateUninitializedImage(), and SetWrapMode().