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
 
Uint32 last_command_generation
 
voiddriverdata
 
SDL_Textureprev
 
SDL_Texturenext
 

Detailed Description

Definition at line 43 of file SDL_sysrender.h.

Field Documentation

◆ a

Uint8 SDL_Texture::a

Texture modulation values

Definition at line 53 of file SDL_sysrender.h.

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

◆ access

◆ b

◆ blendMode

SDL_BlendMode SDL_Texture::blendMode

The texture blend mode

Definition at line 51 of file SDL_sysrender.h.

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

◆ driverdata

void* SDL_Texture::driverdata

◆ format

◆ g

◆ h

◆ last_command_generation

Uint32 SDL_Texture::last_command_generation

◆ locked_rect

SDL_Rect SDL_Texture::locked_rect

Definition at line 62 of file SDL_sysrender.h.

Referenced by SDL_LockTextureNative(), and SDL_UnlockTextureNative().

◆ magic

const void* SDL_Texture::magic

Definition at line 45 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SDL_DestroyTexture().

◆ modMode

int SDL_Texture::modMode

The texture modulation mode

Definition at line 50 of file SDL_sysrender.h.

Referenced by SDL_SetTextureAlphaMod(), and SDL_SetTextureColorMod().

◆ native

◆ next

SDL_Texture* SDL_Texture::next

Definition at line 69 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 68 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SDL_DestroyTexture().

◆ r

◆ renderer

◆ scaleMode

SDL_ScaleMode SDL_Texture::scaleMode

The texture scale mode

Definition at line 52 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture(), and SW_RenderCopyEx().

◆ w

◆ yuv


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