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

◆ b

◆ blend

◆ 

struct { ... } SDL_RenderCommand::cliprect

◆ 

struct { ... } SDL_RenderCommand::color

◆ command

◆ count

◆ 

◆ 

◆ enabled

SDL_bool SDL_RenderCommand::enabled

Definition at line 95 of file SDL_sysrender.h.

Referenced by DebugLogRenderCommands(), QueueCmdSetClipRect(), and SW_RunCommandQueue().

◆ first

◆ g

◆ next

◆ r

◆ rect

SDL_Rect SDL_RenderCommand::rect

◆ texture

◆ 

struct { ... } SDL_RenderCommand::viewport

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