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
 
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 49 of file SDL_sysrender.h.

Field Documentation

◆ a

Uint8 SDL_Texture::a

Texture modulation values

Definition at line 58 of file SDL_sysrender.h.

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

◆ access

◆ b

◆ blendMode

SDL_BlendMode SDL_Texture::blendMode

The texture blend mode

Definition at line 57 of file SDL_sysrender.h.

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

◆ driverdata

◆ format

◆ g

◆ h

◆ locked_rect

SDL_Rect SDL_Texture::locked_rect

Definition at line 67 of file SDL_sysrender.h.

Referenced by SDL_LockTextureNative(), and SDL_UnlockTextureNative().

◆ magic

const void* SDL_Texture::magic

Definition at line 51 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SDL_DestroyTexture().

◆ modMode

int SDL_Texture::modMode

The texture modulation mode

Definition at line 56 of file SDL_sysrender.h.

Referenced by SDL_SetTextureAlphaMod(), and SDL_SetTextureColorMod().

◆ native

◆ next

SDL_Texture* SDL_Texture::next

Definition at line 72 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SDL_DestroyTexture().

◆ pitch

int SDL_Texture::pitch

◆ pixels

void* SDL_Texture::pixels

◆ prev

SDL_Texture* SDL_Texture::prev

Definition at line 71 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SDL_DestroyTexture().

◆ r

◆ renderer

◆ w

◆ yuv


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