sdl3-bindgen-sys
Safe HaskellNone
LanguageGHC2021

SDL3.Sys.Bindgen.Render

Description

Header file for SDL 2D rendering functions.

This API supports the following features:

  • single pixel points
  • single pixel lines
  • filled rectangles
  • texture images
  • 2D polygons

The primitives may be drawn in opaque, blended, or additive modes.

The texture images may be drawn in opaque, blended, or additive modes. They can have an additional color tint or alpha modulation applied to them, and may also be stretched with linear interpolation.

This API is designed to accelerate simple 2D operations. You may want more functionality such as 3D polygons and particle effects, and in that case you should use SDL's OpenGL/Direct3D support, the SDL3 GPU API, or one of the many good 3D engines.

These functions must be called from the main thread. See this bug for details: https://github.com/libsdl-org/SDL/issues/986 The name of the software renderer.

Since: 3.2.0

Synopsis

Documentation

sDL_SOFTWARE_RENDERER :: ByteString Source #

C declaration
macro SDL_SOFTWARE_RENDERER, literal "software", defined at SDL3/SDL_render.h 75:9

sDL_GPU_RENDERER :: ByteString Source #

The name of the GPU renderer.

C declaration
macro SDL_GPU_RENDERER, literal "gpu", defined at SDL3/SDL_render.h 82:9

Since: 3.4.0

data SDL_Vertex Source #

Vertex structure.

C declaration
struct SDL_Vertex, defined at SDL3/SDL_render.h 89:16

Since: 3.2.0

Constructors

SDL_Vertex 

Fields

  • position :: SDL_FPoint

    Vertex position, in SDL_Renderer coordinates

    C declaration
    position, defined at SDL3/SDL_render.h 91:16
  • color :: SDL_FColor

    Vertex color

    C declaration
    color, defined at SDL3/SDL_render.h 92:16
  • tex_coord :: SDL_FPoint

    Normalized texture coordinates, if needed

    C declaration
    tex_coord, defined at SDL3/SDL_render.h 93:16

Instances

