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.

◆ access

int SDL_Texture::access

SDL_TextureAccess

Definition at line 47 of file SDL_sysrender.h.

◆ b

Uint8 SDL_Texture::b

Definition at line 53 of file SDL_sysrender.h.

◆ blendMode

SDL_BlendMode SDL_Texture::blendMode

The texture blend mode

Definition at line 51 of file SDL_sysrender.h.

◆ driverdata

void* SDL_Texture::driverdata

Driver specific texture representation

Definition at line 66 of file SDL_sysrender.h.

◆ format

Uint32 SDL_Texture::format

◆ g

Uint8 SDL_Texture::g

Definition at line 53 of file SDL_sysrender.h.

◆ h

int SDL_Texture::h

The height of the texture

Definition at line 49 of file SDL_sysrender.h.

◆ last_command_generation

Uint32 SDL_Texture::last_command_generation

Definition at line 64 of file SDL_sysrender.h.

◆ locked_rect

SDL_Rect SDL_Texture::locked_rect

Definition at line 62 of file SDL_sysrender.h.

◆ magic

const void* SDL_Texture::magic

Definition at line 45 of file SDL_sysrender.h.

◆ modMode

int SDL_Texture::modMode

The texture modulation mode

Definition at line 50 of file SDL_sysrender.h.

◆ native

◆ next

SDL_Texture* SDL_Texture::next

Definition at line 69 of file SDL_sysrender.h.

Referenced by SDL_DestroyTexture().

◆ pitch

int SDL_Texture::pitch

Definition at line 61 of file SDL_sysrender.h.

◆ pixels

void* SDL_Texture::pixels

Definition at line 60 of file SDL_sysrender.h.

◆ prev

SDL_Texture* SDL_Texture::prev

Definition at line 68 of file SDL_sysrender.h.

Referenced by SDL_CreateTexture().

◆ r

Uint8 SDL_Texture::r

Definition at line 53 of file SDL_sysrender.h.

◆ renderer

SDL_Renderer* SDL_Texture::renderer

Definition at line 55 of file SDL_sysrender.h.

◆ scaleMode

SDL_ScaleMode SDL_Texture::scaleMode

The texture scale mode

Definition at line 52 of file SDL_sysrender.h.

◆ w

int SDL_Texture::w

The width of the texture

Definition at line 48 of file SDL_sysrender.h.

◆ yuv

SDL_SW_YUVTexture* SDL_Texture::yuv

Definition at line 59 of file SDL_sysrender.h.


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