SDL  2.0
SDL_RenderCommand Struct Reference

#include <SDL_sysrender.h>

+ Collaboration diagram for SDL_RenderCommand:

Data Fields

SDL_RenderCommandType command
 
union {
   struct {
      size_t   first
 
      SDL_Rect   rect
 
   }   viewport
 
   struct {
      SDL_bool   enabled
 
      SDL_Rect   rect
 
   }   cliprect
 
   struct {
      size_t   first
 
      size_t   count
 
      Uint8   r
 
      Uint8   g
 
      Uint8   b
 
      Uint8   a
 
      SDL_BlendMode   blend
 
      SDL_Texture *   texture
 
   }   draw
 
   struct {
      size_t   first
 
      Uint8   r
 
      Uint8   g
 
      Uint8   b
 
      Uint8   a
 
   }   color
 
data
 
struct SDL_RenderCommandnext
 

Detailed Description

Definition at line 86 of file SDL_sysrender.h.

Field Documentation

◆ a

Uint8 SDL_RenderCommand::a

Definition at line 101 of file SDL_sysrender.h.

◆ b

Uint8 SDL_RenderCommand::b

Definition at line 101 of file SDL_sysrender.h.

◆ blend

SDL_BlendMode SDL_RenderCommand::blend

Definition at line 102 of file SDL_sysrender.h.

◆ cliprect

struct { ... } SDL_RenderCommand::cliprect

◆ color

struct { ... } SDL_RenderCommand::color

◆ command

◆ count

size_t SDL_RenderCommand::count

Definition at line 100 of file SDL_sysrender.h.

◆ data

◆ draw

◆ enabled

SDL_bool SDL_RenderCommand::enabled

Definition at line 95 of file SDL_sysrender.h.

◆ first

size_t SDL_RenderCommand::first

Definition at line 91 of file SDL_sysrender.h.

◆ g

Uint8 SDL_RenderCommand::g

Definition at line 101 of file SDL_sysrender.h.

◆ next

◆ r

Uint8 SDL_RenderCommand::r

Definition at line 101 of file SDL_sysrender.h.

◆ rect

SDL_Rect SDL_RenderCommand::rect

Definition at line 92 of file SDL_sysrender.h.

◆ texture

SDL_Texture* SDL_RenderCommand::texture

Definition at line 103 of file SDL_sysrender.h.

◆ viewport

struct { ... } SDL_RenderCommand::viewport

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