Instances details
Storable SDL_Vertex Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Generic SDL_Vertex Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type Rep SDL_Vertex 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_Vertex = D1 ('MetaData "SDL_Vertex" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_Vertex" 'PrefixI 'True) (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_FPoint) :*: (S1 ('MetaSel ('Just "color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_FColor) :*: S1 ('MetaSel ('Just "tex_coord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_FPoint))))
Show SDL_Vertex Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Eq SDL_Vertex Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ReadRaw SDL_Vertex Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

StaticSize SDL_Vertex Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

WriteRaw SDL_Vertex Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

writeRaw :: Ptr SDL_Vertex -> SDL_Vertex -> IO () #

IsStruct SDL_Vertex Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

zero :: SDL_Vertex #

HasCField SDL_Vertex "color" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_Vertex "color" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_Vertex -> Proxy# "color" -> Int #

HasCField SDL_Vertex "position" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_Vertex "position" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Vertex "position" = SDL_FPoint

Methods

offset# :: Proxy# SDL_Vertex -> Proxy# "position" -> Int #

HasCField SDL_Vertex "tex_coord" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_Vertex "tex_coord" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Vertex "tex_coord" = SDL_FPoint

Methods

offset# :: Proxy# SDL_Vertex -> Proxy# "tex_coord" -> Int #

ty ~ SDL_FColor => HasField "color" SDL_Vertex ty Source #

Vertex color

C declaration
color, defined at SDL3/SDL_render.h 92:16
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

hasField :: SDL_Vertex -> (ty -> SDL_Vertex, ty) #

ty ~ SDL_FPoint => HasField "position" SDL_Vertex ty Source #

Vertex position, in SDL_Renderer coordinates

C declaration
position, defined at SDL3/SDL_render.h 91:16
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

hasField :: SDL_Vertex -> (ty -> SDL_Vertex, ty) #

ty ~ SDL_FPoint => HasField "tex_coord" SDL_Vertex ty Source #

Normalized texture coordinates, if needed

C declaration
tex_coord, defined at SDL3/SDL_render.h 93:16
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

hasField :: SDL_Vertex -> (ty -> SDL_Vertex, ty) #

ty ~ SDL_FColor => HasField "color" (Ptr SDL_Vertex) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

getField :: Ptr SDL_Vertex -> Ptr ty #

ty ~ SDL_FPoint => HasField "position" (Ptr SDL_Vertex) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

getField :: Ptr SDL_Vertex -> Ptr ty #

ty ~ SDL_FPoint => HasField "tex_coord" (Ptr SDL_Vertex) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

getField :: Ptr SDL_Vertex -> Ptr ty #

type Rep SDL_Vertex Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_Vertex = D1 ('MetaData "SDL_Vertex" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_Vertex" 'PrefixI 'True) (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_FPoint) :*: (S1 ('MetaSel ('Just "color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_FColor) :*: S1 ('MetaSel ('Just "tex_coord") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_FPoint))))
type CFieldType SDL_Vertex "color" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Vertex "position" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Vertex "position" = SDL_FPoint
type CFieldType SDL_Vertex "tex_coord" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Vertex "tex_coord" = SDL_FPoint

newtype SDL_TextureAccess Source #

The access pattern allowed for a texture.

C declaration
enum SDL_TextureAccess, defined at SDL3/SDL_render.h 101:14

Since: 3.2.0

Constructors

SDL_TextureAccess 

Fields

Instances

Instances details
Storable SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Generic SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type Rep SDL_TextureAccess 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_TextureAccess = D1 ('MetaData "SDL_TextureAccess" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_TextureAccess" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt)))
Read SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Show SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Eq SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Ord SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Prim SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

CEnum SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CEnumZ SDL_TextureAccess 
Instance details

Defined in SDL3.Sys.Bindgen.Render

SequentialCEnum SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

HasFFIType SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type FFIType SDL_TextureAccess 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ReadRaw SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

StaticSize SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

WriteRaw SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

HasCField SDL_TextureAccess "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_TextureAccess "unwrap" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_TextureAccess -> Proxy# "unwrap" -> Int #

ty ~ CUInt => HasField "unwrap" SDL_TextureAccess ty Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ CUInt => HasField "unwrap" (Ptr SDL_TextureAccess) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_TextureAccess = D1 ('MetaData "SDL_TextureAccess" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_TextureAccess" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt)))
type CEnumZ SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type FFIType SDL_TextureAccess Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_TextureAccess "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

pattern SDL_TEXTUREACCESS_STATIC :: SDL_TextureAccess Source #

Changes rarely, not lockable

C declaration
SDL_TEXTUREACCESS_STATIC, defined at SDL3/SDL_render.h 103:5

pattern SDL_TEXTUREACCESS_STREAMING :: SDL_TextureAccess Source #

Changes frequently, lockable

C declaration
SDL_TEXTUREACCESS_STREAMING, defined at SDL3/SDL_render.h 104:5

pattern SDL_TEXTUREACCESS_TARGET :: SDL_TextureAccess Source #

Texture can be used as a render target

C declaration
SDL_TEXTUREACCESS_TARGET, defined at SDL3/SDL_render.h 105:5

newtype SDL_TextureAddressMode Source #

The addressing mode for a texture when used in SDL_RenderGeometry().

This affects how texture coordinates are interpreted outside of [0, 1]

Texture wrapping is always supported for power of two texture sizes, and is supported for other texture sizes if SDL_PROP_RENDERER_TEXTURE_WRAPPING_BOOLEAN is set to true.

C declaration
enum SDL_TextureAddressMode, defined at SDL3/SDL_render.h 119:14

Since: 3.4.0

Constructors

SDL_TextureAddressMode 

Fields

Instances

Instances details
Storable SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Generic SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type Rep SDL_TextureAddressMode 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_TextureAddressMode = D1 ('MetaData "SDL_TextureAddressMode" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_TextureAddressMode" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CInt)))
Read SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Show SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Eq SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Ord SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Prim SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

CEnum SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CEnumZ SDL_TextureAddressMode 
Instance details

Defined in SDL3.Sys.Bindgen.Render

SequentialCEnum SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

HasFFIType SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type FFIType SDL_TextureAddressMode 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ReadRaw SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

StaticSize SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

WriteRaw SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

HasCField SDL_TextureAddressMode "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_TextureAddressMode "unwrap" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_TextureAddressMode -> Proxy# "unwrap" -> Int #

ty ~ CInt => HasField "unwrap" SDL_TextureAddressMode ty Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ CInt => HasField "unwrap" (Ptr SDL_TextureAddressMode) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_TextureAddressMode = D1 ('MetaData "SDL_TextureAddressMode" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_TextureAddressMode" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CInt)))
type CEnumZ SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type FFIType SDL_TextureAddressMode Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_TextureAddressMode "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

pattern SDL_TEXTURE_ADDRESS_INVALID :: SDL_TextureAddressMode Source #

C declaration
SDL_TEXTURE_ADDRESS_INVALID, defined at SDL3/SDL_render.h 121:5

pattern SDL_TEXTURE_ADDRESS_AUTO :: SDL_TextureAddressMode Source #

Wrapping is enabled if texture coordinates are outside [0, 1], this is the default

C declaration
SDL_TEXTURE_ADDRESS_AUTO, defined at SDL3/SDL_render.h 122:5

pattern SDL_TEXTURE_ADDRESS_CLAMP :: SDL_TextureAddressMode Source #

Texture coordinates are clamped to the [0, 1] range

C declaration
SDL_TEXTURE_ADDRESS_CLAMP, defined at SDL3/SDL_render.h 123:5

pattern SDL_TEXTURE_ADDRESS_WRAP :: SDL_TextureAddressMode Source #

The texture is repeated (tiled)

C declaration
SDL_TEXTURE_ADDRESS_WRAP, defined at SDL3/SDL_render.h 124:5

newtype SDL_RendererLogicalPresentation Source #

How the logical size is mapped to the output.

C declaration
enum SDL_RendererLogicalPresentation, defined at SDL3/SDL_render.h 132:14

Since: 3.2.0

Instances

Instances details
Storable SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Generic SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type Rep SDL_RendererLogicalPresentation 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_RendererLogicalPresentation = D1 ('MetaData "SDL_RendererLogicalPresentation" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_RendererLogicalPresentation" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt)))
Read SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Show SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Eq SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Ord SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Prim SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

CEnum SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

SequentialCEnum SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

HasFFIType SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ReadRaw SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

StaticSize SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

WriteRaw SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

HasCField SDL_RendererLogicalPresentation "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_RendererLogicalPresentation "unwrap" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ CUInt => HasField "unwrap" SDL_RendererLogicalPresentation ty Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ CUInt => HasField "unwrap" (Ptr SDL_RendererLogicalPresentation) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_RendererLogicalPresentation = D1 ('MetaData "SDL_RendererLogicalPresentation" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_RendererLogicalPresentation" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt)))
type CEnumZ SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type FFIType SDL_RendererLogicalPresentation Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_RendererLogicalPresentation "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

pattern SDL_LOGICAL_PRESENTATION_DISABLED :: SDL_RendererLogicalPresentation Source #

There is no logical size in effect

C declaration
SDL_LOGICAL_PRESENTATION_DISABLED, defined at SDL3/SDL_render.h 134:5

pattern SDL_LOGICAL_PRESENTATION_STRETCH :: SDL_RendererLogicalPresentation Source #

The rendered content is stretched to the output resolution

C declaration
SDL_LOGICAL_PRESENTATION_STRETCH, defined at SDL3/SDL_render.h 135:5

pattern SDL_LOGICAL_PRESENTATION_LETTERBOX :: SDL_RendererLogicalPresentation Source #

The rendered content is fit to the largest dimension and the other dimension is letterboxed with the clear color

C declaration
SDL_LOGICAL_PRESENTATION_LETTERBOX, defined at SDL3/SDL_render.h 136:5

pattern SDL_LOGICAL_PRESENTATION_OVERSCAN :: SDL_RendererLogicalPresentation Source #

The rendered content is fit to the smallest dimension and the other dimension extends beyond the output bounds

C declaration
SDL_LOGICAL_PRESENTATION_OVERSCAN, defined at SDL3/SDL_render.h 137:5

pattern SDL_LOGICAL_PRESENTATION_INTEGER_SCALE :: SDL_RendererLogicalPresentation Source #

The rendered content is scaled up by integer multiples to fit the output resolution

C declaration
SDL_LOGICAL_PRESENTATION_INTEGER_SCALE, defined at SDL3/SDL_render.h 138:5

data SDL_Renderer Source #

A structure representing rendering state

C declaration
struct SDL_Renderer, defined at SDL3/SDL_render.h 146:16

Since: 3.2.0

data SDL_Texture Source #

An efficient driver-specific representation of pixel data

See also
sDL_CreateTexture, sDL_CreateTextureFromSurface, sDL_CreateTextureWithProperties, sDL_DestroyTexture
C declaration
struct SDL_Texture, defined at SDL3/SDL_render.h 160:8

Since: 3.2.0

Constructors

SDL_Texture 

Fields

  • format :: SDL_PixelFormat

    The format of the texture, read-only

    C declaration
    format, defined at SDL3/SDL_render.h 162:21
  • w :: CInt

    The width of the texture, read-only.

    C declaration
    w, defined at SDL3/SDL_render.h 163:9
  • h :: CInt

    The height of the texture, read-only.

    C declaration
    h, defined at SDL3/SDL_render.h 164:9
  • refcount :: CInt

    Application reference count, used when freeing texture

    C declaration
    refcount, defined at SDL3/SDL_render.h 166:9

Instances

Instances details
Storable SDL_Texture Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Generic SDL_Texture Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type Rep SDL_Texture 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Show SDL_Texture Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Eq SDL_Texture Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ReadRaw SDL_Texture Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

StaticSize SDL_Texture Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

WriteRaw SDL_Texture Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

writeRaw :: Ptr SDL_Texture -> SDL_Texture -> IO () #

IsStruct SDL_Texture Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

zero :: SDL_Texture #

HasCField SDL_Texture "format" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_Texture "format" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_Texture -> Proxy# "format" -> Int #

HasCField SDL_Texture "h" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_Texture "h" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_Texture -> Proxy# "h" -> Int #

HasCField SDL_Texture "refcount" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_Texture "refcount" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Texture "refcount" = CInt

Methods

offset# :: Proxy# SDL_Texture -> Proxy# "refcount" -> Int #

HasCField SDL_Texture "w" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_Texture "w" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_Texture -> Proxy# "w" -> Int #

ty ~ SDL_PixelFormat => HasField "format" SDL_Texture ty Source #

The format of the texture, read-only

C declaration
format, defined at SDL3/SDL_render.h 162:21
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

hasField :: SDL_Texture -> (ty -> SDL_Texture, ty) #

ty ~ CInt => HasField "h" SDL_Texture ty Source #

The height of the texture, read-only.

C declaration
h, defined at SDL3/SDL_render.h 164:9
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

hasField :: SDL_Texture -> (ty -> SDL_Texture, ty) #

ty ~ CInt => HasField "refcount" SDL_Texture ty Source #

Application reference count, used when freeing texture

C declaration
refcount, defined at SDL3/SDL_render.h 166:9
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

hasField :: SDL_Texture -> (ty -> SDL_Texture, ty) #

ty ~ CInt => HasField "w" SDL_Texture ty Source #

The width of the texture, read-only.

C declaration
w, defined at SDL3/SDL_render.h 163:9
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

hasField :: SDL_Texture -> (ty -> SDL_Texture, ty) #

ty ~ SDL_PixelFormat => HasField "format" (Ptr SDL_Texture) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

getField :: Ptr SDL_Texture -> Ptr ty #

ty ~ CInt => HasField "h" (Ptr SDL_Texture) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

getField :: Ptr SDL_Texture -> Ptr ty #

ty ~ CInt => HasField "refcount" (Ptr SDL_Texture) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

getField :: Ptr SDL_Texture -> Ptr ty #

ty ~ CInt => HasField "w" (Ptr SDL_Texture) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

getField :: Ptr SDL_Texture -> Ptr ty #

type Rep SDL_Texture Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Texture "format" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Texture "h" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Texture "refcount" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_Texture "refcount" = CInt
type CFieldType SDL_Texture "w" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

sDL_PROP_RENDERER_CREATE_NAME_STRING :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_NAME_STRING, literal "SDL.renderer.create.name", defined at SDL3/SDL_render.h 339:9

sDL_PROP_RENDERER_CREATE_WINDOW_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_WINDOW_POINTER, literal "SDL.renderer.create.window", defined at SDL3/SDL_render.h 340:9

sDL_PROP_RENDERER_CREATE_SURFACE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_SURFACE_POINTER, literal "SDL.renderer.create.surface", defined at SDL3/SDL_render.h 341:9

sDL_PROP_RENDERER_CREATE_OUTPUT_COLORSPACE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_OUTPUT_COLORSPACE_NUMBER, literal "SDL.renderer.create.output_colorspace", defined at SDL3/SDL_render.h 342:9

sDL_PROP_RENDERER_CREATE_PRESENT_VSYNC_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_PRESENT_VSYNC_NUMBER, literal "SDL.renderer.create.present_vsync", defined at SDL3/SDL_render.h 343:9

sDL_PROP_RENDERER_CREATE_GPU_DEVICE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_GPU_DEVICE_POINTER, literal "SDL.renderer.create.gpu.device", defined at SDL3/SDL_render.h 344:9

sDL_PROP_RENDERER_CREATE_GPU_SHADERS_SPIRV_BOOLEAN :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_GPU_SHADERS_SPIRV_BOOLEAN, literal "SDL.renderer.create.gpu.shaders_spirv", defined at SDL3/SDL_render.h 345:9

sDL_PROP_RENDERER_CREATE_GPU_SHADERS_DXIL_BOOLEAN :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_GPU_SHADERS_DXIL_BOOLEAN, literal "SDL.renderer.create.gpu.shaders_dxil", defined at SDL3/SDL_render.h 346:9

sDL_PROP_RENDERER_CREATE_GPU_SHADERS_MSL_BOOLEAN :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_GPU_SHADERS_MSL_BOOLEAN, literal "SDL.renderer.create.gpu.shaders_msl", defined at SDL3/SDL_render.h 347:9

sDL_PROP_RENDERER_CREATE_VULKAN_INSTANCE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_VULKAN_INSTANCE_POINTER, literal "SDL.renderer.create.vulkan.instance", defined at SDL3/SDL_render.h 348:9

sDL_PROP_RENDERER_CREATE_VULKAN_SURFACE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_VULKAN_SURFACE_NUMBER, literal "SDL.renderer.create.vulkan.surface", defined at SDL3/SDL_render.h 349:9

sDL_PROP_RENDERER_CREATE_VULKAN_PHYSICAL_DEVICE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_VULKAN_PHYSICAL_DEVICE_POINTER, literal "SDL.renderer.create.vulkan.physical_device", defined at SDL3/SDL_render.h 350:9

sDL_PROP_RENDERER_CREATE_VULKAN_DEVICE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_VULKAN_DEVICE_POINTER, literal "SDL.renderer.create.vulkan.device", defined at SDL3/SDL_render.h 351:9

sDL_PROP_RENDERER_CREATE_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER, literal "SDL.renderer.create.vulkan.graphics_queue_family_index", defined at SDL3/SDL_render.h 352:9

sDL_PROP_RENDERER_CREATE_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_CREATE_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER, literal "SDL.renderer.create.vulkan.present_queue_family_index", defined at SDL3/SDL_render.h 353:9

sDL_PROP_RENDERER_NAME_STRING :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_NAME_STRING, literal "SDL.renderer.name", defined at SDL3/SDL_render.h 553:9

sDL_PROP_RENDERER_WINDOW_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_WINDOW_POINTER, literal "SDL.renderer.window", defined at SDL3/SDL_render.h 554:9

sDL_PROP_RENDERER_SURFACE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_SURFACE_POINTER, literal "SDL.renderer.surface", defined at SDL3/SDL_render.h 555:9

sDL_PROP_RENDERER_VSYNC_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_VSYNC_NUMBER, literal "SDL.renderer.vsync", defined at SDL3/SDL_render.h 556:9

sDL_PROP_RENDERER_MAX_TEXTURE_SIZE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_MAX_TEXTURE_SIZE_NUMBER, literal "SDL.renderer.max_texture_size", defined at SDL3/SDL_render.h 557:9

sDL_PROP_RENDERER_TEXTURE_FORMATS_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_TEXTURE_FORMATS_POINTER, literal "SDL.renderer.texture_formats", defined at SDL3/SDL_render.h 558:9

sDL_PROP_RENDERER_TEXTURE_WRAPPING_BOOLEAN :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_TEXTURE_WRAPPING_BOOLEAN, literal "SDL.renderer.texture_wrapping", defined at SDL3/SDL_render.h 559:9

sDL_PROP_RENDERER_OUTPUT_COLORSPACE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_OUTPUT_COLORSPACE_NUMBER, literal "SDL.renderer.output_colorspace", defined at SDL3/SDL_render.h 560:9

sDL_PROP_RENDERER_HDR_ENABLED_BOOLEAN :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_HDR_ENABLED_BOOLEAN, literal "SDL.renderer.HDR_enabled", defined at SDL3/SDL_render.h 561:9

sDL_PROP_RENDERER_SDR_WHITE_POINT_FLOAT :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_SDR_WHITE_POINT_FLOAT, literal "SDL.renderer.SDR_white_point", defined at SDL3/SDL_render.h 562:9

sDL_PROP_RENDERER_HDR_HEADROOM_FLOAT :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_HDR_HEADROOM_FLOAT, literal "SDL.renderer.HDR_headroom", defined at SDL3/SDL_render.h 563:9

sDL_PROP_RENDERER_D3D9_DEVICE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_D3D9_DEVICE_POINTER, literal "SDL.renderer.d3d9.device", defined at SDL3/SDL_render.h 564:9

sDL_PROP_RENDERER_D3D11_DEVICE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_D3D11_DEVICE_POINTER, literal "SDL.renderer.d3d11.device", defined at SDL3/SDL_render.h 565:9

sDL_PROP_RENDERER_D3D11_SWAPCHAIN_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_D3D11_SWAPCHAIN_POINTER, literal "SDL.renderer.d3d11.swap_chain", defined at SDL3/SDL_render.h 566:9

sDL_PROP_RENDERER_D3D12_DEVICE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_D3D12_DEVICE_POINTER, literal "SDL.renderer.d3d12.device", defined at SDL3/SDL_render.h 567:9

sDL_PROP_RENDERER_D3D12_SWAPCHAIN_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_D3D12_SWAPCHAIN_POINTER, literal "SDL.renderer.d3d12.swap_chain", defined at SDL3/SDL_render.h 568:9

sDL_PROP_RENDERER_D3D12_COMMAND_QUEUE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_D3D12_COMMAND_QUEUE_POINTER, literal "SDL.renderer.d3d12.command_queue", defined at SDL3/SDL_render.h 569:9

sDL_PROP_RENDERER_VULKAN_INSTANCE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_VULKAN_INSTANCE_POINTER, literal "SDL.renderer.vulkan.instance", defined at SDL3/SDL_render.h 570:9

sDL_PROP_RENDERER_VULKAN_SURFACE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_VULKAN_SURFACE_NUMBER, literal "SDL.renderer.vulkan.surface", defined at SDL3/SDL_render.h 571:9

sDL_PROP_RENDERER_VULKAN_PHYSICAL_DEVICE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_VULKAN_PHYSICAL_DEVICE_POINTER, literal "SDL.renderer.vulkan.physical_device", defined at SDL3/SDL_render.h 572:9

sDL_PROP_RENDERER_VULKAN_DEVICE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_VULKAN_DEVICE_POINTER, literal "SDL.renderer.vulkan.device", defined at SDL3/SDL_render.h 573:9

sDL_PROP_RENDERER_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER, literal "SDL.renderer.vulkan.graphics_queue_family_index", defined at SDL3/SDL_render.h 574:9

sDL_PROP_RENDERER_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER, literal "SDL.renderer.vulkan.present_queue_family_index", defined at SDL3/SDL_render.h 575:9

sDL_PROP_RENDERER_VULKAN_SWAPCHAIN_IMAGE_COUNT_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_VULKAN_SWAPCHAIN_IMAGE_COUNT_NUMBER, literal "SDL.renderer.vulkan.swapchain_image_count", defined at SDL3/SDL_render.h 576:9

sDL_PROP_RENDERER_GPU_DEVICE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_RENDERER_GPU_DEVICE_POINTER, literal "SDL.renderer.gpu.device", defined at SDL3/SDL_render.h 577:9

sDL_PROP_TEXTURE_CREATE_COLORSPACE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_COLORSPACE_NUMBER, literal "SDL.texture.create.colorspace", defined at SDL3/SDL_render.h 806:9

sDL_PROP_TEXTURE_CREATE_FORMAT_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_FORMAT_NUMBER, literal "SDL.texture.create.format", defined at SDL3/SDL_render.h 807:9

sDL_PROP_TEXTURE_CREATE_ACCESS_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_ACCESS_NUMBER, literal "SDL.texture.create.access", defined at SDL3/SDL_render.h 808:9

sDL_PROP_TEXTURE_CREATE_WIDTH_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_WIDTH_NUMBER, literal "SDL.texture.create.width", defined at SDL3/SDL_render.h 809:9

sDL_PROP_TEXTURE_CREATE_HEIGHT_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_HEIGHT_NUMBER, literal "SDL.texture.create.height", defined at SDL3/SDL_render.h 810:9

sDL_PROP_TEXTURE_CREATE_PALETTE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_PALETTE_POINTER, literal "SDL.texture.create.palette", defined at SDL3/SDL_render.h 811:9

sDL_PROP_TEXTURE_CREATE_SDR_WHITE_POINT_FLOAT :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_SDR_WHITE_POINT_FLOAT, literal "SDL.texture.create.SDR_white_point", defined at SDL3/SDL_render.h 812:9

sDL_PROP_TEXTURE_CREATE_HDR_HEADROOM_FLOAT :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_HDR_HEADROOM_FLOAT, literal "SDL.texture.create.HDR_headroom", defined at SDL3/SDL_render.h 813:9

sDL_PROP_TEXTURE_CREATE_D3D11_TEXTURE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_D3D11_TEXTURE_POINTER, literal "SDL.texture.create.d3d11.texture", defined at SDL3/SDL_render.h 814:9

sDL_PROP_TEXTURE_CREATE_D3D11_TEXTURE_U_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_D3D11_TEXTURE_U_POINTER, literal "SDL.texture.create.d3d11.texture_u", defined at SDL3/SDL_render.h 815:9

sDL_PROP_TEXTURE_CREATE_D3D11_TEXTURE_V_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_D3D11_TEXTURE_V_POINTER, literal "SDL.texture.create.d3d11.texture_v", defined at SDL3/SDL_render.h 816:9

sDL_PROP_TEXTURE_CREATE_D3D12_TEXTURE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_D3D12_TEXTURE_POINTER, literal "SDL.texture.create.d3d12.texture", defined at SDL3/SDL_render.h 817:9

sDL_PROP_TEXTURE_CREATE_D3D12_TEXTURE_U_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_D3D12_TEXTURE_U_POINTER, literal "SDL.texture.create.d3d12.texture_u", defined at SDL3/SDL_render.h 818:9

sDL_PROP_TEXTURE_CREATE_D3D12_TEXTURE_V_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_D3D12_TEXTURE_V_POINTER, literal "SDL.texture.create.d3d12.texture_v", defined at SDL3/SDL_render.h 819:9

sDL_PROP_TEXTURE_CREATE_METAL_PIXELBUFFER_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_METAL_PIXELBUFFER_POINTER, literal "SDL.texture.create.metal.pixelbuffer", defined at SDL3/SDL_render.h 820:9

sDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_NUMBER, literal "SDL.texture.create.opengl.texture", defined at SDL3/SDL_render.h 821:9

sDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_UV_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_UV_NUMBER, literal "SDL.texture.create.opengl.texture_uv", defined at SDL3/SDL_render.h 822:9

sDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_U_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_U_NUMBER, literal "SDL.texture.create.opengl.texture_u", defined at SDL3/SDL_render.h 823:9

sDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_V_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_V_NUMBER, literal "SDL.texture.create.opengl.texture_v", defined at SDL3/SDL_render.h 824:9

sDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_NUMBER, literal "SDL.texture.create.opengles2.texture", defined at SDL3/SDL_render.h 825:9

sDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_UV_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_UV_NUMBER, literal "SDL.texture.create.opengles2.texture_uv", defined at SDL3/SDL_render.h 826:9

sDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_U_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_U_NUMBER, literal "SDL.texture.create.opengles2.texture_u", defined at SDL3/SDL_render.h 827:9

sDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_V_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_V_NUMBER, literal "SDL.texture.create.opengles2.texture_v", defined at SDL3/SDL_render.h 828:9

sDL_PROP_TEXTURE_CREATE_VULKAN_TEXTURE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_VULKAN_TEXTURE_NUMBER, literal "SDL.texture.create.vulkan.texture", defined at SDL3/SDL_render.h 829:9

sDL_PROP_TEXTURE_CREATE_VULKAN_LAYOUT_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_VULKAN_LAYOUT_NUMBER, literal "SDL.texture.create.vulkan.layout", defined at SDL3/SDL_render.h 830:9

sDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_POINTER, literal "SDL.texture.create.gpu.texture", defined at SDL3/SDL_render.h 831:9

sDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_UV_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_UV_POINTER, literal "SDL.texture.create.gpu.texture_uv", defined at SDL3/SDL_render.h 832:9

sDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_U_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_U_POINTER, literal "SDL.texture.create.gpu.texture_u", defined at SDL3/SDL_render.h 833:9

sDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_V_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_V_POINTER, literal "SDL.texture.create.gpu.texture_v", defined at SDL3/SDL_render.h 834:9

sDL_PROP_TEXTURE_COLORSPACE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_COLORSPACE_NUMBER, literal "SDL.texture.colorspace", defined at SDL3/SDL_render.h 935:9

sDL_PROP_TEXTURE_FORMAT_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_FORMAT_NUMBER, literal "SDL.texture.format", defined at SDL3/SDL_render.h 936:9

sDL_PROP_TEXTURE_ACCESS_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_ACCESS_NUMBER, literal "SDL.texture.access", defined at SDL3/SDL_render.h 937:9

sDL_PROP_TEXTURE_WIDTH_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_WIDTH_NUMBER, literal "SDL.texture.width", defined at SDL3/SDL_render.h 938:9

sDL_PROP_TEXTURE_HEIGHT_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_HEIGHT_NUMBER, literal "SDL.texture.height", defined at SDL3/SDL_render.h 939:9

sDL_PROP_TEXTURE_SDR_WHITE_POINT_FLOAT :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_SDR_WHITE_POINT_FLOAT, literal "SDL.texture.SDR_white_point", defined at SDL3/SDL_render.h 940:9

sDL_PROP_TEXTURE_HDR_HEADROOM_FLOAT :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_HDR_HEADROOM_FLOAT, literal "SDL.texture.HDR_headroom", defined at SDL3/SDL_render.h 941:9

sDL_PROP_TEXTURE_D3D11_TEXTURE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_D3D11_TEXTURE_POINTER, literal "SDL.texture.d3d11.texture", defined at SDL3/SDL_render.h 942:9

sDL_PROP_TEXTURE_D3D11_TEXTURE_U_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_D3D11_TEXTURE_U_POINTER, literal "SDL.texture.d3d11.texture_u", defined at SDL3/SDL_render.h 943:9

sDL_PROP_TEXTURE_D3D11_TEXTURE_V_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_D3D11_TEXTURE_V_POINTER, literal "SDL.texture.d3d11.texture_v", defined at SDL3/SDL_render.h 944:9

sDL_PROP_TEXTURE_D3D12_TEXTURE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_D3D12_TEXTURE_POINTER, literal "SDL.texture.d3d12.texture", defined at SDL3/SDL_render.h 945:9

sDL_PROP_TEXTURE_D3D12_TEXTURE_U_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_D3D12_TEXTURE_U_POINTER, literal "SDL.texture.d3d12.texture_u", defined at SDL3/SDL_render.h 946:9

sDL_PROP_TEXTURE_D3D12_TEXTURE_V_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_D3D12_TEXTURE_V_POINTER, literal "SDL.texture.d3d12.texture_v", defined at SDL3/SDL_render.h 947:9

sDL_PROP_TEXTURE_OPENGL_TEXTURE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGL_TEXTURE_NUMBER, literal "SDL.texture.opengl.texture", defined at SDL3/SDL_render.h 948:9

sDL_PROP_TEXTURE_OPENGL_TEXTURE_UV_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGL_TEXTURE_UV_NUMBER, literal "SDL.texture.opengl.texture_uv", defined at SDL3/SDL_render.h 949:9

sDL_PROP_TEXTURE_OPENGL_TEXTURE_U_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGL_TEXTURE_U_NUMBER, literal "SDL.texture.opengl.texture_u", defined at SDL3/SDL_render.h 950:9

sDL_PROP_TEXTURE_OPENGL_TEXTURE_V_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGL_TEXTURE_V_NUMBER, literal "SDL.texture.opengl.texture_v", defined at SDL3/SDL_render.h 951:9

sDL_PROP_TEXTURE_OPENGL_TEXTURE_TARGET_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGL_TEXTURE_TARGET_NUMBER, literal "SDL.texture.opengl.target", defined at SDL3/SDL_render.h 952:9

sDL_PROP_TEXTURE_OPENGL_TEX_W_FLOAT :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGL_TEX_W_FLOAT, literal "SDL.texture.opengl.tex_w", defined at SDL3/SDL_render.h 953:9

sDL_PROP_TEXTURE_OPENGL_TEX_H_FLOAT :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGL_TEX_H_FLOAT, literal "SDL.texture.opengl.tex_h", defined at SDL3/SDL_render.h 954:9

sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGLES2_TEXTURE_NUMBER, literal "SDL.texture.opengles2.texture", defined at SDL3/SDL_render.h 955:9

sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_UV_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGLES2_TEXTURE_UV_NUMBER, literal "SDL.texture.opengles2.texture_uv", defined at SDL3/SDL_render.h 956:9

sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_U_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGLES2_TEXTURE_U_NUMBER, literal "SDL.texture.opengles2.texture_u", defined at SDL3/SDL_render.h 957:9

sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_V_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGLES2_TEXTURE_V_NUMBER, literal "SDL.texture.opengles2.texture_v", defined at SDL3/SDL_render.h 958:9

sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_TARGET_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_OPENGLES2_TEXTURE_TARGET_NUMBER, literal "SDL.texture.opengles2.target", defined at SDL3/SDL_render.h 959:9

sDL_PROP_TEXTURE_VULKAN_TEXTURE_NUMBER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_VULKAN_TEXTURE_NUMBER, literal "SDL.texture.vulkan.texture", defined at SDL3/SDL_render.h 960:9

sDL_PROP_TEXTURE_GPU_TEXTURE_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_GPU_TEXTURE_POINTER, literal "SDL.texture.gpu.texture", defined at SDL3/SDL_render.h 961:9

sDL_PROP_TEXTURE_GPU_TEXTURE_UV_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_GPU_TEXTURE_UV_POINTER, literal "SDL.texture.gpu.texture_uv", defined at SDL3/SDL_render.h 962:9

sDL_PROP_TEXTURE_GPU_TEXTURE_U_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_GPU_TEXTURE_U_POINTER, literal "SDL.texture.gpu.texture_u", defined at SDL3/SDL_render.h 963:9

sDL_PROP_TEXTURE_GPU_TEXTURE_V_POINTER :: ByteString Source #

C declaration
macro SDL_PROP_TEXTURE_GPU_TEXTURE_V_POINTER, literal "SDL.texture.gpu.texture_v", defined at SDL3/SDL_render.h 964:9

sDL_RENDERER_VSYNC_DISABLED :: CInt Source #

C declaration
macro SDL_RENDERER_VSYNC_DISABLED, defined at SDL3/SDL_render.h 2786:9

sDL_RENDERER_VSYNC_ADAPTIVE :: CInt Source #

C declaration
macro SDL_RENDERER_VSYNC_ADAPTIVE, defined at SDL3/SDL_render.h 2787:9

sDL_DEBUG_TEXT_FONT_CHARACTER_SIZE :: CInt Source #

The size, in pixels, of a single SDL_RenderDebugText() character.

The font is monospaced and square, so this applies to all characters.

See also
sDL_RenderDebugText
C declaration
macro SDL_DEBUG_TEXT_FONT_CHARACTER_SIZE, defined at SDL3/SDL_render.h 2815:9

Since: 3.2.0

data SDL_GPURenderStateCreateInfo Source #

A structure specifying the parameters of a GPU render state.

See also
sDL_CreateGPURenderState
C declaration
struct SDL_GPURenderStateCreateInfo, defined at SDL3/SDL_render.h 2929:16

Since: 3.4.0

Constructors

SDL_GPURenderStateCreateInfo 

Fields

  • fragment_shader :: Ptr SDL_GPUShader

    The fragment shader to use when this render state is active

    C declaration
    fragment_shader, defined at SDL3/SDL_render.h 2931:20
  • num_sampler_bindings :: Sint32

    The number of additional fragment samplers to bind when this render state is active

    C declaration
    num_sampler_bindings, defined at SDL3/SDL_render.h 2933:12
  • sampler_bindings :: PtrConst SDL_GPUTextureSamplerBinding

    Additional fragment samplers to bind when this render state is active

    C declaration
    sampler_bindings, defined at SDL3/SDL_render.h 2934:41
  • num_storage_textures :: Sint32

    The number of storage textures to bind when this render state is active

    C declaration
    num_storage_textures, defined at SDL3/SDL_render.h 2936:12
  • storage_textures :: PtrConst (Ptr SDL_GPUTexture)

    Storage textures to bind when this render state is active

    C declaration
    storage_textures, defined at SDL3/SDL_render.h 2937:28
  • num_storage_buffers :: Sint32

    The number of storage buffers to bind when this render state is active

    C declaration
    num_storage_buffers, defined at SDL3/SDL_render.h 2939:12
  • storage_buffers :: PtrConst (Ptr SDL_GPUBuffer)

    Storage buffers to bind when this render state is active

    C declaration
    storage_buffers, defined at SDL3/SDL_render.h 2940:27
  • props :: SDL_PropertiesID

    A properties ID for extensions. Should be 0 if no extensions are needed.

    C declaration
    props, defined at SDL3/SDL_render.h 2942:22

Instances

Instances details
Storable SDL_GPURenderStateCreateInfo Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Generic SDL_GPURenderStateCreateInfo Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Show SDL_GPURenderStateCreateInfo Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Eq SDL_GPURenderStateCreateInfo Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ReadRaw SDL_GPURenderStateCreateInfo Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

StaticSize SDL_GPURenderStateCreateInfo Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

WriteRaw SDL_GPURenderStateCreateInfo Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

IsStruct SDL_GPURenderStateCreateInfo Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

HasCField SDL_GPURenderStateCreateInfo "fragment_shader" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_GPURenderStateCreateInfo "fragment_shader" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_GPURenderStateCreateInfo -> Proxy# "fragment_shader" -> Int #

HasCField SDL_GPURenderStateCreateInfo "num_sampler_bindings" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_GPURenderStateCreateInfo "num_sampler_bindings" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "num_sampler_bindings" = Sint32

Methods

offset# :: Proxy# SDL_GPURenderStateCreateInfo -> Proxy# "num_sampler_bindings" -> Int #

HasCField SDL_GPURenderStateCreateInfo "num_storage_buffers" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_GPURenderStateCreateInfo "num_storage_buffers" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "num_storage_buffers" = Sint32

Methods

offset# :: Proxy# SDL_GPURenderStateCreateInfo -> Proxy# "num_storage_buffers" -> Int #

HasCField SDL_GPURenderStateCreateInfo "num_storage_textures" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_GPURenderStateCreateInfo "num_storage_textures" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "num_storage_textures" = Sint32

Methods

offset# :: Proxy# SDL_GPURenderStateCreateInfo -> Proxy# "num_storage_textures" -> Int #

HasCField SDL_GPURenderStateCreateInfo "props" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_GPURenderStateCreateInfo "props" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

HasCField SDL_GPURenderStateCreateInfo "sampler_bindings" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_GPURenderStateCreateInfo "sampler_bindings" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_GPURenderStateCreateInfo -> Proxy# "sampler_bindings" -> Int #

HasCField SDL_GPURenderStateCreateInfo "storage_buffers" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_GPURenderStateCreateInfo "storage_buffers" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_GPURenderStateCreateInfo -> Proxy# "storage_buffers" -> Int #

HasCField SDL_GPURenderStateCreateInfo "storage_textures" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Associated Types

type CFieldType SDL_GPURenderStateCreateInfo "storage_textures" 
Instance details

Defined in SDL3.Sys.Bindgen.Render

Methods

offset# :: Proxy# SDL_GPURenderStateCreateInfo -> Proxy# "storage_textures" -> Int #

ty ~ Ptr SDL_GPUShader => HasField "fragment_shader" SDL_GPURenderStateCreateInfo ty Source #

The fragment shader to use when this render state is active

C declaration
fragment_shader, defined at SDL3/SDL_render.h 2931:20
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ Sint32 => HasField "num_sampler_bindings" SDL_GPURenderStateCreateInfo ty Source #

The number of additional fragment samplers to bind when this render state is active

C declaration
num_sampler_bindings, defined at SDL3/SDL_render.h 2933:12
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ Sint32 => HasField "num_storage_buffers" SDL_GPURenderStateCreateInfo ty Source #

The number of storage buffers to bind when this render state is active

C declaration
num_storage_buffers, defined at SDL3/SDL_render.h 2939:12
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ Sint32 => HasField "num_storage_textures" SDL_GPURenderStateCreateInfo ty Source #

The number of storage textures to bind when this render state is active

C declaration
num_storage_textures, defined at SDL3/SDL_render.h 2936:12
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ SDL_PropertiesID => HasField "props" SDL_GPURenderStateCreateInfo ty Source #

A properties ID for extensions. Should be 0 if no extensions are needed.

C declaration
props, defined at SDL3/SDL_render.h 2942:22
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ PtrConst SDL_GPUTextureSamplerBinding => HasField "sampler_bindings" SDL_GPURenderStateCreateInfo ty Source #

Additional fragment samplers to bind when this render state is active

C declaration
sampler_bindings, defined at SDL3/SDL_render.h 2934:41
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ PtrConst (Ptr SDL_GPUBuffer) => HasField "storage_buffers" SDL_GPURenderStateCreateInfo ty Source #

Storage buffers to bind when this render state is active

C declaration
storage_buffers, defined at SDL3/SDL_render.h 2940:27
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ PtrConst (Ptr SDL_GPUTexture) => HasField "storage_textures" SDL_GPURenderStateCreateInfo ty Source #

Storage textures to bind when this render state is active

C declaration
storage_textures, defined at SDL3/SDL_render.h 2937:28
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ Ptr SDL_GPUShader => HasField "fragment_shader" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ Sint32 => HasField "num_sampler_bindings" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ Sint32 => HasField "num_storage_buffers" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ Sint32 => HasField "num_storage_textures" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ SDL_PropertiesID => HasField "props" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ PtrConst SDL_GPUTextureSamplerBinding => HasField "sampler_bindings" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ PtrConst (Ptr SDL_GPUBuffer) => HasField "storage_buffers" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

ty ~ PtrConst (Ptr SDL_GPUTexture) => HasField "storage_textures" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type Rep SDL_GPURenderStateCreateInfo Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "fragment_shader" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "num_sampler_bindings" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "num_sampler_bindings" = Sint32
type CFieldType SDL_GPURenderStateCreateInfo "num_storage_buffers" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "num_storage_buffers" = Sint32
type CFieldType SDL_GPURenderStateCreateInfo "num_storage_textures" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "num_storage_textures" = Sint32
type CFieldType SDL_GPURenderStateCreateInfo "props" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "sampler_bindings" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "storage_buffers" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

type CFieldType SDL_GPURenderStateCreateInfo "storage_textures" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Render

data SDL_GPURenderState Source #

A custom GPU render state.

See also
sDL_CreateGPURenderState, sDL_SetGPURenderStateFragmentUniforms, sDL_SetGPURenderState, sDL_DestroyGPURenderState
C declaration
struct SDL_GPURenderState, defined at SDL3/SDL_render.h 2955:16

Since: 3.4.0