| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
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
- sDL_SOFTWARE_RENDERER :: ByteString
- sDL_GPU_RENDERER :: ByteString
- data SDL_Vertex = SDL_Vertex {}
- newtype SDL_TextureAccess = SDL_TextureAccess {}
- pattern SDL_TEXTUREACCESS_STATIC :: SDL_TextureAccess
- pattern SDL_TEXTUREACCESS_STREAMING :: SDL_TextureAccess
- pattern SDL_TEXTUREACCESS_TARGET :: SDL_TextureAccess
- newtype SDL_TextureAddressMode = SDL_TextureAddressMode {}
- pattern SDL_TEXTURE_ADDRESS_INVALID :: SDL_TextureAddressMode
- pattern SDL_TEXTURE_ADDRESS_AUTO :: SDL_TextureAddressMode
- pattern SDL_TEXTURE_ADDRESS_CLAMP :: SDL_TextureAddressMode
- pattern SDL_TEXTURE_ADDRESS_WRAP :: SDL_TextureAddressMode
- newtype SDL_RendererLogicalPresentation = SDL_RendererLogicalPresentation {}
- pattern SDL_LOGICAL_PRESENTATION_DISABLED :: SDL_RendererLogicalPresentation
- pattern SDL_LOGICAL_PRESENTATION_STRETCH :: SDL_RendererLogicalPresentation
- pattern SDL_LOGICAL_PRESENTATION_LETTERBOX :: SDL_RendererLogicalPresentation
- pattern SDL_LOGICAL_PRESENTATION_OVERSCAN :: SDL_RendererLogicalPresentation
- pattern SDL_LOGICAL_PRESENTATION_INTEGER_SCALE :: SDL_RendererLogicalPresentation
- data SDL_Renderer
- data SDL_Texture = SDL_Texture {}
- sDL_PROP_RENDERER_CREATE_NAME_STRING :: ByteString
- sDL_PROP_RENDERER_CREATE_WINDOW_POINTER :: ByteString
- sDL_PROP_RENDERER_CREATE_SURFACE_POINTER :: ByteString
- sDL_PROP_RENDERER_CREATE_OUTPUT_COLORSPACE_NUMBER :: ByteString
- sDL_PROP_RENDERER_CREATE_PRESENT_VSYNC_NUMBER :: ByteString
- sDL_PROP_RENDERER_CREATE_GPU_DEVICE_POINTER :: ByteString
- sDL_PROP_RENDERER_CREATE_GPU_SHADERS_SPIRV_BOOLEAN :: ByteString
- sDL_PROP_RENDERER_CREATE_GPU_SHADERS_DXIL_BOOLEAN :: ByteString
- sDL_PROP_RENDERER_CREATE_GPU_SHADERS_MSL_BOOLEAN :: ByteString
- sDL_PROP_RENDERER_CREATE_VULKAN_INSTANCE_POINTER :: ByteString
- sDL_PROP_RENDERER_CREATE_VULKAN_SURFACE_NUMBER :: ByteString
- sDL_PROP_RENDERER_CREATE_VULKAN_PHYSICAL_DEVICE_POINTER :: ByteString
- sDL_PROP_RENDERER_CREATE_VULKAN_DEVICE_POINTER :: ByteString
- sDL_PROP_RENDERER_CREATE_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER :: ByteString
- sDL_PROP_RENDERER_CREATE_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER :: ByteString
- sDL_PROP_RENDERER_NAME_STRING :: ByteString
- sDL_PROP_RENDERER_WINDOW_POINTER :: ByteString
- sDL_PROP_RENDERER_SURFACE_POINTER :: ByteString
- sDL_PROP_RENDERER_VSYNC_NUMBER :: ByteString
- sDL_PROP_RENDERER_MAX_TEXTURE_SIZE_NUMBER :: ByteString
- sDL_PROP_RENDERER_TEXTURE_FORMATS_POINTER :: ByteString
- sDL_PROP_RENDERER_TEXTURE_WRAPPING_BOOLEAN :: ByteString
- sDL_PROP_RENDERER_OUTPUT_COLORSPACE_NUMBER :: ByteString
- sDL_PROP_RENDERER_HDR_ENABLED_BOOLEAN :: ByteString
- sDL_PROP_RENDERER_SDR_WHITE_POINT_FLOAT :: ByteString
- sDL_PROP_RENDERER_HDR_HEADROOM_FLOAT :: ByteString
- sDL_PROP_RENDERER_D3D9_DEVICE_POINTER :: ByteString
- sDL_PROP_RENDERER_D3D11_DEVICE_POINTER :: ByteString
- sDL_PROP_RENDERER_D3D11_SWAPCHAIN_POINTER :: ByteString
- sDL_PROP_RENDERER_D3D12_DEVICE_POINTER :: ByteString
- sDL_PROP_RENDERER_D3D12_SWAPCHAIN_POINTER :: ByteString
- sDL_PROP_RENDERER_D3D12_COMMAND_QUEUE_POINTER :: ByteString
- sDL_PROP_RENDERER_VULKAN_INSTANCE_POINTER :: ByteString
- sDL_PROP_RENDERER_VULKAN_SURFACE_NUMBER :: ByteString
- sDL_PROP_RENDERER_VULKAN_PHYSICAL_DEVICE_POINTER :: ByteString
- sDL_PROP_RENDERER_VULKAN_DEVICE_POINTER :: ByteString
- sDL_PROP_RENDERER_VULKAN_GRAPHICS_QUEUE_FAMILY_INDEX_NUMBER :: ByteString
- sDL_PROP_RENDERER_VULKAN_PRESENT_QUEUE_FAMILY_INDEX_NUMBER :: ByteString
- sDL_PROP_RENDERER_VULKAN_SWAPCHAIN_IMAGE_COUNT_NUMBER :: ByteString
- sDL_PROP_RENDERER_GPU_DEVICE_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_COLORSPACE_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_FORMAT_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_ACCESS_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_WIDTH_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_HEIGHT_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_PALETTE_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_SDR_WHITE_POINT_FLOAT :: ByteString
- sDL_PROP_TEXTURE_CREATE_HDR_HEADROOM_FLOAT :: ByteString
- sDL_PROP_TEXTURE_CREATE_D3D11_TEXTURE_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_D3D11_TEXTURE_U_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_D3D11_TEXTURE_V_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_D3D12_TEXTURE_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_D3D12_TEXTURE_U_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_D3D12_TEXTURE_V_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_METAL_PIXELBUFFER_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_UV_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_U_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_OPENGL_TEXTURE_V_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_UV_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_U_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_OPENGLES2_TEXTURE_V_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_VULKAN_TEXTURE_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_VULKAN_LAYOUT_NUMBER :: ByteString
- sDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_UV_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_U_POINTER :: ByteString
- sDL_PROP_TEXTURE_CREATE_GPU_TEXTURE_V_POINTER :: ByteString
- sDL_PROP_TEXTURE_COLORSPACE_NUMBER :: ByteString
- sDL_PROP_TEXTURE_FORMAT_NUMBER :: ByteString
- sDL_PROP_TEXTURE_ACCESS_NUMBER :: ByteString
- sDL_PROP_TEXTURE_WIDTH_NUMBER :: ByteString
- sDL_PROP_TEXTURE_HEIGHT_NUMBER :: ByteString
- sDL_PROP_TEXTURE_SDR_WHITE_POINT_FLOAT :: ByteString
- sDL_PROP_TEXTURE_HDR_HEADROOM_FLOAT :: ByteString
- sDL_PROP_TEXTURE_D3D11_TEXTURE_POINTER :: ByteString
- sDL_PROP_TEXTURE_D3D11_TEXTURE_U_POINTER :: ByteString
- sDL_PROP_TEXTURE_D3D11_TEXTURE_V_POINTER :: ByteString
- sDL_PROP_TEXTURE_D3D12_TEXTURE_POINTER :: ByteString
- sDL_PROP_TEXTURE_D3D12_TEXTURE_U_POINTER :: ByteString
- sDL_PROP_TEXTURE_D3D12_TEXTURE_V_POINTER :: ByteString
- sDL_PROP_TEXTURE_OPENGL_TEXTURE_NUMBER :: ByteString
- sDL_PROP_TEXTURE_OPENGL_TEXTURE_UV_NUMBER :: ByteString
- sDL_PROP_TEXTURE_OPENGL_TEXTURE_U_NUMBER :: ByteString
- sDL_PROP_TEXTURE_OPENGL_TEXTURE_V_NUMBER :: ByteString
- sDL_PROP_TEXTURE_OPENGL_TEXTURE_TARGET_NUMBER :: ByteString
- sDL_PROP_TEXTURE_OPENGL_TEX_W_FLOAT :: ByteString
- sDL_PROP_TEXTURE_OPENGL_TEX_H_FLOAT :: ByteString
- sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_NUMBER :: ByteString
- sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_UV_NUMBER :: ByteString
- sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_U_NUMBER :: ByteString
- sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_V_NUMBER :: ByteString
- sDL_PROP_TEXTURE_OPENGLES2_TEXTURE_TARGET_NUMBER :: ByteString
- sDL_PROP_TEXTURE_VULKAN_TEXTURE_NUMBER :: ByteString
- sDL_PROP_TEXTURE_GPU_TEXTURE_POINTER :: ByteString
- sDL_PROP_TEXTURE_GPU_TEXTURE_UV_POINTER :: ByteString
- sDL_PROP_TEXTURE_GPU_TEXTURE_U_POINTER :: ByteString
- sDL_PROP_TEXTURE_GPU_TEXTURE_V_POINTER :: ByteString
- sDL_RENDERER_VSYNC_DISABLED :: CInt
- sDL_RENDERER_VSYNC_ADAPTIVE :: CInt
- sDL_DEBUG_TEXT_FONT_CHARACTER_SIZE :: CInt
- data SDL_GPURenderStateCreateInfo = SDL_GPURenderStateCreateInfo {
- fragment_shader :: Ptr SDL_GPUShader
- num_sampler_bindings :: Sint32
- sampler_bindings :: PtrConst SDL_GPUTextureSamplerBinding
- num_storage_textures :: Sint32
- storage_textures :: PtrConst (Ptr SDL_GPUTexture)
- num_storage_buffers :: Sint32
- storage_buffers :: PtrConst (Ptr SDL_GPUBuffer)
- props :: SDL_PropertiesID
- data SDL_GPURenderState
Documentation
sDL_SOFTWARE_RENDERER :: ByteString Source #
- C declaration
macro SDL_SOFTWARE_RENDERER, literal"software", defined atSDL3/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 atSDL3/SDL_render.h 82:9
Since: 3.4.0
data SDL_Vertex Source #
Vertex structure.
- C declaration
struct SDL_Vertex, defined atSDL3/SDL_render.h 89:16
Since: 3.2.0
Constructors
| SDL_Vertex | |
Fields
| |
Instances
newtype SDL_TextureAccess Source #
The access pattern allowed for a texture.
- C declaration
enum SDL_TextureAccess, defined atSDL3/SDL_render.h 101:14
Since: 3.2.0
Constructors
| SDL_TextureAccess | |
Instances
| Storable SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods sizeOf :: SDL_TextureAccess -> Int # alignment :: SDL_TextureAccess -> Int # peekElemOff :: Ptr SDL_TextureAccess -> Int -> IO SDL_TextureAccess # pokeElemOff :: Ptr SDL_TextureAccess -> Int -> SDL_TextureAccess -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_TextureAccess # pokeByteOff :: Ptr b -> Int -> SDL_TextureAccess -> IO () # peek :: Ptr SDL_TextureAccess -> IO SDL_TextureAccess # poke :: Ptr SDL_TextureAccess -> SDL_TextureAccess -> IO () # | |||||
| Generic SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
Methods from :: SDL_TextureAccess -> Rep SDL_TextureAccess x # to :: Rep SDL_TextureAccess x -> SDL_TextureAccess # | |||||
| Read SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods readsPrec :: Int -> ReadS SDL_TextureAccess # readList :: ReadS [SDL_TextureAccess] # | |||||
| Show SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods showsPrec :: Int -> SDL_TextureAccess -> ShowS # show :: SDL_TextureAccess -> String # showList :: [SDL_TextureAccess] -> ShowS # | |||||
| Eq SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods (==) :: SDL_TextureAccess -> SDL_TextureAccess -> Bool # (/=) :: SDL_TextureAccess -> SDL_TextureAccess -> Bool # | |||||
| Ord SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods compare :: SDL_TextureAccess -> SDL_TextureAccess -> Ordering # (<) :: SDL_TextureAccess -> SDL_TextureAccess -> Bool # (<=) :: SDL_TextureAccess -> SDL_TextureAccess -> Bool # (>) :: SDL_TextureAccess -> SDL_TextureAccess -> Bool # (>=) :: SDL_TextureAccess -> SDL_TextureAccess -> Bool # max :: SDL_TextureAccess -> SDL_TextureAccess -> SDL_TextureAccess # min :: SDL_TextureAccess -> SDL_TextureAccess -> SDL_TextureAccess # | |||||
| Prim SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods sizeOfType# :: Proxy SDL_TextureAccess -> Int# # sizeOf# :: SDL_TextureAccess -> Int# # alignmentOfType# :: Proxy SDL_TextureAccess -> Int# # alignment# :: SDL_TextureAccess -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_TextureAccess # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_TextureAccess #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_TextureAccess -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_TextureAccess -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_TextureAccess # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_TextureAccess #) # writeOffAddr# :: Addr# -> Int# -> SDL_TextureAccess -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_TextureAccess -> State# s -> State# s # | |||||
| CEnum SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
Methods toCEnum :: CEnumZ SDL_TextureAccess -> SDL_TextureAccess # fromCEnum :: SDL_TextureAccess -> CEnumZ SDL_TextureAccess # declaredValues :: proxy SDL_TextureAccess -> DeclaredValues SDL_TextureAccess # showsUndeclared :: proxy SDL_TextureAccess -> Int -> CEnumZ SDL_TextureAccess -> ShowS # readPrecUndeclared :: ReadPrec SDL_TextureAccess # isDeclared :: SDL_TextureAccess -> Bool # mkDeclared :: CEnumZ SDL_TextureAccess -> Maybe SDL_TextureAccess # | |||||
| SequentialCEnum SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| HasFFIType SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
Methods toFFIType :: SDL_TextureAccess -> FFIType SDL_TextureAccess # fromFFIType :: FFIType SDL_TextureAccess -> SDL_TextureAccess # | |||||
| ReadRaw SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods | |||||
| StaticSize SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods staticSizeOf :: Proxy SDL_TextureAccess -> Int # | |||||
| WriteRaw SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods writeRaw :: Ptr SDL_TextureAccess -> SDL_TextureAccess -> IO () # | |||||
| HasCField SDL_TextureAccess "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_TextureAccess ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_TextureAccess -> (ty -> SDL_TextureAccess, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_TextureAccess) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_TextureAccess -> Ptr ty # | |||||
| type Rep SDL_TextureAccess Source # | |||||
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 # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type FFIType SDL_TextureAccess Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_TextureAccess "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
pattern SDL_TEXTUREACCESS_STATIC :: SDL_TextureAccess Source #
Changes rarely, not lockable
- C declaration
SDL_TEXTUREACCESS_STATIC, defined atSDL3/SDL_render.h 103:5
pattern SDL_TEXTUREACCESS_STREAMING :: SDL_TextureAccess Source #
Changes frequently, lockable
- C declaration
SDL_TEXTUREACCESS_STREAMING, defined atSDL3/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 atSDL3/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 atSDL3/SDL_render.h 119:14
Since: 3.4.0
Constructors
| SDL_TextureAddressMode | |
Instances
| Storable SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods sizeOf :: SDL_TextureAddressMode -> Int # alignment :: SDL_TextureAddressMode -> Int # peekElemOff :: Ptr SDL_TextureAddressMode -> Int -> IO SDL_TextureAddressMode # pokeElemOff :: Ptr SDL_TextureAddressMode -> Int -> SDL_TextureAddressMode -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_TextureAddressMode # pokeByteOff :: Ptr b -> Int -> SDL_TextureAddressMode -> IO () # peek :: Ptr SDL_TextureAddressMode -> IO SDL_TextureAddressMode # poke :: Ptr SDL_TextureAddressMode -> SDL_TextureAddressMode -> IO () # | |||||
| Generic SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
Methods from :: SDL_TextureAddressMode -> Rep SDL_TextureAddressMode x # to :: Rep SDL_TextureAddressMode x -> SDL_TextureAddressMode # | |||||
| Read SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| Show SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods showsPrec :: Int -> SDL_TextureAddressMode -> ShowS # show :: SDL_TextureAddressMode -> String # showList :: [SDL_TextureAddressMode] -> ShowS # | |||||
| Eq SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods (==) :: SDL_TextureAddressMode -> SDL_TextureAddressMode -> Bool # (/=) :: SDL_TextureAddressMode -> SDL_TextureAddressMode -> Bool # | |||||
| Ord SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods compare :: SDL_TextureAddressMode -> SDL_TextureAddressMode -> Ordering # (<) :: SDL_TextureAddressMode -> SDL_TextureAddressMode -> Bool # (<=) :: SDL_TextureAddressMode -> SDL_TextureAddressMode -> Bool # (>) :: SDL_TextureAddressMode -> SDL_TextureAddressMode -> Bool # (>=) :: SDL_TextureAddressMode -> SDL_TextureAddressMode -> Bool # max :: SDL_TextureAddressMode -> SDL_TextureAddressMode -> SDL_TextureAddressMode # min :: SDL_TextureAddressMode -> SDL_TextureAddressMode -> SDL_TextureAddressMode # | |||||
| Prim SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods sizeOfType# :: Proxy SDL_TextureAddressMode -> Int# # sizeOf# :: SDL_TextureAddressMode -> Int# # alignmentOfType# :: Proxy SDL_TextureAddressMode -> Int# # alignment# :: SDL_TextureAddressMode -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_TextureAddressMode # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_TextureAddressMode #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_TextureAddressMode -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_TextureAddressMode -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_TextureAddressMode # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_TextureAddressMode #) # writeOffAddr# :: Addr# -> Int# -> SDL_TextureAddressMode -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_TextureAddressMode -> State# s -> State# s # | |||||
| CEnum SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
Methods toCEnum :: CEnumZ SDL_TextureAddressMode -> SDL_TextureAddressMode # fromCEnum :: SDL_TextureAddressMode -> CEnumZ SDL_TextureAddressMode # declaredValues :: proxy SDL_TextureAddressMode -> DeclaredValues SDL_TextureAddressMode # showsUndeclared :: proxy SDL_TextureAddressMode -> Int -> CEnumZ SDL_TextureAddressMode -> ShowS # readPrecUndeclared :: ReadPrec SDL_TextureAddressMode # isDeclared :: SDL_TextureAddressMode -> Bool # mkDeclared :: CEnumZ SDL_TextureAddressMode -> Maybe SDL_TextureAddressMode # | |||||
| SequentialCEnum SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| HasFFIType SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| ReadRaw SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods readRaw :: Ptr SDL_TextureAddressMode -> IO SDL_TextureAddressMode # | |||||
| StaticSize SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods | |||||
| WriteRaw SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods writeRaw :: Ptr SDL_TextureAddressMode -> SDL_TextureAddressMode -> IO () # | |||||
| HasCField SDL_TextureAddressMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| ty ~ CInt => HasField "unwrap" SDL_TextureAddressMode ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_TextureAddressMode -> (ty -> SDL_TextureAddressMode, ty) # | |||||
| ty ~ CInt => HasField "unwrap" (Ptr SDL_TextureAddressMode) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_TextureAddressMode -> Ptr ty # | |||||
| type Rep SDL_TextureAddressMode Source # | |||||
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 # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type FFIType SDL_TextureAddressMode Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_TextureAddressMode "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
pattern SDL_TEXTURE_ADDRESS_INVALID :: SDL_TextureAddressMode Source #
- C declaration
SDL_TEXTURE_ADDRESS_INVALID, defined atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/SDL_render.h 124:5
newtype SDL_RendererLogicalPresentation Source #
How the logical size is mapped to the output.
- C declaration
enum SDL_RendererLogicalPresentation, defined atSDL3/SDL_render.h 132:14
Since: 3.2.0
Constructors
| SDL_RendererLogicalPresentation | |
Instances
| Storable SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods sizeOf :: SDL_RendererLogicalPresentation -> Int # alignment :: SDL_RendererLogicalPresentation -> Int # peekElemOff :: Ptr SDL_RendererLogicalPresentation -> Int -> IO SDL_RendererLogicalPresentation # pokeElemOff :: Ptr SDL_RendererLogicalPresentation -> Int -> SDL_RendererLogicalPresentation -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_RendererLogicalPresentation # pokeByteOff :: Ptr b -> Int -> SDL_RendererLogicalPresentation -> IO () # peek :: Ptr SDL_RendererLogicalPresentation -> IO SDL_RendererLogicalPresentation # poke :: Ptr SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation -> IO () # | |||||
| Generic SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| Read SDL_RendererLogicalPresentation Source # | |||||
| Show SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods showsPrec :: Int -> SDL_RendererLogicalPresentation -> ShowS # | |||||
| Eq SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| Ord SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods compare :: SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation -> Ordering # (<) :: SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation -> Bool # (<=) :: SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation -> Bool # (>) :: SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation -> Bool # (>=) :: SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation -> Bool # max :: SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation # min :: SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation # | |||||
| Prim SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods sizeOfType# :: Proxy SDL_RendererLogicalPresentation -> Int# # sizeOf# :: SDL_RendererLogicalPresentation -> Int# # alignmentOfType# :: Proxy SDL_RendererLogicalPresentation -> Int# # alignment# :: SDL_RendererLogicalPresentation -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_RendererLogicalPresentation # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_RendererLogicalPresentation #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_RendererLogicalPresentation -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_RendererLogicalPresentation -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_RendererLogicalPresentation # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_RendererLogicalPresentation #) # writeOffAddr# :: Addr# -> Int# -> SDL_RendererLogicalPresentation -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_RendererLogicalPresentation -> State# s -> State# s # | |||||
| CEnum SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
Methods toCEnum :: CEnumZ SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation # fromCEnum :: SDL_RendererLogicalPresentation -> CEnumZ SDL_RendererLogicalPresentation # declaredValues :: proxy SDL_RendererLogicalPresentation -> DeclaredValues SDL_RendererLogicalPresentation # showsUndeclared :: proxy SDL_RendererLogicalPresentation -> Int -> CEnumZ SDL_RendererLogicalPresentation -> ShowS # readPrecUndeclared :: ReadPrec SDL_RendererLogicalPresentation # isDeclared :: SDL_RendererLogicalPresentation -> Bool # mkDeclared :: CEnumZ SDL_RendererLogicalPresentation -> Maybe SDL_RendererLogicalPresentation # | |||||
| SequentialCEnum SDL_RendererLogicalPresentation Source # | |||||
| HasFFIType SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| ReadRaw SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| StaticSize SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods staticSizeOf :: Proxy SDL_RendererLogicalPresentation -> Int # staticAlignment :: Proxy SDL_RendererLogicalPresentation -> Int # | |||||
| WriteRaw SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods writeRaw :: Ptr SDL_RendererLogicalPresentation -> SDL_RendererLogicalPresentation -> IO () # | |||||
| HasCField SDL_RendererLogicalPresentation "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_RendererLogicalPresentation ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_RendererLogicalPresentation -> (ty -> SDL_RendererLogicalPresentation, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_RendererLogicalPresentation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_RendererLogicalPresentation -> Ptr ty # | |||||
| type Rep SDL_RendererLogicalPresentation Source # | |||||
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 # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type FFIType SDL_RendererLogicalPresentation Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_RendererLogicalPresentation "unwrap" Source # | |||||
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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/SDL_render.h 138:5
data SDL_Renderer Source #
A structure representing rendering state
- C declaration
struct SDL_Renderer, defined atSDL3/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 atSDL3/SDL_render.h 160:8
Since: 3.2.0
Constructors
| SDL_Texture | |
Fields
| |
Instances
| Storable SDL_Texture Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods sizeOf :: SDL_Texture -> Int # alignment :: SDL_Texture -> Int # peekElemOff :: Ptr SDL_Texture -> Int -> IO SDL_Texture # pokeElemOff :: Ptr SDL_Texture -> Int -> SDL_Texture -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_Texture # pokeByteOff :: Ptr b -> Int -> SDL_Texture -> IO () # peek :: Ptr SDL_Texture -> IO SDL_Texture # poke :: Ptr SDL_Texture -> SDL_Texture -> IO () # | |||||
| Generic SDL_Texture Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| Show SDL_Texture Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods showsPrec :: Int -> SDL_Texture -> ShowS # show :: SDL_Texture -> String # showList :: [SDL_Texture] -> ShowS # | |||||
| Eq SDL_Texture Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| ReadRaw SDL_Texture Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods readRaw :: Ptr SDL_Texture -> IO SDL_Texture # | |||||
| StaticSize SDL_Texture Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| WriteRaw SDL_Texture Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods writeRaw :: Ptr SDL_Texture -> SDL_Texture -> IO () # | |||||
| IsStruct SDL_Texture Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods zero :: SDL_Texture # | |||||
| HasCField SDL_Texture "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_Texture "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_Texture "refcount" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_Texture "w" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| ty ~ SDL_PixelFormat => HasField "format" SDL_Texture ty Source # | The format of the texture, read-only
| ||||
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.
| ||||
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
| ||||
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.
| ||||
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 # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_Texture -> Ptr ty # | |||||
| ty ~ CInt => HasField "h" (Ptr SDL_Texture) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_Texture -> Ptr ty # | |||||
| ty ~ CInt => HasField "refcount" (Ptr SDL_Texture) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_Texture -> Ptr ty # | |||||
| ty ~ CInt => HasField "w" (Ptr SDL_Texture) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_Texture -> Ptr ty # | |||||
| type Rep SDL_Texture Source # | |||||
Defined in SDL3.Sys.Bindgen.Render type Rep SDL_Texture = D1 ('MetaData "SDL_Texture" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_Texture" 'PrefixI 'True) ((S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PixelFormat) :*: S1 ('MetaSel ('Just "w") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CInt)) :*: (S1 ('MetaSel ('Just "h") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CInt) :*: S1 ('MetaSel ('Just "refcount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CInt)))) | |||||
| type CFieldType SDL_Texture "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_Texture "h" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_Texture "refcount" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_Texture "w" Source # | |||||
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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/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 atSDL3/SDL_render.h 964:9
sDL_RENDERER_VSYNC_DISABLED :: CInt Source #
- C declaration
macro SDL_RENDERER_VSYNC_DISABLED, defined atSDL3/SDL_render.h 2786:9
sDL_RENDERER_VSYNC_ADAPTIVE :: CInt Source #
- C declaration
macro SDL_RENDERER_VSYNC_ADAPTIVE, defined atSDL3/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 atSDL3/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 atSDL3/SDL_render.h 2929:16
Since: 3.4.0
Constructors
| SDL_GPURenderStateCreateInfo | |
Fields
| |
Instances
| Storable SDL_GPURenderStateCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods sizeOf :: SDL_GPURenderStateCreateInfo -> Int # alignment :: SDL_GPURenderStateCreateInfo -> Int # peekElemOff :: Ptr SDL_GPURenderStateCreateInfo -> Int -> IO SDL_GPURenderStateCreateInfo # pokeElemOff :: Ptr SDL_GPURenderStateCreateInfo -> Int -> SDL_GPURenderStateCreateInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_GPURenderStateCreateInfo # pokeByteOff :: Ptr b -> Int -> SDL_GPURenderStateCreateInfo -> IO () # peek :: Ptr SDL_GPURenderStateCreateInfo -> IO SDL_GPURenderStateCreateInfo # poke :: Ptr SDL_GPURenderStateCreateInfo -> SDL_GPURenderStateCreateInfo -> IO () # | |||||
| Generic SDL_GPURenderStateCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| Show SDL_GPURenderStateCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods showsPrec :: Int -> SDL_GPURenderStateCreateInfo -> ShowS # show :: SDL_GPURenderStateCreateInfo -> String # showList :: [SDL_GPURenderStateCreateInfo] -> ShowS # | |||||
| Eq SDL_GPURenderStateCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods (==) :: SDL_GPURenderStateCreateInfo -> SDL_GPURenderStateCreateInfo -> Bool # (/=) :: SDL_GPURenderStateCreateInfo -> SDL_GPURenderStateCreateInfo -> Bool # | |||||
| ReadRaw SDL_GPURenderStateCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods readRaw :: Ptr SDL_GPURenderStateCreateInfo -> IO SDL_GPURenderStateCreateInfo # | |||||
| StaticSize SDL_GPURenderStateCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods staticSizeOf :: Proxy SDL_GPURenderStateCreateInfo -> Int # staticAlignment :: Proxy SDL_GPURenderStateCreateInfo -> Int # | |||||
| WriteRaw SDL_GPURenderStateCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods writeRaw :: Ptr SDL_GPURenderStateCreateInfo -> SDL_GPURenderStateCreateInfo -> IO () # | |||||
| IsStruct SDL_GPURenderStateCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods | |||||
| HasCField SDL_GPURenderStateCreateInfo "fragment_shader" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_GPURenderStateCreateInfo "num_sampler_bindings" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_GPURenderStateCreateInfo "num_storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_GPURenderStateCreateInfo "num_storage_textures" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_GPURenderStateCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_GPURenderStateCreateInfo "sampler_bindings" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_GPURenderStateCreateInfo "storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| HasCField SDL_GPURenderStateCreateInfo "storage_textures" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Associated Types
| |||||
| ty ~ Ptr SDL_GPUShader => HasField "fragment_shader" SDL_GPURenderStateCreateInfo ty Source # | The fragment shader to use when this render state is active
| ||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_GPURenderStateCreateInfo -> (ty -> SDL_GPURenderStateCreateInfo, ty) # | |||||
| ty ~ Sint32 => HasField "num_sampler_bindings" SDL_GPURenderStateCreateInfo ty Source # | The number of additional fragment samplers to bind when this render state is active
| ||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_GPURenderStateCreateInfo -> (ty -> SDL_GPURenderStateCreateInfo, ty) # | |||||
| ty ~ Sint32 => HasField "num_storage_buffers" SDL_GPURenderStateCreateInfo ty Source # | The number of storage buffers to bind when this render state is active
| ||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_GPURenderStateCreateInfo -> (ty -> SDL_GPURenderStateCreateInfo, ty) # | |||||
| ty ~ Sint32 => HasField "num_storage_textures" SDL_GPURenderStateCreateInfo ty Source # | The number of storage textures to bind when this render state is active
| ||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_GPURenderStateCreateInfo -> (ty -> SDL_GPURenderStateCreateInfo, ty) # | |||||
| ty ~ SDL_PropertiesID => HasField "props" SDL_GPURenderStateCreateInfo ty Source # | A properties ID for extensions. Should be 0 if no extensions are needed.
| ||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_GPURenderStateCreateInfo -> (ty -> SDL_GPURenderStateCreateInfo, ty) # | |||||
| ty ~ PtrConst SDL_GPUTextureSamplerBinding => HasField "sampler_bindings" SDL_GPURenderStateCreateInfo ty Source # | Additional fragment samplers to bind when this render state is active
| ||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_GPURenderStateCreateInfo -> (ty -> SDL_GPURenderStateCreateInfo, ty) # | |||||
| ty ~ PtrConst (Ptr SDL_GPUBuffer) => HasField "storage_buffers" SDL_GPURenderStateCreateInfo ty Source # | Storage buffers to bind when this render state is active
| ||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_GPURenderStateCreateInfo -> (ty -> SDL_GPURenderStateCreateInfo, ty) # | |||||
| ty ~ PtrConst (Ptr SDL_GPUTexture) => HasField "storage_textures" SDL_GPURenderStateCreateInfo ty Source # | Storage textures to bind when this render state is active
| ||||
Defined in SDL3.Sys.Bindgen.Render Methods hasField :: SDL_GPURenderStateCreateInfo -> (ty -> SDL_GPURenderStateCreateInfo, ty) # | |||||
| ty ~ Ptr SDL_GPUShader => HasField "fragment_shader" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_GPURenderStateCreateInfo -> Ptr ty # | |||||
| ty ~ Sint32 => HasField "num_sampler_bindings" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_GPURenderStateCreateInfo -> Ptr ty # | |||||
| ty ~ Sint32 => HasField "num_storage_buffers" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_GPURenderStateCreateInfo -> Ptr ty # | |||||
| ty ~ Sint32 => HasField "num_storage_textures" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_GPURenderStateCreateInfo -> Ptr ty # | |||||
| ty ~ SDL_PropertiesID => HasField "props" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_GPURenderStateCreateInfo -> Ptr ty # | |||||
| ty ~ PtrConst SDL_GPUTextureSamplerBinding => HasField "sampler_bindings" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_GPURenderStateCreateInfo -> Ptr ty # | |||||
| ty ~ PtrConst (Ptr SDL_GPUBuffer) => HasField "storage_buffers" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_GPURenderStateCreateInfo -> Ptr ty # | |||||
| ty ~ PtrConst (Ptr SDL_GPUTexture) => HasField "storage_textures" (Ptr SDL_GPURenderStateCreateInfo) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Render Methods getField :: Ptr SDL_GPURenderStateCreateInfo -> Ptr ty # | |||||
| type Rep SDL_GPURenderStateCreateInfo Source # | |||||
Defined in SDL3.Sys.Bindgen.Render type Rep SDL_GPURenderStateCreateInfo = D1 ('MetaData "SDL_GPURenderStateCreateInfo" "SDL3.Sys.Bindgen.Render" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_GPURenderStateCreateInfo" 'PrefixI 'True) (((S1 ('MetaSel ('Just "fragment_shader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_GPUShader)) :*: S1 ('MetaSel ('Just "num_sampler_bindings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Sint32)) :*: (S1 ('MetaSel ('Just "sampler_bindings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst SDL_GPUTextureSamplerBinding)) :*: S1 ('MetaSel ('Just "num_storage_textures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Sint32))) :*: ((S1 ('MetaSel ('Just "storage_textures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst (Ptr SDL_GPUTexture))) :*: S1 ('MetaSel ('Just "num_storage_buffers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Sint32)) :*: (S1 ('MetaSel ('Just "storage_buffers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (PtrConst (Ptr SDL_GPUBuffer))) :*: S1 ('MetaSel ('Just "props") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PropertiesID))))) | |||||
| type CFieldType SDL_GPURenderStateCreateInfo "fragment_shader" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_GPURenderStateCreateInfo "num_sampler_bindings" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_GPURenderStateCreateInfo "num_storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_GPURenderStateCreateInfo "num_storage_textures" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_GPURenderStateCreateInfo "props" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_GPURenderStateCreateInfo "sampler_bindings" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render type CFieldType SDL_GPURenderStateCreateInfo "sampler_bindings" = PtrConst SDL_GPUTextureSamplerBinding | |||||
| type CFieldType SDL_GPURenderStateCreateInfo "storage_buffers" Source # | |||||
Defined in SDL3.Sys.Bindgen.Render | |||||
| type CFieldType SDL_GPURenderStateCreateInfo "storage_textures" Source # | |||||
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 atSDL3/SDL_render.h 2955:16
Since: 3.4.0