SDL  2.0
SDL_Texture Struct Reference

#include <SDL_sysrender.h>

+ Collaboration diagram for SDL_Texture:

Data Fields

const voidmagic
Uint32 format
int access
int w
int h
int modMode
SDL_BlendMode blendMode
SDL_ScaleMode scaleMode
Uint8 r
Uint8 g
Uint8 b
Uint8 a
SDL_Rendererrenderer
SDL_Texturenative
SDL_SW_YUVTextureyuv
voidpixels
int pitch
SDL_Rect locked_rect
voiddriverdata
SDL_Textureprev
SDL_Texturenext

Detailed Description

Definition at line 57 of file SDL_sysrender.h.

Field Documentation

Uint8 SDL_Texture::a

Texture modulation values

Definition at line 67 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), SDL_GetTextureAlphaMod(), SDL_SetTextureAlphaMod(), SW_CreateTexture(), and SW_SetTextureAlphaMod().

SDL_BlendMode SDL_Texture::blendMode

The texture blend mode

Definition at line 65 of file SDL_sysrender.h.

Referenced by SDL_GetTextureBlendMode(), SDL_SetTextureBlendMode(), SW_CreateTexture(), and SW_SetTextureBlendMode().

SDL_Rect SDL_Texture::locked_rect

Definition at line 76 of file SDL_sysrender.h.

Referenced by SDL_LockTextureNative(), and SDL_UnlockTextureNative().

const void* SDL_Texture::magic

Definition at line 59 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SDL_DestroyTexture().

int SDL_Texture::modMode

The texture modulation mode

Definition at line 64 of file SDL_sysrender.h.

Referenced by SDL_SetTextureAlphaMod(), and SDL_SetTextureColorMod().

SDL_Texture* SDL_Texture::next

Definition at line 81 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SDL_DestroyTexture().

int SDL_Texture::pitch
void* SDL_Texture::pixels
SDL_Texture* SDL_Texture::prev

Definition at line 80 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SDL_DestroyTexture().

SDL_ScaleMode SDL_Texture::scaleMode

The texture scale mode

Definition at line 66 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SW_RenderCopyEx().


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