| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Pixels
Description
SDL offers facilities for pixel management.
Largely these facilities deal with pixel format: what does this set of bits represent?
If you mostly want to think of a pixel as some combination of red, green, blue, and maybe alpha intensities, this is all pretty straightforward, and in many cases, is enough information to build a perfectly fine game.
However, the actual definition of a pixel is more complex than that:
Pixels are a representation of a color in a particular color space.
The first characteristic of a color space is the color type. SDL understands two different color types, RGB and YCbCr, or in SDL also referred to as YUV.
RGB colors consist of red, green, and blue channels of color that are added together to represent the colors we see on the screen.
https://en.wikipedia.org/wiki/RGB_color_model
YCbCr colors represent colors as a Y luma brightness component and red and blue chroma color offsets. This color representation takes advantage of the fact that the human eye is more sensitive to brightness than the color in an image. The Cb and Cr components are often compressed and have lower resolution than the luma component.
https://en.wikipedia.org/wiki/YCbCr
When the color information in YCbCr is compressed, the Y pixels are left at full resolution and each Cr and Cb pixel represents an average of the color information in a block of Y pixels. The chroma location determines where in that block of pixels the color information is coming from.
The color range defines how much of the pixel to use when converting a pixel into a color on the display. When the full color range is used, the entire numeric range of the pixel bits is significant. When narrow color range is used, for historical reasons, the pixel uses only a portion of the numeric range to represent colors.
The color primaries and white point are a definition of the colors in the color space relative to the standard XYZ color space.
https://en.wikipedia.org/wiki/CIE_1931_color_space
The transfer characteristic, or opto-electrical transfer function (OETF), is the way a color is converted from mathematically linear space into a non-linear output signals.
https://en.wikipedia.org/wiki/Rec._709#Transfer_characteristics
The matrix coefficients are used to convert between YCbCr and RGB colors. A fully opaque 8-bit alpha value.
- See also
sDL_ALPHA_TRANSPARENT
Since: 3.2.0
Synopsis
- sDL_ALPHA_OPAQUE :: CInt
- sDL_ALPHA_OPAQUE_FLOAT :: CFloat
- sDL_ALPHA_TRANSPARENT :: CInt
- sDL_ALPHA_TRANSPARENT_FLOAT :: CFloat
- newtype SDL_PixelType = SDL_PixelType {}
- pattern SDL_PIXELTYPE_UNKNOWN :: SDL_PixelType
- pattern SDL_PIXELTYPE_INDEX1 :: SDL_PixelType
- pattern SDL_PIXELTYPE_INDEX4 :: SDL_PixelType
- pattern SDL_PIXELTYPE_INDEX8 :: SDL_PixelType
- pattern SDL_PIXELTYPE_PACKED8 :: SDL_PixelType
- pattern SDL_PIXELTYPE_PACKED16 :: SDL_PixelType
- pattern SDL_PIXELTYPE_PACKED32 :: SDL_PixelType
- pattern SDL_PIXELTYPE_ARRAYU8 :: SDL_PixelType
- pattern SDL_PIXELTYPE_ARRAYU16 :: SDL_PixelType
- pattern SDL_PIXELTYPE_ARRAYU32 :: SDL_PixelType
- pattern SDL_PIXELTYPE_ARRAYF16 :: SDL_PixelType
- pattern SDL_PIXELTYPE_ARRAYF32 :: SDL_PixelType
- pattern SDL_PIXELTYPE_INDEX2 :: SDL_PixelType
- newtype SDL_BitmapOrder = SDL_BitmapOrder {}
- pattern SDL_BITMAPORDER_NONE :: SDL_BitmapOrder
- pattern SDL_BITMAPORDER_4321 :: SDL_BitmapOrder
- pattern SDL_BITMAPORDER_1234 :: SDL_BitmapOrder
- newtype SDL_PackedOrder = SDL_PackedOrder {}
- pattern SDL_PACKEDORDER_NONE :: SDL_PackedOrder
- pattern SDL_PACKEDORDER_XRGB :: SDL_PackedOrder
- pattern SDL_PACKEDORDER_RGBX :: SDL_PackedOrder
- pattern SDL_PACKEDORDER_ARGB :: SDL_PackedOrder
- pattern SDL_PACKEDORDER_RGBA :: SDL_PackedOrder
- pattern SDL_PACKEDORDER_XBGR :: SDL_PackedOrder
- pattern SDL_PACKEDORDER_BGRX :: SDL_PackedOrder
- pattern SDL_PACKEDORDER_ABGR :: SDL_PackedOrder
- pattern SDL_PACKEDORDER_BGRA :: SDL_PackedOrder
- newtype SDL_ArrayOrder = SDL_ArrayOrder {}
- pattern SDL_ARRAYORDER_NONE :: SDL_ArrayOrder
- pattern SDL_ARRAYORDER_RGB :: SDL_ArrayOrder
- pattern SDL_ARRAYORDER_RGBA :: SDL_ArrayOrder
- pattern SDL_ARRAYORDER_ARGB :: SDL_ArrayOrder
- pattern SDL_ARRAYORDER_BGR :: SDL_ArrayOrder
- pattern SDL_ARRAYORDER_BGRA :: SDL_ArrayOrder
- pattern SDL_ARRAYORDER_ABGR :: SDL_ArrayOrder
- newtype SDL_PackedLayout = SDL_PackedLayout {}
- pattern SDL_PACKEDLAYOUT_NONE :: SDL_PackedLayout
- pattern SDL_PACKEDLAYOUT_332 :: SDL_PackedLayout
- pattern SDL_PACKEDLAYOUT_4444 :: SDL_PackedLayout
- pattern SDL_PACKEDLAYOUT_1555 :: SDL_PackedLayout
- pattern SDL_PACKEDLAYOUT_5551 :: SDL_PackedLayout
- pattern SDL_PACKEDLAYOUT_565 :: SDL_PackedLayout
- pattern SDL_PACKEDLAYOUT_8888 :: SDL_PackedLayout
- pattern SDL_PACKEDLAYOUT_2101010 :: SDL_PackedLayout
- pattern SDL_PACKEDLAYOUT_1010102 :: SDL_PackedLayout
- sDL_DEFINE_PIXELFORMAT :: (Bitwise (BitsRes CInt (ShiftRes a10)) (ShiftRes a21), Bitwise (BitsRes (BitsRes CInt (ShiftRes a10)) (ShiftRes a21)) (ShiftRes a32), Bitwise (BitsRes (BitsRes (BitsRes CInt (ShiftRes a10)) (ShiftRes a21)) (ShiftRes a32)) (ShiftRes a43), Bitwise (BitsRes (BitsRes (BitsRes (BitsRes CInt (ShiftRes a10)) (ShiftRes a21)) (ShiftRes a32)) (ShiftRes a43)) (ShiftRes a54), Bitwise CInt (ShiftRes a10), Shift a54 CInt, Shift a43 CInt, Shift a32 CInt, Shift a21 CInt, Shift a10 CInt) => a10 -> a21 -> a32 -> a43 -> a54 -> BitsRes (BitsRes (BitsRes (BitsRes (BitsRes CInt (ShiftRes a10)) (ShiftRes a21)) (ShiftRes a32)) (ShiftRes a43)) (ShiftRes a54)
- sDL_PIXELFLAG :: (Bitwise (ShiftRes a0) CInt, Shift a0 CInt) => a0 -> BitsRes (ShiftRes a0) CInt
- sDL_PIXELTYPE :: (Bitwise (ShiftRes a0) CInt, Shift a0 CInt) => a0 -> BitsRes (ShiftRes a0) CInt
- sDL_PIXELORDER :: (Bitwise (ShiftRes a0) CInt, Shift a0 CInt) => a0 -> BitsRes (ShiftRes a0) CInt
- sDL_PIXELLAYOUT :: (Bitwise (ShiftRes a0) CInt, Shift a0 CInt) => a0 -> BitsRes (ShiftRes a0) CInt
- newtype SDL_PixelFormat = SDL_PixelFormat {}
- pattern SDL_PIXELFORMAT_UNKNOWN :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_INDEX1LSB :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_INDEX1MSB :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_INDEX2LSB :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_INDEX2MSB :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_INDEX4LSB :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_INDEX4MSB :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_INDEX8 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGB332 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XRGB4444 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XBGR4444 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XRGB1555 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XBGR1555 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ARGB4444 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGBA4444 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ABGR4444 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGRA4444 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ARGB1555 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGBA5551 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ABGR1555 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGRA5551 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGB565 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGR565 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGB24 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGR24 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XRGB8888 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGBX8888 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XBGR8888 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGRX8888 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ARGB8888 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGBA8888 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ABGR8888 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGRA8888 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XRGB2101010 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XBGR2101010 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ARGB2101010 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ABGR2101010 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGB48 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGR48 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGBA64 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ARGB64 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGRA64 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ABGR64 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGB48_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGR48_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGBA64_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ARGB64_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGRA64_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ABGR64_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGB96_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGR96_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGBA128_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ARGB128_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGRA128_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ABGR128_FLOAT :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_YV12 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_IYUV :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_YUY2 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_UYVY :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_YVYU :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_NV12 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_NV21 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_P010 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_EXTERNAL_OES :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_MJPG :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGBA32 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ARGB32 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGRA32 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_ABGR32 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_RGBX32 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XRGB32 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_BGRX32 :: SDL_PixelFormat
- pattern SDL_PIXELFORMAT_XBGR32 :: SDL_PixelFormat
- newtype SDL_ColorType = SDL_ColorType {}
- pattern SDL_COLOR_TYPE_UNKNOWN :: SDL_ColorType
- pattern SDL_COLOR_TYPE_RGB :: SDL_ColorType
- pattern SDL_COLOR_TYPE_YCBCR :: SDL_ColorType
- newtype SDL_ColorRange = SDL_ColorRange {}
- pattern SDL_COLOR_RANGE_UNKNOWN :: SDL_ColorRange
- pattern SDL_COLOR_RANGE_LIMITED :: SDL_ColorRange
- pattern SDL_COLOR_RANGE_FULL :: SDL_ColorRange
- newtype SDL_ColorPrimaries = SDL_ColorPrimaries {}
- pattern SDL_COLOR_PRIMARIES_UNKNOWN :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_BT709 :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_UNSPECIFIED :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_BT470M :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_BT470BG :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_BT601 :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_SMPTE240 :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_GENERIC_FILM :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_BT2020 :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_XYZ :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_SMPTE431 :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_SMPTE432 :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_EBU3213 :: SDL_ColorPrimaries
- pattern SDL_COLOR_PRIMARIES_CUSTOM :: SDL_ColorPrimaries
- newtype SDL_TransferCharacteristics = SDL_TransferCharacteristics {}
- pattern SDL_TRANSFER_CHARACTERISTICS_UNKNOWN :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_BT709 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_UNSPECIFIED :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_GAMMA22 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_GAMMA28 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_BT601 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_SMPTE240 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_LINEAR :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_LOG100 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_LOG100_SQRT10 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_IEC61966 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_BT1361 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_SRGB :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_BT2020_10BIT :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_BT2020_12BIT :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_PQ :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_SMPTE428 :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_HLG :: SDL_TransferCharacteristics
- pattern SDL_TRANSFER_CHARACTERISTICS_CUSTOM :: SDL_TransferCharacteristics
- newtype SDL_MatrixCoefficients = SDL_MatrixCoefficients {}
- pattern SDL_MATRIX_COEFFICIENTS_IDENTITY :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_BT709 :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_UNSPECIFIED :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_FCC :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_BT470BG :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_BT601 :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_SMPTE240 :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_YCGCO :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_BT2020_NCL :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_BT2020_CL :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_SMPTE2085 :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_CHROMA_DERIVED_NCL :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_CHROMA_DERIVED_CL :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_ICTCP :: SDL_MatrixCoefficients
- pattern SDL_MATRIX_COEFFICIENTS_CUSTOM :: SDL_MatrixCoefficients
- newtype SDL_ChromaLocation = SDL_ChromaLocation {}
- pattern SDL_CHROMA_LOCATION_NONE :: SDL_ChromaLocation
- pattern SDL_CHROMA_LOCATION_LEFT :: SDL_ChromaLocation
- pattern SDL_CHROMA_LOCATION_CENTER :: SDL_ChromaLocation
- pattern SDL_CHROMA_LOCATION_TOPLEFT :: SDL_ChromaLocation
- newtype SDL_Colorspace = SDL_Colorspace {}
- pattern SDL_COLORSPACE_UNKNOWN :: SDL_Colorspace
- pattern SDL_COLORSPACE_SRGB :: SDL_Colorspace
- pattern SDL_COLORSPACE_SRGB_LINEAR :: SDL_Colorspace
- pattern SDL_COLORSPACE_HDR10 :: SDL_Colorspace
- pattern SDL_COLORSPACE_JPEG :: SDL_Colorspace
- pattern SDL_COLORSPACE_BT601_LIMITED :: SDL_Colorspace
- pattern SDL_COLORSPACE_BT601_FULL :: SDL_Colorspace
- pattern SDL_COLORSPACE_BT709_LIMITED :: SDL_Colorspace
- pattern SDL_COLORSPACE_BT709_FULL :: SDL_Colorspace
- pattern SDL_COLORSPACE_BT2020_LIMITED :: SDL_Colorspace
- pattern SDL_COLORSPACE_BT2020_FULL :: SDL_Colorspace
- pattern SDL_COLORSPACE_RGB_DEFAULT :: SDL_Colorspace
- pattern SDL_COLORSPACE_YUV_DEFAULT :: SDL_Colorspace
- data SDL_Color = SDL_Color {}
- data SDL_FColor = SDL_FColor {}
- data SDL_Palette = SDL_Palette {}
- data SDL_PixelFormatDetails = SDL_PixelFormatDetails {}
Documentation
sDL_ALPHA_OPAQUE :: CInt Source #
- C declaration
macro SDL_ALPHA_OPAQUE, defined atSDL3/SDL_pixels.h 100:9
sDL_ALPHA_OPAQUE_FLOAT :: CFloat Source #
A fully opaque floating point alpha value.
- See also
sDL_ALPHA_TRANSPARENT_FLOAT- C declaration
macro SDL_ALPHA_OPAQUE_FLOAT, defined atSDL3/SDL_pixels.h 109:9
Since: 3.2.0
sDL_ALPHA_TRANSPARENT :: CInt Source #
A fully transparent 8-bit alpha value.
- See also
sDL_ALPHA_OPAQUE- C declaration
macro SDL_ALPHA_TRANSPARENT, defined atSDL3/SDL_pixels.h 118:9
Since: 3.2.0
sDL_ALPHA_TRANSPARENT_FLOAT :: CFloat Source #
A fully transparent floating point alpha value.
- See also
sDL_ALPHA_OPAQUE_FLOAT- C declaration
macro SDL_ALPHA_TRANSPARENT_FLOAT, defined atSDL3/SDL_pixels.h 127:9
Since: 3.2.0
newtype SDL_PixelType Source #
Pixel type.
- C declaration
enum SDL_PixelType, defined atSDL3/SDL_pixels.h 134:14
Since: 3.2.0
Constructors
| SDL_PixelType | |
Instances
pattern SDL_PIXELTYPE_UNKNOWN :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_UNKNOWN, defined atSDL3/SDL_pixels.h 136:5
pattern SDL_PIXELTYPE_INDEX1 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_INDEX1, defined atSDL3/SDL_pixels.h 137:5
pattern SDL_PIXELTYPE_INDEX4 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_INDEX4, defined atSDL3/SDL_pixels.h 138:5
pattern SDL_PIXELTYPE_INDEX8 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_INDEX8, defined atSDL3/SDL_pixels.h 139:5
pattern SDL_PIXELTYPE_PACKED8 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_PACKED8, defined atSDL3/SDL_pixels.h 140:5
pattern SDL_PIXELTYPE_PACKED16 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_PACKED16, defined atSDL3/SDL_pixels.h 141:5
pattern SDL_PIXELTYPE_PACKED32 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_PACKED32, defined atSDL3/SDL_pixels.h 142:5
pattern SDL_PIXELTYPE_ARRAYU8 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_ARRAYU8, defined atSDL3/SDL_pixels.h 143:5
pattern SDL_PIXELTYPE_ARRAYU16 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_ARRAYU16, defined atSDL3/SDL_pixels.h 144:5
pattern SDL_PIXELTYPE_ARRAYU32 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_ARRAYU32, defined atSDL3/SDL_pixels.h 145:5
pattern SDL_PIXELTYPE_ARRAYF16 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_ARRAYF16, defined atSDL3/SDL_pixels.h 146:5
pattern SDL_PIXELTYPE_ARRAYF32 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_ARRAYF32, defined atSDL3/SDL_pixels.h 147:5
pattern SDL_PIXELTYPE_INDEX2 :: SDL_PixelType Source #
- C declaration
SDL_PIXELTYPE_INDEX2, defined atSDL3/SDL_pixels.h 149:5
newtype SDL_BitmapOrder Source #
Bitmap pixel order, high bit -> low bit.
- C declaration
enum SDL_BitmapOrder, defined atSDL3/SDL_pixels.h 157:14
Since: 3.2.0
Constructors
| SDL_BitmapOrder | |
Instances
| Storable SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_BitmapOrder -> Int # alignment :: SDL_BitmapOrder -> Int # peekElemOff :: Ptr SDL_BitmapOrder -> Int -> IO SDL_BitmapOrder # pokeElemOff :: Ptr SDL_BitmapOrder -> Int -> SDL_BitmapOrder -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_BitmapOrder # pokeByteOff :: Ptr b -> Int -> SDL_BitmapOrder -> IO () # peek :: Ptr SDL_BitmapOrder -> IO SDL_BitmapOrder # poke :: Ptr SDL_BitmapOrder -> SDL_BitmapOrder -> IO () # | |||||
| Generic SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_BitmapOrder -> Rep SDL_BitmapOrder x # to :: Rep SDL_BitmapOrder x -> SDL_BitmapOrder # | |||||
| Read SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_BitmapOrder # readList :: ReadS [SDL_BitmapOrder] # | |||||
| Show SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_BitmapOrder -> ShowS # show :: SDL_BitmapOrder -> String # showList :: [SDL_BitmapOrder] -> ShowS # | |||||
| Eq SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_BitmapOrder -> SDL_BitmapOrder -> Bool # (/=) :: SDL_BitmapOrder -> SDL_BitmapOrder -> Bool # | |||||
| Ord SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_BitmapOrder -> SDL_BitmapOrder -> Ordering # (<) :: SDL_BitmapOrder -> SDL_BitmapOrder -> Bool # (<=) :: SDL_BitmapOrder -> SDL_BitmapOrder -> Bool # (>) :: SDL_BitmapOrder -> SDL_BitmapOrder -> Bool # (>=) :: SDL_BitmapOrder -> SDL_BitmapOrder -> Bool # max :: SDL_BitmapOrder -> SDL_BitmapOrder -> SDL_BitmapOrder # min :: SDL_BitmapOrder -> SDL_BitmapOrder -> SDL_BitmapOrder # | |||||
| Prim SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_BitmapOrder -> Int# # sizeOf# :: SDL_BitmapOrder -> Int# # alignmentOfType# :: Proxy SDL_BitmapOrder -> Int# # alignment# :: SDL_BitmapOrder -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_BitmapOrder # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_BitmapOrder #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_BitmapOrder -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_BitmapOrder -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_BitmapOrder # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_BitmapOrder #) # writeOffAddr# :: Addr# -> Int# -> SDL_BitmapOrder -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_BitmapOrder -> State# s -> State# s # | |||||
| CEnum SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_BitmapOrder -> SDL_BitmapOrder # fromCEnum :: SDL_BitmapOrder -> CEnumZ SDL_BitmapOrder # declaredValues :: proxy SDL_BitmapOrder -> DeclaredValues SDL_BitmapOrder # showsUndeclared :: proxy SDL_BitmapOrder -> Int -> CEnumZ SDL_BitmapOrder -> ShowS # readPrecUndeclared :: ReadPrec SDL_BitmapOrder # isDeclared :: SDL_BitmapOrder -> Bool # mkDeclared :: CEnumZ SDL_BitmapOrder -> Maybe SDL_BitmapOrder # | |||||
| SequentialCEnum SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| HasFFIType SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods | |||||
| ReadRaw SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_BitmapOrder -> IO SDL_BitmapOrder # | |||||
| StaticSize SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_BitmapOrder -> Int # staticAlignment :: Proxy SDL_BitmapOrder -> Int # | |||||
| WriteRaw SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_BitmapOrder -> SDL_BitmapOrder -> IO () # | |||||
| HasCField SDL_BitmapOrder "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_BitmapOrder ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_BitmapOrder -> (ty -> SDL_BitmapOrder, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_BitmapOrder) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_BitmapOrder -> Ptr ty # | |||||
| type Rep SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_BitmapOrder = D1 ('MetaData "SDL_BitmapOrder" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_BitmapOrder" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_BitmapOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_BitmapOrder "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_BITMAPORDER_NONE :: SDL_BitmapOrder Source #
- C declaration
SDL_BITMAPORDER_NONE, defined atSDL3/SDL_pixels.h 159:5
pattern SDL_BITMAPORDER_4321 :: SDL_BitmapOrder Source #
- C declaration
SDL_BITMAPORDER_4321, defined atSDL3/SDL_pixels.h 160:5
pattern SDL_BITMAPORDER_1234 :: SDL_BitmapOrder Source #
- C declaration
SDL_BITMAPORDER_1234, defined atSDL3/SDL_pixels.h 161:5
newtype SDL_PackedOrder Source #
Packed component order, high bit -> low bit.
- C declaration
enum SDL_PackedOrder, defined atSDL3/SDL_pixels.h 169:14
Since: 3.2.0
Constructors
| SDL_PackedOrder | |
Instances
| Storable SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_PackedOrder -> Int # alignment :: SDL_PackedOrder -> Int # peekElemOff :: Ptr SDL_PackedOrder -> Int -> IO SDL_PackedOrder # pokeElemOff :: Ptr SDL_PackedOrder -> Int -> SDL_PackedOrder -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_PackedOrder # pokeByteOff :: Ptr b -> Int -> SDL_PackedOrder -> IO () # peek :: Ptr SDL_PackedOrder -> IO SDL_PackedOrder # poke :: Ptr SDL_PackedOrder -> SDL_PackedOrder -> IO () # | |||||
| Generic SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_PackedOrder -> Rep SDL_PackedOrder x # to :: Rep SDL_PackedOrder x -> SDL_PackedOrder # | |||||
| Read SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_PackedOrder # readList :: ReadS [SDL_PackedOrder] # | |||||
| Show SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_PackedOrder -> ShowS # show :: SDL_PackedOrder -> String # showList :: [SDL_PackedOrder] -> ShowS # | |||||
| Eq SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_PackedOrder -> SDL_PackedOrder -> Bool # (/=) :: SDL_PackedOrder -> SDL_PackedOrder -> Bool # | |||||
| Ord SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_PackedOrder -> SDL_PackedOrder -> Ordering # (<) :: SDL_PackedOrder -> SDL_PackedOrder -> Bool # (<=) :: SDL_PackedOrder -> SDL_PackedOrder -> Bool # (>) :: SDL_PackedOrder -> SDL_PackedOrder -> Bool # (>=) :: SDL_PackedOrder -> SDL_PackedOrder -> Bool # max :: SDL_PackedOrder -> SDL_PackedOrder -> SDL_PackedOrder # min :: SDL_PackedOrder -> SDL_PackedOrder -> SDL_PackedOrder # | |||||
| Prim SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_PackedOrder -> Int# # sizeOf# :: SDL_PackedOrder -> Int# # alignmentOfType# :: Proxy SDL_PackedOrder -> Int# # alignment# :: SDL_PackedOrder -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_PackedOrder # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_PackedOrder #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_PackedOrder -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_PackedOrder -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_PackedOrder # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_PackedOrder #) # writeOffAddr# :: Addr# -> Int# -> SDL_PackedOrder -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_PackedOrder -> State# s -> State# s # | |||||
| CEnum SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_PackedOrder -> SDL_PackedOrder # fromCEnum :: SDL_PackedOrder -> CEnumZ SDL_PackedOrder # declaredValues :: proxy SDL_PackedOrder -> DeclaredValues SDL_PackedOrder # showsUndeclared :: proxy SDL_PackedOrder -> Int -> CEnumZ SDL_PackedOrder -> ShowS # readPrecUndeclared :: ReadPrec SDL_PackedOrder # isDeclared :: SDL_PackedOrder -> Bool # mkDeclared :: CEnumZ SDL_PackedOrder -> Maybe SDL_PackedOrder # | |||||
| SequentialCEnum SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| HasFFIType SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods | |||||
| ReadRaw SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_PackedOrder -> IO SDL_PackedOrder # | |||||
| StaticSize SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_PackedOrder -> Int # staticAlignment :: Proxy SDL_PackedOrder -> Int # | |||||
| WriteRaw SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_PackedOrder -> SDL_PackedOrder -> IO () # | |||||
| HasCField SDL_PackedOrder "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_PackedOrder ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PackedOrder -> (ty -> SDL_PackedOrder, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_PackedOrder) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PackedOrder -> Ptr ty # | |||||
| type Rep SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_PackedOrder = D1 ('MetaData "SDL_PackedOrder" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_PackedOrder" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_PackedOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PackedOrder "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_PACKEDORDER_NONE :: SDL_PackedOrder Source #
- C declaration
SDL_PACKEDORDER_NONE, defined atSDL3/SDL_pixels.h 171:5
pattern SDL_PACKEDORDER_XRGB :: SDL_PackedOrder Source #
- C declaration
SDL_PACKEDORDER_XRGB, defined atSDL3/SDL_pixels.h 172:5
pattern SDL_PACKEDORDER_RGBX :: SDL_PackedOrder Source #
- C declaration
SDL_PACKEDORDER_RGBX, defined atSDL3/SDL_pixels.h 173:5
pattern SDL_PACKEDORDER_ARGB :: SDL_PackedOrder Source #
- C declaration
SDL_PACKEDORDER_ARGB, defined atSDL3/SDL_pixels.h 174:5
pattern SDL_PACKEDORDER_RGBA :: SDL_PackedOrder Source #
- C declaration
SDL_PACKEDORDER_RGBA, defined atSDL3/SDL_pixels.h 175:5
pattern SDL_PACKEDORDER_XBGR :: SDL_PackedOrder Source #
- C declaration
SDL_PACKEDORDER_XBGR, defined atSDL3/SDL_pixels.h 176:5
pattern SDL_PACKEDORDER_BGRX :: SDL_PackedOrder Source #
- C declaration
SDL_PACKEDORDER_BGRX, defined atSDL3/SDL_pixels.h 177:5
pattern SDL_PACKEDORDER_ABGR :: SDL_PackedOrder Source #
- C declaration
SDL_PACKEDORDER_ABGR, defined atSDL3/SDL_pixels.h 178:5
pattern SDL_PACKEDORDER_BGRA :: SDL_PackedOrder Source #
- C declaration
SDL_PACKEDORDER_BGRA, defined atSDL3/SDL_pixels.h 179:5
newtype SDL_ArrayOrder Source #
Array component order, low byte -> high byte.
- C declaration
enum SDL_ArrayOrder, defined atSDL3/SDL_pixels.h 187:14
Since: 3.2.0
Constructors
| SDL_ArrayOrder | |
Instances
| Storable SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_ArrayOrder -> Int # alignment :: SDL_ArrayOrder -> Int # peekElemOff :: Ptr SDL_ArrayOrder -> Int -> IO SDL_ArrayOrder # pokeElemOff :: Ptr SDL_ArrayOrder -> Int -> SDL_ArrayOrder -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_ArrayOrder # pokeByteOff :: Ptr b -> Int -> SDL_ArrayOrder -> IO () # peek :: Ptr SDL_ArrayOrder -> IO SDL_ArrayOrder # poke :: Ptr SDL_ArrayOrder -> SDL_ArrayOrder -> IO () # | |||||
| Generic SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_ArrayOrder -> Rep SDL_ArrayOrder x # to :: Rep SDL_ArrayOrder x -> SDL_ArrayOrder # | |||||
| Read SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_ArrayOrder # readList :: ReadS [SDL_ArrayOrder] # | |||||
| Show SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_ArrayOrder -> ShowS # show :: SDL_ArrayOrder -> String # showList :: [SDL_ArrayOrder] -> ShowS # | |||||
| Eq SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_ArrayOrder -> SDL_ArrayOrder -> Bool # (/=) :: SDL_ArrayOrder -> SDL_ArrayOrder -> Bool # | |||||
| Ord SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_ArrayOrder -> SDL_ArrayOrder -> Ordering # (<) :: SDL_ArrayOrder -> SDL_ArrayOrder -> Bool # (<=) :: SDL_ArrayOrder -> SDL_ArrayOrder -> Bool # (>) :: SDL_ArrayOrder -> SDL_ArrayOrder -> Bool # (>=) :: SDL_ArrayOrder -> SDL_ArrayOrder -> Bool # max :: SDL_ArrayOrder -> SDL_ArrayOrder -> SDL_ArrayOrder # min :: SDL_ArrayOrder -> SDL_ArrayOrder -> SDL_ArrayOrder # | |||||
| Prim SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_ArrayOrder -> Int# # sizeOf# :: SDL_ArrayOrder -> Int# # alignmentOfType# :: Proxy SDL_ArrayOrder -> Int# # alignment# :: SDL_ArrayOrder -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_ArrayOrder # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_ArrayOrder #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_ArrayOrder -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_ArrayOrder -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_ArrayOrder # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_ArrayOrder #) # writeOffAddr# :: Addr# -> Int# -> SDL_ArrayOrder -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_ArrayOrder -> State# s -> State# s # | |||||
| CEnum SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_ArrayOrder -> SDL_ArrayOrder # fromCEnum :: SDL_ArrayOrder -> CEnumZ SDL_ArrayOrder # declaredValues :: proxy SDL_ArrayOrder -> DeclaredValues SDL_ArrayOrder # showsUndeclared :: proxy SDL_ArrayOrder -> Int -> CEnumZ SDL_ArrayOrder -> ShowS # readPrecUndeclared :: ReadPrec SDL_ArrayOrder # isDeclared :: SDL_ArrayOrder -> Bool # mkDeclared :: CEnumZ SDL_ArrayOrder -> Maybe SDL_ArrayOrder # | |||||
| SequentialCEnum SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| HasFFIType SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods | |||||
| ReadRaw SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_ArrayOrder -> IO SDL_ArrayOrder # | |||||
| StaticSize SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_ArrayOrder -> Int # staticAlignment :: Proxy SDL_ArrayOrder -> Int # | |||||
| WriteRaw SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_ArrayOrder -> SDL_ArrayOrder -> IO () # | |||||
| HasCField SDL_ArrayOrder "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_ArrayOrder ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_ArrayOrder -> (ty -> SDL_ArrayOrder, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_ArrayOrder) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_ArrayOrder -> Ptr ty # | |||||
| type Rep SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_ArrayOrder = D1 ('MetaData "SDL_ArrayOrder" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_ArrayOrder" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_ArrayOrder Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_ArrayOrder "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_ARRAYORDER_NONE :: SDL_ArrayOrder Source #
- C declaration
SDL_ARRAYORDER_NONE, defined atSDL3/SDL_pixels.h 189:5
pattern SDL_ARRAYORDER_RGB :: SDL_ArrayOrder Source #
- C declaration
SDL_ARRAYORDER_RGB, defined atSDL3/SDL_pixels.h 190:5
pattern SDL_ARRAYORDER_RGBA :: SDL_ArrayOrder Source #
- C declaration
SDL_ARRAYORDER_RGBA, defined atSDL3/SDL_pixels.h 191:5
pattern SDL_ARRAYORDER_ARGB :: SDL_ArrayOrder Source #
- C declaration
SDL_ARRAYORDER_ARGB, defined atSDL3/SDL_pixels.h 192:5
pattern SDL_ARRAYORDER_BGR :: SDL_ArrayOrder Source #
- C declaration
SDL_ARRAYORDER_BGR, defined atSDL3/SDL_pixels.h 193:5
pattern SDL_ARRAYORDER_BGRA :: SDL_ArrayOrder Source #
- C declaration
SDL_ARRAYORDER_BGRA, defined atSDL3/SDL_pixels.h 194:5
pattern SDL_ARRAYORDER_ABGR :: SDL_ArrayOrder Source #
- C declaration
SDL_ARRAYORDER_ABGR, defined atSDL3/SDL_pixels.h 195:5
newtype SDL_PackedLayout Source #
Packed component layout.
- C declaration
enum SDL_PackedLayout, defined atSDL3/SDL_pixels.h 203:14
Since: 3.2.0
Constructors
| SDL_PackedLayout | |
Instances
| Storable SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_PackedLayout -> Int # alignment :: SDL_PackedLayout -> Int # peekElemOff :: Ptr SDL_PackedLayout -> Int -> IO SDL_PackedLayout # pokeElemOff :: Ptr SDL_PackedLayout -> Int -> SDL_PackedLayout -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_PackedLayout # pokeByteOff :: Ptr b -> Int -> SDL_PackedLayout -> IO () # peek :: Ptr SDL_PackedLayout -> IO SDL_PackedLayout # poke :: Ptr SDL_PackedLayout -> SDL_PackedLayout -> IO () # | |||||
| Generic SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_PackedLayout -> Rep SDL_PackedLayout x # to :: Rep SDL_PackedLayout x -> SDL_PackedLayout # | |||||
| Read SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_PackedLayout # readList :: ReadS [SDL_PackedLayout] # | |||||
| Show SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_PackedLayout -> ShowS # show :: SDL_PackedLayout -> String # showList :: [SDL_PackedLayout] -> ShowS # | |||||
| Eq SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_PackedLayout -> SDL_PackedLayout -> Bool # (/=) :: SDL_PackedLayout -> SDL_PackedLayout -> Bool # | |||||
| Ord SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_PackedLayout -> SDL_PackedLayout -> Ordering # (<) :: SDL_PackedLayout -> SDL_PackedLayout -> Bool # (<=) :: SDL_PackedLayout -> SDL_PackedLayout -> Bool # (>) :: SDL_PackedLayout -> SDL_PackedLayout -> Bool # (>=) :: SDL_PackedLayout -> SDL_PackedLayout -> Bool # max :: SDL_PackedLayout -> SDL_PackedLayout -> SDL_PackedLayout # min :: SDL_PackedLayout -> SDL_PackedLayout -> SDL_PackedLayout # | |||||
| Prim SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_PackedLayout -> Int# # sizeOf# :: SDL_PackedLayout -> Int# # alignmentOfType# :: Proxy SDL_PackedLayout -> Int# # alignment# :: SDL_PackedLayout -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_PackedLayout # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_PackedLayout #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_PackedLayout -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_PackedLayout -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_PackedLayout # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_PackedLayout #) # writeOffAddr# :: Addr# -> Int# -> SDL_PackedLayout -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_PackedLayout -> State# s -> State# s # | |||||
| CEnum SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_PackedLayout -> SDL_PackedLayout # fromCEnum :: SDL_PackedLayout -> CEnumZ SDL_PackedLayout # declaredValues :: proxy SDL_PackedLayout -> DeclaredValues SDL_PackedLayout # showsUndeclared :: proxy SDL_PackedLayout -> Int -> CEnumZ SDL_PackedLayout -> ShowS # readPrecUndeclared :: ReadPrec SDL_PackedLayout # isDeclared :: SDL_PackedLayout -> Bool # mkDeclared :: CEnumZ SDL_PackedLayout -> Maybe SDL_PackedLayout # | |||||
| SequentialCEnum SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| HasFFIType SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toFFIType :: SDL_PackedLayout -> FFIType SDL_PackedLayout # fromFFIType :: FFIType SDL_PackedLayout -> SDL_PackedLayout # | |||||
| ReadRaw SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods | |||||
| StaticSize SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_PackedLayout -> Int # staticAlignment :: Proxy SDL_PackedLayout -> Int # | |||||
| WriteRaw SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_PackedLayout -> SDL_PackedLayout -> IO () # | |||||
| HasCField SDL_PackedLayout "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_PackedLayout ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PackedLayout -> (ty -> SDL_PackedLayout, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_PackedLayout) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PackedLayout -> Ptr ty # | |||||
| type Rep SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_PackedLayout = D1 ('MetaData "SDL_PackedLayout" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_PackedLayout" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_PackedLayout Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PackedLayout "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_PACKEDLAYOUT_NONE :: SDL_PackedLayout Source #
- C declaration
SDL_PACKEDLAYOUT_NONE, defined atSDL3/SDL_pixels.h 205:5
pattern SDL_PACKEDLAYOUT_332 :: SDL_PackedLayout Source #
- C declaration
SDL_PACKEDLAYOUT_332, defined atSDL3/SDL_pixels.h 206:5
pattern SDL_PACKEDLAYOUT_4444 :: SDL_PackedLayout Source #
- C declaration
SDL_PACKEDLAYOUT_4444, defined atSDL3/SDL_pixels.h 207:5
pattern SDL_PACKEDLAYOUT_1555 :: SDL_PackedLayout Source #
- C declaration
SDL_PACKEDLAYOUT_1555, defined atSDL3/SDL_pixels.h 208:5
pattern SDL_PACKEDLAYOUT_5551 :: SDL_PackedLayout Source #
- C declaration
SDL_PACKEDLAYOUT_5551, defined atSDL3/SDL_pixels.h 209:5
pattern SDL_PACKEDLAYOUT_565 :: SDL_PackedLayout Source #
- C declaration
SDL_PACKEDLAYOUT_565, defined atSDL3/SDL_pixels.h 210:5
pattern SDL_PACKEDLAYOUT_8888 :: SDL_PackedLayout Source #
- C declaration
SDL_PACKEDLAYOUT_8888, defined atSDL3/SDL_pixels.h 211:5
pattern SDL_PACKEDLAYOUT_2101010 :: SDL_PackedLayout Source #
- C declaration
SDL_PACKEDLAYOUT_2101010, defined atSDL3/SDL_pixels.h 212:5
pattern SDL_PACKEDLAYOUT_1010102 :: SDL_PackedLayout Source #
- C declaration
SDL_PACKEDLAYOUT_1010102, defined atSDL3/SDL_pixels.h 213:5
sDL_DEFINE_PIXELFORMAT :: (Bitwise (BitsRes CInt (ShiftRes a10)) (ShiftRes a21), Bitwise (BitsRes (BitsRes CInt (ShiftRes a10)) (ShiftRes a21)) (ShiftRes a32), Bitwise (BitsRes (BitsRes (BitsRes CInt (ShiftRes a10)) (ShiftRes a21)) (ShiftRes a32)) (ShiftRes a43), Bitwise (BitsRes (BitsRes (BitsRes (BitsRes CInt (ShiftRes a10)) (ShiftRes a21)) (ShiftRes a32)) (ShiftRes a43)) (ShiftRes a54), Bitwise CInt (ShiftRes a10), Shift a54 CInt, Shift a43 CInt, Shift a32 CInt, Shift a21 CInt, Shift a10 CInt) => a10 -> a21 -> a32 -> a43 -> a54 -> BitsRes (BitsRes (BitsRes (BitsRes (BitsRes CInt (ShiftRes a10)) (ShiftRes a21)) (ShiftRes a32)) (ShiftRes a43)) (ShiftRes a54) Source #
A macro for defining custom non-FourCC pixel formats.
For example, defining SDL_PIXELFORMAT_RGBA8888 looks like this:
SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBA, SDL_PACKEDLAYOUT_8888, 32, 4)
type- the type of the new format, probably a
SDL_PixelTypevalue. order- the order of the new format, probably a
SDL_BitmapOrder,SDL_PackedOrder, orSDL_ArrayOrdervalue. layout- the layout of the new format, probably an
SDL_PackedLayoutvalue or zero. bits- the number of bits per pixel of the new format.
bytes- the number of bytes per pixel of the new format.
- Returns
- a format value in the style of
SDL_PixelFormat. - Thread safety
- It is safe to call this macro from any thread.
- C declaration
macro SDL_DEFINE_PIXELFORMAT, defined atSDL3/SDL_pixels.h 259:9
Since: 3.2.0
sDL_PIXELFLAG :: (Bitwise (ShiftRes a0) CInt, Shift a0 CInt) => a0 -> BitsRes (ShiftRes a0) CInt Source #
A macro to retrieve the flags of an SDL_PixelFormat.
This macro is generally not needed directly by an app, which should use specific tests, like SDL_ISPIXELFORMAT_FOURCC, instead.
format- an
SDL_PixelFormatto check. - Returns
- the flags of
format. - Thread safety
- It is safe to call this macro from any thread.
- C declaration
macro SDL_PIXELFLAG, defined atSDL3/SDL_pixels.h 276:9
Since: 3.2.0
sDL_PIXELTYPE :: (Bitwise (ShiftRes a0) CInt, Shift a0 CInt) => a0 -> BitsRes (ShiftRes a0) CInt Source #
A macro to retrieve the type of an SDL_PixelFormat.
This is usually a value from the SDL_PixelType enumeration.
format- an
SDL_PixelFormatto check. - Returns
- the type of
format. - Thread safety
- It is safe to call this macro from any thread.
- C declaration
macro SDL_PIXELTYPE, defined atSDL3/SDL_pixels.h 290:9
Since: 3.2.0
sDL_PIXELORDER :: (Bitwise (ShiftRes a0) CInt, Shift a0 CInt) => a0 -> BitsRes (ShiftRes a0) CInt Source #
A macro to retrieve the order of an SDL_PixelFormat.
This is usually a value from the SDL_BitmapOrder, SDL_PackedOrder, or SDL_ArrayOrder enumerations, depending on the format type.
format- an
SDL_PixelFormatto check. - Returns
- the order of
format. - Thread safety
- It is safe to call this macro from any thread.
- C declaration
macro SDL_PIXELORDER, defined atSDL3/SDL_pixels.h 305:9
Since: 3.2.0
sDL_PIXELLAYOUT :: (Bitwise (ShiftRes a0) CInt, Shift a0 CInt) => a0 -> BitsRes (ShiftRes a0) CInt Source #
A macro to retrieve the layout of an SDL_PixelFormat.
This is usually a value from the SDL_PackedLayout enumeration, or zero if a layout doesn't make sense for the format type.
format- an
SDL_PixelFormatto check. - Returns
- the layout of
format. - Thread safety
- It is safe to call this macro from any thread.
- C declaration
macro SDL_PIXELLAYOUT, defined atSDL3/SDL_pixels.h 320:9
Since: 3.2.0
newtype SDL_PixelFormat Source #
Pixel format.
SDL's pixel formats have the following naming convention:
- Names with a list of components and a single bit count, such as RGB24 and ABGR32, define a platform-independent encoding into bytes in the order specified. For example, in RGB24 data, each pixel is encoded in 3 bytes (red, green, blue) in that order, and in ABGR32 data, each pixel is encoded in 4 bytes (alpha, blue, green, red) in that order. Use these names if the property of a format that is important to you is the order of the bytes in memory or on disk.
- Names with a bit count per component, such as ARGB8888 and XRGB1555, are "packed" into an appropriately-sized integer in the platform's native endianness. For example, ARGB8888 is a sequence of 32-bit integers; in each integer, the most significant bits are alpha, and the least significant bits are blue. On a little-endian CPU such as x86, the least significant bits of each integer are arranged first in memory, but on a big-endian CPU such as s390x, the most significant bits are arranged first. Use these names if the property of a format that is important to you is the meaning of each bit position within a native-endianness integer.
- In indexed formats such as INDEX4LSB, each pixel is represented by encoding an index into the palette into the indicated number of bits, with multiple pixels packed into each byte if appropriate. In LSB formats, the first (leftmost) pixel is stored in the least-significant bits of the byte; in MSB formats, it's stored in the most-significant bits. INDEX8 does not need LSB/MSB variants, because each pixel exactly fills one byte.
The 32-bit byte-array encodings such as RGBA32 are aliases for the appropriate 8888 encoding for the current platform. For example, RGBA32 is an alias for ABGR8888 on little-endian CPUs like x86, or an alias for RGBA8888 on big-endian CPUs.
- C declaration
enum SDL_PixelFormat, defined atSDL3/SDL_pixels.h 548:14
Since: 3.2.0
Constructors
| SDL_PixelFormat | |
Instances
| Storable SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_PixelFormat -> Int # alignment :: SDL_PixelFormat -> Int # peekElemOff :: Ptr SDL_PixelFormat -> Int -> IO SDL_PixelFormat # pokeElemOff :: Ptr SDL_PixelFormat -> Int -> SDL_PixelFormat -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_PixelFormat # pokeByteOff :: Ptr b -> Int -> SDL_PixelFormat -> IO () # peek :: Ptr SDL_PixelFormat -> IO SDL_PixelFormat # poke :: Ptr SDL_PixelFormat -> SDL_PixelFormat -> IO () # | |||||
| Generic SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_PixelFormat -> Rep SDL_PixelFormat x # to :: Rep SDL_PixelFormat x -> SDL_PixelFormat # | |||||
| Read SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_PixelFormat # readList :: ReadS [SDL_PixelFormat] # | |||||
| Show SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_PixelFormat -> ShowS # show :: SDL_PixelFormat -> String # showList :: [SDL_PixelFormat] -> ShowS # | |||||
| Eq SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_PixelFormat -> SDL_PixelFormat -> Bool # (/=) :: SDL_PixelFormat -> SDL_PixelFormat -> Bool # | |||||
| Ord SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_PixelFormat -> SDL_PixelFormat -> Ordering # (<) :: SDL_PixelFormat -> SDL_PixelFormat -> Bool # (<=) :: SDL_PixelFormat -> SDL_PixelFormat -> Bool # (>) :: SDL_PixelFormat -> SDL_PixelFormat -> Bool # (>=) :: SDL_PixelFormat -> SDL_PixelFormat -> Bool # max :: SDL_PixelFormat -> SDL_PixelFormat -> SDL_PixelFormat # min :: SDL_PixelFormat -> SDL_PixelFormat -> SDL_PixelFormat # | |||||
| Prim SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_PixelFormat -> Int# # sizeOf# :: SDL_PixelFormat -> Int# # alignmentOfType# :: Proxy SDL_PixelFormat -> Int# # alignment# :: SDL_PixelFormat -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_PixelFormat # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_PixelFormat #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_PixelFormat -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_PixelFormat -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_PixelFormat # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_PixelFormat #) # writeOffAddr# :: Addr# -> Int# -> SDL_PixelFormat -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_PixelFormat -> State# s -> State# s # | |||||
| CEnum SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_PixelFormat -> SDL_PixelFormat # fromCEnum :: SDL_PixelFormat -> CEnumZ SDL_PixelFormat # declaredValues :: proxy SDL_PixelFormat -> DeclaredValues SDL_PixelFormat # showsUndeclared :: proxy SDL_PixelFormat -> Int -> CEnumZ SDL_PixelFormat -> ShowS # readPrecUndeclared :: ReadPrec SDL_PixelFormat # isDeclared :: SDL_PixelFormat -> Bool # mkDeclared :: CEnumZ SDL_PixelFormat -> Maybe SDL_PixelFormat # | |||||
| HasFFIType SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods | |||||
| ReadRaw SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_PixelFormat -> IO SDL_PixelFormat # | |||||
| StaticSize SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_PixelFormat -> Int # staticAlignment :: Proxy SDL_PixelFormat -> Int # | |||||
| WriteRaw SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_PixelFormat -> SDL_PixelFormat -> IO () # | |||||
| HasCField SDL_PixelFormat "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_PixelFormat ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormat -> (ty -> SDL_PixelFormat, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_PixelFormat) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormat -> Ptr ty # | |||||
| type Rep SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_PixelFormat = D1 ('MetaData "SDL_PixelFormat" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_PixelFormat" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_PixelFormat Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormat "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_PIXELFORMAT_UNKNOWN :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_UNKNOWN, defined atSDL3/SDL_pixels.h 550:5
pattern SDL_PIXELFORMAT_INDEX1LSB :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_INDEX1LSB, defined atSDL3/SDL_pixels.h 551:5
pattern SDL_PIXELFORMAT_INDEX1MSB :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_INDEX1MSB, defined atSDL3/SDL_pixels.h 553:5
pattern SDL_PIXELFORMAT_INDEX2LSB :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_INDEX2LSB, defined atSDL3/SDL_pixels.h 555:5
pattern SDL_PIXELFORMAT_INDEX2MSB :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_INDEX2MSB, defined atSDL3/SDL_pixels.h 557:5
pattern SDL_PIXELFORMAT_INDEX4LSB :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_INDEX4LSB, defined atSDL3/SDL_pixels.h 559:5
pattern SDL_PIXELFORMAT_INDEX4MSB :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_INDEX4MSB, defined atSDL3/SDL_pixels.h 561:5
pattern SDL_PIXELFORMAT_INDEX8 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_INDEX8, defined atSDL3/SDL_pixels.h 563:5
pattern SDL_PIXELFORMAT_RGB332 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGB332, defined atSDL3/SDL_pixels.h 565:5
pattern SDL_PIXELFORMAT_XRGB4444 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XRGB4444, defined atSDL3/SDL_pixels.h 567:5
pattern SDL_PIXELFORMAT_XBGR4444 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XBGR4444, defined atSDL3/SDL_pixels.h 569:5
pattern SDL_PIXELFORMAT_XRGB1555 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XRGB1555, defined atSDL3/SDL_pixels.h 571:5
pattern SDL_PIXELFORMAT_XBGR1555 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XBGR1555, defined atSDL3/SDL_pixels.h 573:5
pattern SDL_PIXELFORMAT_ARGB4444 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ARGB4444, defined atSDL3/SDL_pixels.h 575:5
pattern SDL_PIXELFORMAT_RGBA4444 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGBA4444, defined atSDL3/SDL_pixels.h 577:5
pattern SDL_PIXELFORMAT_ABGR4444 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ABGR4444, defined atSDL3/SDL_pixels.h 579:5
pattern SDL_PIXELFORMAT_BGRA4444 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGRA4444, defined atSDL3/SDL_pixels.h 581:5
pattern SDL_PIXELFORMAT_ARGB1555 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ARGB1555, defined atSDL3/SDL_pixels.h 583:5
pattern SDL_PIXELFORMAT_RGBA5551 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGBA5551, defined atSDL3/SDL_pixels.h 585:5
pattern SDL_PIXELFORMAT_ABGR1555 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ABGR1555, defined atSDL3/SDL_pixels.h 587:5
pattern SDL_PIXELFORMAT_BGRA5551 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGRA5551, defined atSDL3/SDL_pixels.h 589:5
pattern SDL_PIXELFORMAT_RGB565 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGB565, defined atSDL3/SDL_pixels.h 591:5
pattern SDL_PIXELFORMAT_BGR565 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGR565, defined atSDL3/SDL_pixels.h 593:5
pattern SDL_PIXELFORMAT_RGB24 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGB24, defined atSDL3/SDL_pixels.h 595:5
pattern SDL_PIXELFORMAT_BGR24 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGR24, defined atSDL3/SDL_pixels.h 597:5
pattern SDL_PIXELFORMAT_XRGB8888 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XRGB8888, defined atSDL3/SDL_pixels.h 599:5
pattern SDL_PIXELFORMAT_RGBX8888 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGBX8888, defined atSDL3/SDL_pixels.h 601:5
pattern SDL_PIXELFORMAT_XBGR8888 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XBGR8888, defined atSDL3/SDL_pixels.h 603:5
pattern SDL_PIXELFORMAT_BGRX8888 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGRX8888, defined atSDL3/SDL_pixels.h 605:5
pattern SDL_PIXELFORMAT_ARGB8888 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ARGB8888, defined atSDL3/SDL_pixels.h 607:5
pattern SDL_PIXELFORMAT_RGBA8888 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGBA8888, defined atSDL3/SDL_pixels.h 609:5
pattern SDL_PIXELFORMAT_ABGR8888 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ABGR8888, defined atSDL3/SDL_pixels.h 611:5
pattern SDL_PIXELFORMAT_BGRA8888 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGRA8888, defined atSDL3/SDL_pixels.h 613:5
pattern SDL_PIXELFORMAT_XRGB2101010 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XRGB2101010, defined atSDL3/SDL_pixels.h 615:5
pattern SDL_PIXELFORMAT_XBGR2101010 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XBGR2101010, defined atSDL3/SDL_pixels.h 617:5
pattern SDL_PIXELFORMAT_ARGB2101010 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ARGB2101010, defined atSDL3/SDL_pixels.h 619:5
pattern SDL_PIXELFORMAT_ABGR2101010 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ABGR2101010, defined atSDL3/SDL_pixels.h 621:5
pattern SDL_PIXELFORMAT_RGB48 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGB48, defined atSDL3/SDL_pixels.h 623:5
pattern SDL_PIXELFORMAT_BGR48 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGR48, defined atSDL3/SDL_pixels.h 625:5
pattern SDL_PIXELFORMAT_RGBA64 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGBA64, defined atSDL3/SDL_pixels.h 627:5
pattern SDL_PIXELFORMAT_ARGB64 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ARGB64, defined atSDL3/SDL_pixels.h 629:5
pattern SDL_PIXELFORMAT_BGRA64 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGRA64, defined atSDL3/SDL_pixels.h 631:5
pattern SDL_PIXELFORMAT_ABGR64 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ABGR64, defined atSDL3/SDL_pixels.h 633:5
pattern SDL_PIXELFORMAT_RGB48_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGB48_FLOAT, defined atSDL3/SDL_pixels.h 635:5
pattern SDL_PIXELFORMAT_BGR48_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGR48_FLOAT, defined atSDL3/SDL_pixels.h 637:5
pattern SDL_PIXELFORMAT_RGBA64_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGBA64_FLOAT, defined atSDL3/SDL_pixels.h 639:5
pattern SDL_PIXELFORMAT_ARGB64_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ARGB64_FLOAT, defined atSDL3/SDL_pixels.h 641:5
pattern SDL_PIXELFORMAT_BGRA64_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGRA64_FLOAT, defined atSDL3/SDL_pixels.h 643:5
pattern SDL_PIXELFORMAT_ABGR64_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ABGR64_FLOAT, defined atSDL3/SDL_pixels.h 645:5
pattern SDL_PIXELFORMAT_RGB96_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGB96_FLOAT, defined atSDL3/SDL_pixels.h 647:5
pattern SDL_PIXELFORMAT_BGR96_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGR96_FLOAT, defined atSDL3/SDL_pixels.h 649:5
pattern SDL_PIXELFORMAT_RGBA128_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGBA128_FLOAT, defined atSDL3/SDL_pixels.h 651:5
pattern SDL_PIXELFORMAT_ARGB128_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ARGB128_FLOAT, defined atSDL3/SDL_pixels.h 653:5
pattern SDL_PIXELFORMAT_BGRA128_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGRA128_FLOAT, defined atSDL3/SDL_pixels.h 655:5
pattern SDL_PIXELFORMAT_ABGR128_FLOAT :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ABGR128_FLOAT, defined atSDL3/SDL_pixels.h 657:5
pattern SDL_PIXELFORMAT_YV12 :: SDL_PixelFormat Source #
Planar mode: Y + V + U (3 planes)
- C declaration
SDL_PIXELFORMAT_YV12, defined atSDL3/SDL_pixels.h 660:5
pattern SDL_PIXELFORMAT_IYUV :: SDL_PixelFormat Source #
Planar mode: Y + U + V (3 planes)
- C declaration
SDL_PIXELFORMAT_IYUV, defined atSDL3/SDL_pixels.h 662:5
pattern SDL_PIXELFORMAT_YUY2 :: SDL_PixelFormat Source #
Packed mode: Y0+U0+Y1+V0 (1 plane)
- C declaration
SDL_PIXELFORMAT_YUY2, defined atSDL3/SDL_pixels.h 664:5
pattern SDL_PIXELFORMAT_UYVY :: SDL_PixelFormat Source #
Packed mode: U0+Y0+V0+Y1 (1 plane)
- C declaration
SDL_PIXELFORMAT_UYVY, defined atSDL3/SDL_pixels.h 666:5
pattern SDL_PIXELFORMAT_YVYU :: SDL_PixelFormat Source #
Packed mode: Y0+V0+Y1+U0 (1 plane)
- C declaration
SDL_PIXELFORMAT_YVYU, defined atSDL3/SDL_pixels.h 668:5
pattern SDL_PIXELFORMAT_NV12 :: SDL_PixelFormat Source #
Planar mode: Y + U/V interleaved (2 planes)
- C declaration
SDL_PIXELFORMAT_NV12, defined atSDL3/SDL_pixels.h 670:5
pattern SDL_PIXELFORMAT_NV21 :: SDL_PixelFormat Source #
Planar mode: Y + V/U interleaved (2 planes)
- C declaration
SDL_PIXELFORMAT_NV21, defined atSDL3/SDL_pixels.h 672:5
pattern SDL_PIXELFORMAT_P010 :: SDL_PixelFormat Source #
Planar mode: Y + U/V interleaved (2 planes)
- C declaration
SDL_PIXELFORMAT_P010, defined atSDL3/SDL_pixels.h 674:5
pattern SDL_PIXELFORMAT_EXTERNAL_OES :: SDL_PixelFormat Source #
Android video texture format
- C declaration
SDL_PIXELFORMAT_EXTERNAL_OES, defined atSDL3/SDL_pixels.h 676:5
pattern SDL_PIXELFORMAT_MJPG :: SDL_PixelFormat Source #
Motion JPEG
- C declaration
SDL_PIXELFORMAT_MJPG, defined atSDL3/SDL_pixels.h 679:5
pattern SDL_PIXELFORMAT_RGBA32 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGBA32, defined atSDL3/SDL_pixels.h 693:5
pattern SDL_PIXELFORMAT_ARGB32 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ARGB32, defined atSDL3/SDL_pixels.h 694:5
pattern SDL_PIXELFORMAT_BGRA32 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGRA32, defined atSDL3/SDL_pixels.h 695:5
pattern SDL_PIXELFORMAT_ABGR32 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_ABGR32, defined atSDL3/SDL_pixels.h 696:5
pattern SDL_PIXELFORMAT_RGBX32 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_RGBX32, defined atSDL3/SDL_pixels.h 697:5
pattern SDL_PIXELFORMAT_XRGB32 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XRGB32, defined atSDL3/SDL_pixels.h 698:5
pattern SDL_PIXELFORMAT_BGRX32 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_BGRX32, defined atSDL3/SDL_pixels.h 699:5
pattern SDL_PIXELFORMAT_XBGR32 :: SDL_PixelFormat Source #
- C declaration
SDL_PIXELFORMAT_XBGR32, defined atSDL3/SDL_pixels.h 700:5
newtype SDL_ColorType Source #
Colorspace color type.
- C declaration
enum SDL_ColorType, defined atSDL3/SDL_pixels.h 709:14
Since: 3.2.0
Constructors
| SDL_ColorType | |
Instances
| Storable SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_ColorType -> Int # alignment :: SDL_ColorType -> Int # peekElemOff :: Ptr SDL_ColorType -> Int -> IO SDL_ColorType # pokeElemOff :: Ptr SDL_ColorType -> Int -> SDL_ColorType -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_ColorType # pokeByteOff :: Ptr b -> Int -> SDL_ColorType -> IO () # peek :: Ptr SDL_ColorType -> IO SDL_ColorType # poke :: Ptr SDL_ColorType -> SDL_ColorType -> IO () # | |||||
| Generic SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| Read SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_ColorType # readList :: ReadS [SDL_ColorType] # | |||||
| Show SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_ColorType -> ShowS # show :: SDL_ColorType -> String # showList :: [SDL_ColorType] -> ShowS # | |||||
| Eq SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_ColorType -> SDL_ColorType -> Bool # (/=) :: SDL_ColorType -> SDL_ColorType -> Bool # | |||||
| Ord SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_ColorType -> SDL_ColorType -> Ordering # (<) :: SDL_ColorType -> SDL_ColorType -> Bool # (<=) :: SDL_ColorType -> SDL_ColorType -> Bool # (>) :: SDL_ColorType -> SDL_ColorType -> Bool # (>=) :: SDL_ColorType -> SDL_ColorType -> Bool # max :: SDL_ColorType -> SDL_ColorType -> SDL_ColorType # min :: SDL_ColorType -> SDL_ColorType -> SDL_ColorType # | |||||
| Prim SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_ColorType -> Int# # sizeOf# :: SDL_ColorType -> Int# # alignmentOfType# :: Proxy SDL_ColorType -> Int# # alignment# :: SDL_ColorType -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_ColorType # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_ColorType #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_ColorType -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_ColorType -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_ColorType # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_ColorType #) # writeOffAddr# :: Addr# -> Int# -> SDL_ColorType -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_ColorType -> State# s -> State# s # | |||||
| CEnum SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_ColorType -> SDL_ColorType # fromCEnum :: SDL_ColorType -> CEnumZ SDL_ColorType # declaredValues :: proxy SDL_ColorType -> DeclaredValues SDL_ColorType # showsUndeclared :: proxy SDL_ColorType -> Int -> CEnumZ SDL_ColorType -> ShowS # readPrecUndeclared :: ReadPrec SDL_ColorType # isDeclared :: SDL_ColorType -> Bool # | |||||
| SequentialCEnum SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| HasFFIType SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods | |||||
| ReadRaw SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_ColorType -> IO SDL_ColorType # | |||||
| StaticSize SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| WriteRaw SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_ColorType -> SDL_ColorType -> IO () # | |||||
| HasCField SDL_ColorType "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_ColorType ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_ColorType -> (ty -> SDL_ColorType, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_ColorType) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_ColorType -> Ptr ty # | |||||
| type Rep SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_ColorType = D1 ('MetaData "SDL_ColorType" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_ColorType" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_ColorType Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_ColorType "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_COLOR_TYPE_UNKNOWN :: SDL_ColorType Source #
- C declaration
SDL_COLOR_TYPE_UNKNOWN, defined atSDL3/SDL_pixels.h 711:5
pattern SDL_COLOR_TYPE_RGB :: SDL_ColorType Source #
- C declaration
SDL_COLOR_TYPE_RGB, defined atSDL3/SDL_pixels.h 712:5
pattern SDL_COLOR_TYPE_YCBCR :: SDL_ColorType Source #
- C declaration
SDL_COLOR_TYPE_YCBCR, defined atSDL3/SDL_pixels.h 713:5
newtype SDL_ColorRange Source #
Colorspace color range, as described by https://www.itu.int/rec/R-REC-BT.2100-2-201807-I/en
- C declaration
enum SDL_ColorRange, defined atSDL3/SDL_pixels.h 722:14
Since: 3.2.0
Constructors
| SDL_ColorRange | |
Instances
| Storable SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_ColorRange -> Int # alignment :: SDL_ColorRange -> Int # peekElemOff :: Ptr SDL_ColorRange -> Int -> IO SDL_ColorRange # pokeElemOff :: Ptr SDL_ColorRange -> Int -> SDL_ColorRange -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_ColorRange # pokeByteOff :: Ptr b -> Int -> SDL_ColorRange -> IO () # peek :: Ptr SDL_ColorRange -> IO SDL_ColorRange # poke :: Ptr SDL_ColorRange -> SDL_ColorRange -> IO () # | |||||
| Generic SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_ColorRange -> Rep SDL_ColorRange x # to :: Rep SDL_ColorRange x -> SDL_ColorRange # | |||||
| Read SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_ColorRange # readList :: ReadS [SDL_ColorRange] # | |||||
| Show SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_ColorRange -> ShowS # show :: SDL_ColorRange -> String # showList :: [SDL_ColorRange] -> ShowS # | |||||
| Eq SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_ColorRange -> SDL_ColorRange -> Bool # (/=) :: SDL_ColorRange -> SDL_ColorRange -> Bool # | |||||
| Ord SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_ColorRange -> SDL_ColorRange -> Ordering # (<) :: SDL_ColorRange -> SDL_ColorRange -> Bool # (<=) :: SDL_ColorRange -> SDL_ColorRange -> Bool # (>) :: SDL_ColorRange -> SDL_ColorRange -> Bool # (>=) :: SDL_ColorRange -> SDL_ColorRange -> Bool # max :: SDL_ColorRange -> SDL_ColorRange -> SDL_ColorRange # min :: SDL_ColorRange -> SDL_ColorRange -> SDL_ColorRange # | |||||
| Prim SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_ColorRange -> Int# # sizeOf# :: SDL_ColorRange -> Int# # alignmentOfType# :: Proxy SDL_ColorRange -> Int# # alignment# :: SDL_ColorRange -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_ColorRange # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_ColorRange #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_ColorRange -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_ColorRange -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_ColorRange # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_ColorRange #) # writeOffAddr# :: Addr# -> Int# -> SDL_ColorRange -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_ColorRange -> State# s -> State# s # | |||||
| CEnum SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_ColorRange -> SDL_ColorRange # fromCEnum :: SDL_ColorRange -> CEnumZ SDL_ColorRange # declaredValues :: proxy SDL_ColorRange -> DeclaredValues SDL_ColorRange # showsUndeclared :: proxy SDL_ColorRange -> Int -> CEnumZ SDL_ColorRange -> ShowS # readPrecUndeclared :: ReadPrec SDL_ColorRange # isDeclared :: SDL_ColorRange -> Bool # mkDeclared :: CEnumZ SDL_ColorRange -> Maybe SDL_ColorRange # | |||||
| SequentialCEnum SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| HasFFIType SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods | |||||
| ReadRaw SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_ColorRange -> IO SDL_ColorRange # | |||||
| StaticSize SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_ColorRange -> Int # staticAlignment :: Proxy SDL_ColorRange -> Int # | |||||
| WriteRaw SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_ColorRange -> SDL_ColorRange -> IO () # | |||||
| HasCField SDL_ColorRange "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_ColorRange ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_ColorRange -> (ty -> SDL_ColorRange, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_ColorRange) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_ColorRange -> Ptr ty # | |||||
| type Rep SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_ColorRange = D1 ('MetaData "SDL_ColorRange" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_ColorRange" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_ColorRange Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_ColorRange "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_COLOR_RANGE_UNKNOWN :: SDL_ColorRange Source #
- C declaration
SDL_COLOR_RANGE_UNKNOWN, defined atSDL3/SDL_pixels.h 724:5
pattern SDL_COLOR_RANGE_LIMITED :: SDL_ColorRange Source #
Narrow range, e.g. 16-235 for 8-bit RGB and luma, and 16-240 for 8-bit chroma
- C declaration
SDL_COLOR_RANGE_LIMITED, defined atSDL3/SDL_pixels.h 725:5
pattern SDL_COLOR_RANGE_FULL :: SDL_ColorRange Source #
Full range, e.g. 0-255 for 8-bit RGB and luma, and 1-255 for 8-bit chroma
- C declaration
SDL_COLOR_RANGE_FULL, defined atSDL3/SDL_pixels.h 726:5
newtype SDL_ColorPrimaries Source #
Colorspace color primaries, as described by https://www.itu.int/rec/T-REC-H.273-201612-S/en
- C declaration
enum SDL_ColorPrimaries, defined atSDL3/SDL_pixels.h 735:14
Since: 3.2.0
Constructors
| SDL_ColorPrimaries | |
Instances
| Storable SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_ColorPrimaries -> Int # alignment :: SDL_ColorPrimaries -> Int # peekElemOff :: Ptr SDL_ColorPrimaries -> Int -> IO SDL_ColorPrimaries # pokeElemOff :: Ptr SDL_ColorPrimaries -> Int -> SDL_ColorPrimaries -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_ColorPrimaries # pokeByteOff :: Ptr b -> Int -> SDL_ColorPrimaries -> IO () # peek :: Ptr SDL_ColorPrimaries -> IO SDL_ColorPrimaries # poke :: Ptr SDL_ColorPrimaries -> SDL_ColorPrimaries -> IO () # | |||||
| Generic SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_ColorPrimaries -> Rep SDL_ColorPrimaries x # to :: Rep SDL_ColorPrimaries x -> SDL_ColorPrimaries # | |||||
| Read SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_ColorPrimaries # readList :: ReadS [SDL_ColorPrimaries] # | |||||
| Show SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_ColorPrimaries -> ShowS # show :: SDL_ColorPrimaries -> String # showList :: [SDL_ColorPrimaries] -> ShowS # | |||||
| Eq SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_ColorPrimaries -> SDL_ColorPrimaries -> Bool # (/=) :: SDL_ColorPrimaries -> SDL_ColorPrimaries -> Bool # | |||||
| Ord SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_ColorPrimaries -> SDL_ColorPrimaries -> Ordering # (<) :: SDL_ColorPrimaries -> SDL_ColorPrimaries -> Bool # (<=) :: SDL_ColorPrimaries -> SDL_ColorPrimaries -> Bool # (>) :: SDL_ColorPrimaries -> SDL_ColorPrimaries -> Bool # (>=) :: SDL_ColorPrimaries -> SDL_ColorPrimaries -> Bool # max :: SDL_ColorPrimaries -> SDL_ColorPrimaries -> SDL_ColorPrimaries # min :: SDL_ColorPrimaries -> SDL_ColorPrimaries -> SDL_ColorPrimaries # | |||||
| Prim SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_ColorPrimaries -> Int# # sizeOf# :: SDL_ColorPrimaries -> Int# # alignmentOfType# :: Proxy SDL_ColorPrimaries -> Int# # alignment# :: SDL_ColorPrimaries -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_ColorPrimaries # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_ColorPrimaries #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_ColorPrimaries -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_ColorPrimaries -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_ColorPrimaries # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_ColorPrimaries #) # writeOffAddr# :: Addr# -> Int# -> SDL_ColorPrimaries -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_ColorPrimaries -> State# s -> State# s # | |||||
| CEnum SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_ColorPrimaries -> SDL_ColorPrimaries # fromCEnum :: SDL_ColorPrimaries -> CEnumZ SDL_ColorPrimaries # declaredValues :: proxy SDL_ColorPrimaries -> DeclaredValues SDL_ColorPrimaries # showsUndeclared :: proxy SDL_ColorPrimaries -> Int -> CEnumZ SDL_ColorPrimaries -> ShowS # readPrecUndeclared :: ReadPrec SDL_ColorPrimaries # isDeclared :: SDL_ColorPrimaries -> Bool # mkDeclared :: CEnumZ SDL_ColorPrimaries -> Maybe SDL_ColorPrimaries # | |||||
| HasFFIType SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toFFIType :: SDL_ColorPrimaries -> FFIType SDL_ColorPrimaries # fromFFIType :: FFIType SDL_ColorPrimaries -> SDL_ColorPrimaries # | |||||
| ReadRaw SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_ColorPrimaries -> IO SDL_ColorPrimaries # | |||||
| StaticSize SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_ColorPrimaries -> Int # | |||||
| WriteRaw SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_ColorPrimaries -> SDL_ColorPrimaries -> IO () # | |||||
| HasCField SDL_ColorPrimaries "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_ColorPrimaries ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_ColorPrimaries -> (ty -> SDL_ColorPrimaries, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_ColorPrimaries) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_ColorPrimaries -> Ptr ty # | |||||
| type Rep SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_ColorPrimaries = D1 ('MetaData "SDL_ColorPrimaries" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_ColorPrimaries" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_ColorPrimaries Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_ColorPrimaries "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_COLOR_PRIMARIES_UNKNOWN :: SDL_ColorPrimaries Source #
- C declaration
SDL_COLOR_PRIMARIES_UNKNOWN, defined atSDL3/SDL_pixels.h 737:5
pattern SDL_COLOR_PRIMARIES_BT709 :: SDL_ColorPrimaries Source #
ITU-R BT.709-6
- C declaration
SDL_COLOR_PRIMARIES_BT709, defined atSDL3/SDL_pixels.h 738:5
pattern SDL_COLOR_PRIMARIES_UNSPECIFIED :: SDL_ColorPrimaries Source #
- C declaration
SDL_COLOR_PRIMARIES_UNSPECIFIED, defined atSDL3/SDL_pixels.h 739:5
pattern SDL_COLOR_PRIMARIES_BT470M :: SDL_ColorPrimaries Source #
ITU-R BT.470-6 System M
- C declaration
SDL_COLOR_PRIMARIES_BT470M, defined atSDL3/SDL_pixels.h 740:5
pattern SDL_COLOR_PRIMARIES_BT470BG :: SDL_ColorPrimaries Source #
ITU-R BT.470-6 System B, G / ITU-R BT.601-7 625
- C declaration
SDL_COLOR_PRIMARIES_BT470BG, defined atSDL3/SDL_pixels.h 741:5
pattern SDL_COLOR_PRIMARIES_BT601 :: SDL_ColorPrimaries Source #
ITU-R BT.601-7 525, SMPTE 170M
- C declaration
SDL_COLOR_PRIMARIES_BT601, defined atSDL3/SDL_pixels.h 742:5
pattern SDL_COLOR_PRIMARIES_SMPTE240 :: SDL_ColorPrimaries Source #
SMPTE 240M, functionally the same as SDL_COLOR_PRIMARIES_BT601
- C declaration
SDL_COLOR_PRIMARIES_SMPTE240, defined atSDL3/SDL_pixels.h 743:5
pattern SDL_COLOR_PRIMARIES_GENERIC_FILM :: SDL_ColorPrimaries Source #
Generic film (color filters using Illuminant C)
- C declaration
SDL_COLOR_PRIMARIES_GENERIC_FILM, defined atSDL3/SDL_pixels.h 744:5
pattern SDL_COLOR_PRIMARIES_BT2020 :: SDL_ColorPrimaries Source #
ITU-R BT.2020-2 / ITU-R BT.2100-0
- C declaration
SDL_COLOR_PRIMARIES_BT2020, defined atSDL3/SDL_pixels.h 745:5
pattern SDL_COLOR_PRIMARIES_XYZ :: SDL_ColorPrimaries Source #
SMPTE ST 428-1
- C declaration
SDL_COLOR_PRIMARIES_XYZ, defined atSDL3/SDL_pixels.h 746:5
pattern SDL_COLOR_PRIMARIES_SMPTE431 :: SDL_ColorPrimaries Source #
SMPTE RP 431-2
- C declaration
SDL_COLOR_PRIMARIES_SMPTE431, defined atSDL3/SDL_pixels.h 747:5
pattern SDL_COLOR_PRIMARIES_SMPTE432 :: SDL_ColorPrimaries Source #
SMPTE EG 432-1 / DCI P3
- C declaration
SDL_COLOR_PRIMARIES_SMPTE432, defined atSDL3/SDL_pixels.h 748:5
pattern SDL_COLOR_PRIMARIES_EBU3213 :: SDL_ColorPrimaries Source #
EBU Tech. 3213-E
- C declaration
SDL_COLOR_PRIMARIES_EBU3213, defined atSDL3/SDL_pixels.h 749:5
pattern SDL_COLOR_PRIMARIES_CUSTOM :: SDL_ColorPrimaries Source #
- C declaration
SDL_COLOR_PRIMARIES_CUSTOM, defined atSDL3/SDL_pixels.h 750:5
newtype SDL_TransferCharacteristics Source #
Colorspace transfer characteristics.
These are as described by https://www.itu.int/rec/T-REC-H.273-201612-S/en
- C declaration
enum SDL_TransferCharacteristics, defined atSDL3/SDL_pixels.h 760:14
Since: 3.2.0
Constructors
| SDL_TransferCharacteristics | |
Instances
| Storable SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_TransferCharacteristics -> Int # alignment :: SDL_TransferCharacteristics -> Int # peekElemOff :: Ptr SDL_TransferCharacteristics -> Int -> IO SDL_TransferCharacteristics # pokeElemOff :: Ptr SDL_TransferCharacteristics -> Int -> SDL_TransferCharacteristics -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_TransferCharacteristics # pokeByteOff :: Ptr b -> Int -> SDL_TransferCharacteristics -> IO () # peek :: Ptr SDL_TransferCharacteristics -> IO SDL_TransferCharacteristics # poke :: Ptr SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> IO () # | |||||
| Generic SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_TransferCharacteristics -> Rep SDL_TransferCharacteristics x # to :: Rep SDL_TransferCharacteristics x -> SDL_TransferCharacteristics # | |||||
| Read SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| Show SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_TransferCharacteristics -> ShowS # show :: SDL_TransferCharacteristics -> String # showList :: [SDL_TransferCharacteristics] -> ShowS # | |||||
| Eq SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> Bool # (/=) :: SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> Bool # | |||||
| Ord SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> Ordering # (<) :: SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> Bool # (<=) :: SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> Bool # (>) :: SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> Bool # (>=) :: SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> Bool # max :: SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> SDL_TransferCharacteristics # min :: SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> SDL_TransferCharacteristics # | |||||
| Prim SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_TransferCharacteristics -> Int# # sizeOf# :: SDL_TransferCharacteristics -> Int# # alignmentOfType# :: Proxy SDL_TransferCharacteristics -> Int# # alignment# :: SDL_TransferCharacteristics -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_TransferCharacteristics # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_TransferCharacteristics #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_TransferCharacteristics -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_TransferCharacteristics -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_TransferCharacteristics # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_TransferCharacteristics #) # writeOffAddr# :: Addr# -> Int# -> SDL_TransferCharacteristics -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_TransferCharacteristics -> State# s -> State# s # | |||||
| CEnum SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_TransferCharacteristics -> SDL_TransferCharacteristics # fromCEnum :: SDL_TransferCharacteristics -> CEnumZ SDL_TransferCharacteristics # declaredValues :: proxy SDL_TransferCharacteristics -> DeclaredValues SDL_TransferCharacteristics # showsUndeclared :: proxy SDL_TransferCharacteristics -> Int -> CEnumZ SDL_TransferCharacteristics -> ShowS # readPrecUndeclared :: ReadPrec SDL_TransferCharacteristics # isDeclared :: SDL_TransferCharacteristics -> Bool # mkDeclared :: CEnumZ SDL_TransferCharacteristics -> Maybe SDL_TransferCharacteristics # | |||||
| HasFFIType SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ReadRaw SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_TransferCharacteristics -> IO SDL_TransferCharacteristics # | |||||
| StaticSize SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_TransferCharacteristics -> Int # staticAlignment :: Proxy SDL_TransferCharacteristics -> Int # | |||||
| WriteRaw SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_TransferCharacteristics -> SDL_TransferCharacteristics -> IO () # | |||||
| HasCField SDL_TransferCharacteristics "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_TransferCharacteristics ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_TransferCharacteristics -> (ty -> SDL_TransferCharacteristics, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_TransferCharacteristics) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_TransferCharacteristics -> Ptr ty # | |||||
| type Rep SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_TransferCharacteristics = D1 ('MetaData "SDL_TransferCharacteristics" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_TransferCharacteristics" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_TransferCharacteristics Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_TransferCharacteristics "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_TRANSFER_CHARACTERISTICS_UNKNOWN :: SDL_TransferCharacteristics Source #
- C declaration
SDL_TRANSFER_CHARACTERISTICS_UNKNOWN, defined atSDL3/SDL_pixels.h 762:5
pattern SDL_TRANSFER_CHARACTERISTICS_BT709 :: SDL_TransferCharacteristics Source #
Rec. ITU-R BT.709-6 / ITU-R BT1361
- C declaration
SDL_TRANSFER_CHARACTERISTICS_BT709, defined atSDL3/SDL_pixels.h 763:5
pattern SDL_TRANSFER_CHARACTERISTICS_UNSPECIFIED :: SDL_TransferCharacteristics Source #
- C declaration
SDL_TRANSFER_CHARACTERISTICS_UNSPECIFIED, defined atSDL3/SDL_pixels.h 764:5
pattern SDL_TRANSFER_CHARACTERISTICS_GAMMA22 :: SDL_TransferCharacteristics Source #
ITU-R BT.470-6 System M / ITU-R BT1700 625 PAL & SECAM
- C declaration
SDL_TRANSFER_CHARACTERISTICS_GAMMA22, defined atSDL3/SDL_pixels.h 765:5
pattern SDL_TRANSFER_CHARACTERISTICS_GAMMA28 :: SDL_TransferCharacteristics Source #
ITU-R BT.470-6 System B, G
- C declaration
SDL_TRANSFER_CHARACTERISTICS_GAMMA28, defined atSDL3/SDL_pixels.h 766:5
pattern SDL_TRANSFER_CHARACTERISTICS_BT601 :: SDL_TransferCharacteristics Source #
SMPTE ST 170M / ITU-R BT.601-7 525 or 625
- C declaration
SDL_TRANSFER_CHARACTERISTICS_BT601, defined atSDL3/SDL_pixels.h 767:5
pattern SDL_TRANSFER_CHARACTERISTICS_SMPTE240 :: SDL_TransferCharacteristics Source #
SMPTE ST 240M
- C declaration
SDL_TRANSFER_CHARACTERISTICS_SMPTE240, defined atSDL3/SDL_pixels.h 768:5
pattern SDL_TRANSFER_CHARACTERISTICS_LINEAR :: SDL_TransferCharacteristics Source #
- C declaration
SDL_TRANSFER_CHARACTERISTICS_LINEAR, defined atSDL3/SDL_pixels.h 769:5
pattern SDL_TRANSFER_CHARACTERISTICS_LOG100 :: SDL_TransferCharacteristics Source #
- C declaration
SDL_TRANSFER_CHARACTERISTICS_LOG100, defined atSDL3/SDL_pixels.h 770:5
pattern SDL_TRANSFER_CHARACTERISTICS_LOG100_SQRT10 :: SDL_TransferCharacteristics Source #
- C declaration
SDL_TRANSFER_CHARACTERISTICS_LOG100_SQRT10, defined atSDL3/SDL_pixels.h 771:5
pattern SDL_TRANSFER_CHARACTERISTICS_IEC61966 :: SDL_TransferCharacteristics Source #
IEC 61966-2-4
- C declaration
SDL_TRANSFER_CHARACTERISTICS_IEC61966, defined atSDL3/SDL_pixels.h 772:5
pattern SDL_TRANSFER_CHARACTERISTICS_BT1361 :: SDL_TransferCharacteristics Source #
ITU-R BT1361 Extended Colour Gamut
- C declaration
SDL_TRANSFER_CHARACTERISTICS_BT1361, defined atSDL3/SDL_pixels.h 773:5
pattern SDL_TRANSFER_CHARACTERISTICS_SRGB :: SDL_TransferCharacteristics Source #
IEC 61966-2-1 (sRGB or sYCC)
- C declaration
SDL_TRANSFER_CHARACTERISTICS_SRGB, defined atSDL3/SDL_pixels.h 774:5
pattern SDL_TRANSFER_CHARACTERISTICS_BT2020_10BIT :: SDL_TransferCharacteristics Source #
ITU-R BT2020 for 10-bit system
- C declaration
SDL_TRANSFER_CHARACTERISTICS_BT2020_10BIT, defined atSDL3/SDL_pixels.h 775:5
pattern SDL_TRANSFER_CHARACTERISTICS_BT2020_12BIT :: SDL_TransferCharacteristics Source #
ITU-R BT2020 for 12-bit system
- C declaration
SDL_TRANSFER_CHARACTERISTICS_BT2020_12BIT, defined atSDL3/SDL_pixels.h 776:5
pattern SDL_TRANSFER_CHARACTERISTICS_PQ :: SDL_TransferCharacteristics Source #
SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems
- C declaration
SDL_TRANSFER_CHARACTERISTICS_PQ, defined atSDL3/SDL_pixels.h 777:5
pattern SDL_TRANSFER_CHARACTERISTICS_SMPTE428 :: SDL_TransferCharacteristics Source #
SMPTE ST 428-1
- C declaration
SDL_TRANSFER_CHARACTERISTICS_SMPTE428, defined atSDL3/SDL_pixels.h 778:5
pattern SDL_TRANSFER_CHARACTERISTICS_HLG :: SDL_TransferCharacteristics Source #
ARIB STD-B67, known as "hybrid log-gamma" (HLG)
- C declaration
SDL_TRANSFER_CHARACTERISTICS_HLG, defined atSDL3/SDL_pixels.h 779:5
pattern SDL_TRANSFER_CHARACTERISTICS_CUSTOM :: SDL_TransferCharacteristics Source #
- C declaration
SDL_TRANSFER_CHARACTERISTICS_CUSTOM, defined atSDL3/SDL_pixels.h 780:5
newtype SDL_MatrixCoefficients Source #
Colorspace matrix coefficients.
These are as described by https://www.itu.int/rec/T-REC-H.273-201612-S/en
- C declaration
enum SDL_MatrixCoefficients, defined atSDL3/SDL_pixels.h 790:14
Since: 3.2.0
Constructors
| SDL_MatrixCoefficients | |
Instances
| Storable SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_MatrixCoefficients -> Int # alignment :: SDL_MatrixCoefficients -> Int # peekElemOff :: Ptr SDL_MatrixCoefficients -> Int -> IO SDL_MatrixCoefficients # pokeElemOff :: Ptr SDL_MatrixCoefficients -> Int -> SDL_MatrixCoefficients -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_MatrixCoefficients # pokeByteOff :: Ptr b -> Int -> SDL_MatrixCoefficients -> IO () # peek :: Ptr SDL_MatrixCoefficients -> IO SDL_MatrixCoefficients # poke :: Ptr SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> IO () # | |||||
| Generic SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_MatrixCoefficients -> Rep SDL_MatrixCoefficients x # to :: Rep SDL_MatrixCoefficients x -> SDL_MatrixCoefficients # | |||||
| Read SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| Show SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_MatrixCoefficients -> ShowS # show :: SDL_MatrixCoefficients -> String # showList :: [SDL_MatrixCoefficients] -> ShowS # | |||||
| Eq SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> Bool # (/=) :: SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> Bool # | |||||
| Ord SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> Ordering # (<) :: SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> Bool # (<=) :: SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> Bool # (>) :: SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> Bool # (>=) :: SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> Bool # max :: SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> SDL_MatrixCoefficients # min :: SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> SDL_MatrixCoefficients # | |||||
| Prim SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_MatrixCoefficients -> Int# # sizeOf# :: SDL_MatrixCoefficients -> Int# # alignmentOfType# :: Proxy SDL_MatrixCoefficients -> Int# # alignment# :: SDL_MatrixCoefficients -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_MatrixCoefficients # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_MatrixCoefficients #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_MatrixCoefficients -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_MatrixCoefficients -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_MatrixCoefficients # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_MatrixCoefficients #) # writeOffAddr# :: Addr# -> Int# -> SDL_MatrixCoefficients -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_MatrixCoefficients -> State# s -> State# s # | |||||
| CEnum SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_MatrixCoefficients -> SDL_MatrixCoefficients # fromCEnum :: SDL_MatrixCoefficients -> CEnumZ SDL_MatrixCoefficients # declaredValues :: proxy SDL_MatrixCoefficients -> DeclaredValues SDL_MatrixCoefficients # showsUndeclared :: proxy SDL_MatrixCoefficients -> Int -> CEnumZ SDL_MatrixCoefficients -> ShowS # readPrecUndeclared :: ReadPrec SDL_MatrixCoefficients # isDeclared :: SDL_MatrixCoefficients -> Bool # mkDeclared :: CEnumZ SDL_MatrixCoefficients -> Maybe SDL_MatrixCoefficients # | |||||
| HasFFIType SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ReadRaw SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_MatrixCoefficients -> IO SDL_MatrixCoefficients # | |||||
| StaticSize SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods | |||||
| WriteRaw SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_MatrixCoefficients -> SDL_MatrixCoefficients -> IO () # | |||||
| HasCField SDL_MatrixCoefficients "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_MatrixCoefficients ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_MatrixCoefficients -> (ty -> SDL_MatrixCoefficients, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_MatrixCoefficients) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_MatrixCoefficients -> Ptr ty # | |||||
| type Rep SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_MatrixCoefficients = D1 ('MetaData "SDL_MatrixCoefficients" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_MatrixCoefficients" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_MatrixCoefficients Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_MatrixCoefficients "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_MATRIX_COEFFICIENTS_IDENTITY :: SDL_MatrixCoefficients Source #
- C declaration
SDL_MATRIX_COEFFICIENTS_IDENTITY, defined atSDL3/SDL_pixels.h 792:5
pattern SDL_MATRIX_COEFFICIENTS_BT709 :: SDL_MatrixCoefficients Source #
ITU-R BT.709-6
- C declaration
SDL_MATRIX_COEFFICIENTS_BT709, defined atSDL3/SDL_pixels.h 793:5
pattern SDL_MATRIX_COEFFICIENTS_UNSPECIFIED :: SDL_MatrixCoefficients Source #
- C declaration
SDL_MATRIX_COEFFICIENTS_UNSPECIFIED, defined atSDL3/SDL_pixels.h 794:5
pattern SDL_MATRIX_COEFFICIENTS_FCC :: SDL_MatrixCoefficients Source #
US FCC Title 47
- C declaration
SDL_MATRIX_COEFFICIENTS_FCC, defined atSDL3/SDL_pixels.h 795:5
pattern SDL_MATRIX_COEFFICIENTS_BT470BG :: SDL_MatrixCoefficients Source #
ITU-R BT.470-6 System B, G / ITU-R BT.601-7 625, functionally the same as SDL_MATRIX_COEFFICIENTS_BT601
- C declaration
SDL_MATRIX_COEFFICIENTS_BT470BG, defined atSDL3/SDL_pixels.h 796:5
pattern SDL_MATRIX_COEFFICIENTS_BT601 :: SDL_MatrixCoefficients Source #
ITU-R BT.601-7 525
- C declaration
SDL_MATRIX_COEFFICIENTS_BT601, defined atSDL3/SDL_pixels.h 797:5
pattern SDL_MATRIX_COEFFICIENTS_SMPTE240 :: SDL_MatrixCoefficients Source #
SMPTE 240M
- C declaration
SDL_MATRIX_COEFFICIENTS_SMPTE240, defined atSDL3/SDL_pixels.h 798:5
pattern SDL_MATRIX_COEFFICIENTS_YCGCO :: SDL_MatrixCoefficients Source #
- C declaration
SDL_MATRIX_COEFFICIENTS_YCGCO, defined atSDL3/SDL_pixels.h 799:5
pattern SDL_MATRIX_COEFFICIENTS_BT2020_NCL :: SDL_MatrixCoefficients Source #
ITU-R BT.2020-2 non-constant luminance
- C declaration
SDL_MATRIX_COEFFICIENTS_BT2020_NCL, defined atSDL3/SDL_pixels.h 800:5
pattern SDL_MATRIX_COEFFICIENTS_BT2020_CL :: SDL_MatrixCoefficients Source #
ITU-R BT.2020-2 constant luminance
- C declaration
SDL_MATRIX_COEFFICIENTS_BT2020_CL, defined atSDL3/SDL_pixels.h 801:5
pattern SDL_MATRIX_COEFFICIENTS_SMPTE2085 :: SDL_MatrixCoefficients Source #
SMPTE ST 2085
- C declaration
SDL_MATRIX_COEFFICIENTS_SMPTE2085, defined atSDL3/SDL_pixels.h 802:5
pattern SDL_MATRIX_COEFFICIENTS_CHROMA_DERIVED_NCL :: SDL_MatrixCoefficients Source #
- C declaration
SDL_MATRIX_COEFFICIENTS_CHROMA_DERIVED_NCL, defined atSDL3/SDL_pixels.h 803:5
pattern SDL_MATRIX_COEFFICIENTS_CHROMA_DERIVED_CL :: SDL_MatrixCoefficients Source #
- C declaration
SDL_MATRIX_COEFFICIENTS_CHROMA_DERIVED_CL, defined atSDL3/SDL_pixels.h 804:5
pattern SDL_MATRIX_COEFFICIENTS_ICTCP :: SDL_MatrixCoefficients Source #
ITU-R BT.2100-0 ICTCP
- C declaration
SDL_MATRIX_COEFFICIENTS_ICTCP, defined atSDL3/SDL_pixels.h 805:5
pattern SDL_MATRIX_COEFFICIENTS_CUSTOM :: SDL_MatrixCoefficients Source #
- C declaration
SDL_MATRIX_COEFFICIENTS_CUSTOM, defined atSDL3/SDL_pixels.h 806:5
newtype SDL_ChromaLocation Source #
Colorspace chroma sample location.
- C declaration
enum SDL_ChromaLocation, defined atSDL3/SDL_pixels.h 814:14
Since: 3.2.0
Constructors
| SDL_ChromaLocation | |
Instances
| Storable SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_ChromaLocation -> Int # alignment :: SDL_ChromaLocation -> Int # peekElemOff :: Ptr SDL_ChromaLocation -> Int -> IO SDL_ChromaLocation # pokeElemOff :: Ptr SDL_ChromaLocation -> Int -> SDL_ChromaLocation -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_ChromaLocation # pokeByteOff :: Ptr b -> Int -> SDL_ChromaLocation -> IO () # peek :: Ptr SDL_ChromaLocation -> IO SDL_ChromaLocation # poke :: Ptr SDL_ChromaLocation -> SDL_ChromaLocation -> IO () # | |||||
| Generic SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_ChromaLocation -> Rep SDL_ChromaLocation x # to :: Rep SDL_ChromaLocation x -> SDL_ChromaLocation # | |||||
| Read SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_ChromaLocation # readList :: ReadS [SDL_ChromaLocation] # | |||||
| Show SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_ChromaLocation -> ShowS # show :: SDL_ChromaLocation -> String # showList :: [SDL_ChromaLocation] -> ShowS # | |||||
| Eq SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_ChromaLocation -> SDL_ChromaLocation -> Bool # (/=) :: SDL_ChromaLocation -> SDL_ChromaLocation -> Bool # | |||||
| Ord SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_ChromaLocation -> SDL_ChromaLocation -> Ordering # (<) :: SDL_ChromaLocation -> SDL_ChromaLocation -> Bool # (<=) :: SDL_ChromaLocation -> SDL_ChromaLocation -> Bool # (>) :: SDL_ChromaLocation -> SDL_ChromaLocation -> Bool # (>=) :: SDL_ChromaLocation -> SDL_ChromaLocation -> Bool # max :: SDL_ChromaLocation -> SDL_ChromaLocation -> SDL_ChromaLocation # min :: SDL_ChromaLocation -> SDL_ChromaLocation -> SDL_ChromaLocation # | |||||
| Prim SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_ChromaLocation -> Int# # sizeOf# :: SDL_ChromaLocation -> Int# # alignmentOfType# :: Proxy SDL_ChromaLocation -> Int# # alignment# :: SDL_ChromaLocation -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_ChromaLocation # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_ChromaLocation #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_ChromaLocation -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_ChromaLocation -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_ChromaLocation # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_ChromaLocation #) # writeOffAddr# :: Addr# -> Int# -> SDL_ChromaLocation -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_ChromaLocation -> State# s -> State# s # | |||||
| CEnum SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_ChromaLocation -> SDL_ChromaLocation # fromCEnum :: SDL_ChromaLocation -> CEnumZ SDL_ChromaLocation # declaredValues :: proxy SDL_ChromaLocation -> DeclaredValues SDL_ChromaLocation # showsUndeclared :: proxy SDL_ChromaLocation -> Int -> CEnumZ SDL_ChromaLocation -> ShowS # readPrecUndeclared :: ReadPrec SDL_ChromaLocation # isDeclared :: SDL_ChromaLocation -> Bool # mkDeclared :: CEnumZ SDL_ChromaLocation -> Maybe SDL_ChromaLocation # | |||||
| SequentialCEnum SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| HasFFIType SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toFFIType :: SDL_ChromaLocation -> FFIType SDL_ChromaLocation # fromFFIType :: FFIType SDL_ChromaLocation -> SDL_ChromaLocation # | |||||
| ReadRaw SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_ChromaLocation -> IO SDL_ChromaLocation # | |||||
| StaticSize SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_ChromaLocation -> Int # | |||||
| WriteRaw SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_ChromaLocation -> SDL_ChromaLocation -> IO () # | |||||
| HasCField SDL_ChromaLocation "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_ChromaLocation ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_ChromaLocation -> (ty -> SDL_ChromaLocation, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_ChromaLocation) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_ChromaLocation -> Ptr ty # | |||||
| type Rep SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_ChromaLocation = D1 ('MetaData "SDL_ChromaLocation" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_ChromaLocation" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_ChromaLocation Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_ChromaLocation "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_CHROMA_LOCATION_NONE :: SDL_ChromaLocation Source #
RGB, no chroma sampling
- C declaration
SDL_CHROMA_LOCATION_NONE, defined atSDL3/SDL_pixels.h 816:5
pattern SDL_CHROMA_LOCATION_LEFT :: SDL_ChromaLocation Source #
In MPEG-2, MPEG-4, and AVC, Cb and Cr are taken on midpoint of the left-edge of the 2x2 square. In other words, they have the same horizontal location as the top-left pixel, but is shifted one-half pixel down vertically.
- C declaration
SDL_CHROMA_LOCATION_LEFT, defined atSDL3/SDL_pixels.h 817:5
pattern SDL_CHROMA_LOCATION_CENTER :: SDL_ChromaLocation Source #
In JPEG/JFIF, H.261, and MPEG-1, Cb and Cr are taken at the center of the 2x2 square. In other words, they are offset one-half pixel to the right and one-half pixel down compared to the top-left pixel.
- C declaration
SDL_CHROMA_LOCATION_CENTER, defined atSDL3/SDL_pixels.h 818:5
pattern SDL_CHROMA_LOCATION_TOPLEFT :: SDL_ChromaLocation Source #
In HEVC for BT.2020 and BT.2100 content (in particular on Blu-rays), Cb and Cr are sampled at the same location as the group's top-left Y pixel ("co-sited", "co-located").
- C declaration
SDL_CHROMA_LOCATION_TOPLEFT, defined atSDL3/SDL_pixels.h 819:5
newtype SDL_Colorspace Source #
Colorspace definitions.
Since similar colorspaces may vary in their details (matrix, transfer function, etc.), this is not an exhaustive list, but rather a representative sample of the kinds of colorspaces supported in SDL.
- See also
SDL_ColorPrimaries,SDL_ColorRange,SDL_ColorType,SDL_MatrixCoefficients,SDL_TransferCharacteristics- C declaration
enum SDL_Colorspace, defined atSDL3/SDL_pixels.h 1011:14
Since: 3.2.0
Constructors
| SDL_Colorspace | |
Instances
| Storable SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_Colorspace -> Int # alignment :: SDL_Colorspace -> Int # peekElemOff :: Ptr SDL_Colorspace -> Int -> IO SDL_Colorspace # pokeElemOff :: Ptr SDL_Colorspace -> Int -> SDL_Colorspace -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_Colorspace # pokeByteOff :: Ptr b -> Int -> SDL_Colorspace -> IO () # peek :: Ptr SDL_Colorspace -> IO SDL_Colorspace # poke :: Ptr SDL_Colorspace -> SDL_Colorspace -> IO () # | |||||
| Generic SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_Colorspace -> Rep SDL_Colorspace x # to :: Rep SDL_Colorspace x -> SDL_Colorspace # | |||||
| Read SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readsPrec :: Int -> ReadS SDL_Colorspace # readList :: ReadS [SDL_Colorspace] # | |||||
| Show SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_Colorspace -> ShowS # show :: SDL_Colorspace -> String # showList :: [SDL_Colorspace] -> ShowS # | |||||
| Eq SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_Colorspace -> SDL_Colorspace -> Bool # (/=) :: SDL_Colorspace -> SDL_Colorspace -> Bool # | |||||
| Ord SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods compare :: SDL_Colorspace -> SDL_Colorspace -> Ordering # (<) :: SDL_Colorspace -> SDL_Colorspace -> Bool # (<=) :: SDL_Colorspace -> SDL_Colorspace -> Bool # (>) :: SDL_Colorspace -> SDL_Colorspace -> Bool # (>=) :: SDL_Colorspace -> SDL_Colorspace -> Bool # max :: SDL_Colorspace -> SDL_Colorspace -> SDL_Colorspace # min :: SDL_Colorspace -> SDL_Colorspace -> SDL_Colorspace # | |||||
| Prim SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOfType# :: Proxy SDL_Colorspace -> Int# # sizeOf# :: SDL_Colorspace -> Int# # alignmentOfType# :: Proxy SDL_Colorspace -> Int# # alignment# :: SDL_Colorspace -> Int# # indexByteArray# :: ByteArray# -> Int# -> SDL_Colorspace # readByteArray# :: MutableByteArray# s -> Int# -> State# s -> (# State# s, SDL_Colorspace #) # writeByteArray# :: MutableByteArray# s -> Int# -> SDL_Colorspace -> State# s -> State# s # setByteArray# :: MutableByteArray# s -> Int# -> Int# -> SDL_Colorspace -> State# s -> State# s # indexOffAddr# :: Addr# -> Int# -> SDL_Colorspace # readOffAddr# :: Addr# -> Int# -> State# s -> (# State# s, SDL_Colorspace #) # writeOffAddr# :: Addr# -> Int# -> SDL_Colorspace -> State# s -> State# s # setOffAddr# :: Addr# -> Int# -> Int# -> SDL_Colorspace -> State# s -> State# s # | |||||
| CEnum SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods toCEnum :: CEnumZ SDL_Colorspace -> SDL_Colorspace # fromCEnum :: SDL_Colorspace -> CEnumZ SDL_Colorspace # declaredValues :: proxy SDL_Colorspace -> DeclaredValues SDL_Colorspace # showsUndeclared :: proxy SDL_Colorspace -> Int -> CEnumZ SDL_Colorspace -> ShowS # readPrecUndeclared :: ReadPrec SDL_Colorspace # isDeclared :: SDL_Colorspace -> Bool # mkDeclared :: CEnumZ SDL_Colorspace -> Maybe SDL_Colorspace # | |||||
| HasFFIType SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods | |||||
| ReadRaw SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_Colorspace -> IO SDL_Colorspace # | |||||
| StaticSize SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods staticSizeOf :: Proxy SDL_Colorspace -> Int # staticAlignment :: Proxy SDL_Colorspace -> Int # | |||||
| WriteRaw SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_Colorspace -> SDL_Colorspace -> IO () # | |||||
| HasCField SDL_Colorspace "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CUInt => HasField "unwrap" SDL_Colorspace ty Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_Colorspace -> (ty -> SDL_Colorspace, ty) # | |||||
| ty ~ CUInt => HasField "unwrap" (Ptr SDL_Colorspace) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_Colorspace -> Ptr ty # | |||||
| type Rep SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_Colorspace = D1 ('MetaData "SDL_Colorspace" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_Colorspace" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CUInt))) | |||||
| type CEnumZ SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type FFIType SDL_Colorspace Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_Colorspace "unwrap" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
pattern SDL_COLORSPACE_UNKNOWN :: SDL_Colorspace Source #
- C declaration
SDL_COLORSPACE_UNKNOWN, defined atSDL3/SDL_pixels.h 1013:5
pattern SDL_COLORSPACE_SRGB :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
- C declaration
SDL_COLORSPACE_SRGB, defined atSDL3/SDL_pixels.h 1016:5
pattern SDL_COLORSPACE_SRGB_LINEAR :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709
- C declaration
SDL_COLORSPACE_SRGB_LINEAR, defined atSDL3/SDL_pixels.h 1025:5
pattern SDL_COLORSPACE_HDR10 :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
- C declaration
SDL_COLORSPACE_HDR10, defined atSDL3/SDL_pixels.h 1034:5
pattern SDL_COLORSPACE_JPEG :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601
- C declaration
SDL_COLORSPACE_JPEG, defined atSDL3/SDL_pixels.h 1042:5
pattern SDL_COLORSPACE_BT601_LIMITED :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601
- C declaration
SDL_COLORSPACE_BT601_LIMITED, defined atSDL3/SDL_pixels.h 1050:5
pattern SDL_COLORSPACE_BT601_FULL :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601
- C declaration
SDL_COLORSPACE_BT601_FULL, defined atSDL3/SDL_pixels.h 1058:5
pattern SDL_COLORSPACE_BT709_LIMITED :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709
- C declaration
SDL_COLORSPACE_BT709_LIMITED, defined atSDL3/SDL_pixels.h 1066:5
pattern SDL_COLORSPACE_BT709_FULL :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709
- C declaration
SDL_COLORSPACE_BT709_FULL, defined atSDL3/SDL_pixels.h 1074:5
pattern SDL_COLORSPACE_BT2020_LIMITED :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020
- C declaration
SDL_COLORSPACE_BT2020_LIMITED, defined atSDL3/SDL_pixels.h 1082:5
pattern SDL_COLORSPACE_BT2020_FULL :: SDL_Colorspace Source #
Equivalent to DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020
- C declaration
SDL_COLORSPACE_BT2020_FULL, defined atSDL3/SDL_pixels.h 1090:5
pattern SDL_COLORSPACE_RGB_DEFAULT :: SDL_Colorspace Source #
The default colorspace for RGB surfaces if no colorspace is specified
- C declaration
SDL_COLORSPACE_RGB_DEFAULT, defined atSDL3/SDL_pixels.h 1098:5
pattern SDL_COLORSPACE_YUV_DEFAULT :: SDL_Colorspace Source #
The default colorspace for YUV surfaces if no colorspace is specified
- C declaration
SDL_COLORSPACE_YUV_DEFAULT, defined atSDL3/SDL_pixels.h 1099:5
A structure that represents a color as RGBA components.
The bits of this structure can be directly reinterpreted as an integer-packed color which uses the SDL_PIXELFORMAT_RGBA32 format (SDL_PIXELFORMAT_ABGR8888 on little-endian systems and SDL_PIXELFORMAT_RGBA8888 on big-endian systems).
- C declaration
struct SDL_Color, defined atSDL3/SDL_pixels.h 1112:16
Since: 3.2.0
Constructors
| SDL_Color | |
Instances
| Storable SDL_Color Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| Generic SDL_Color Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| Show SDL_Color Source # | |||||
| Eq SDL_Color Source # | |||||
| ReadRaw SDL_Color Source # | |||||
| StaticSize SDL_Color Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| WriteRaw SDL_Color Source # | |||||
| IsStruct SDL_Color Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| HasCField SDL_Color "a" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_Color "b" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_Color "g" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_Color "r" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ Uint8 => HasField "a" SDL_Color ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| ty ~ Uint8 => HasField "b" SDL_Color ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| ty ~ Uint8 => HasField "g" SDL_Color ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| ty ~ Uint8 => HasField "r" SDL_Color ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| ty ~ Uint8 => HasField "a" (Ptr SDL_Color) (Ptr ty :: Type) Source # | |||||
| ty ~ Uint8 => HasField "b" (Ptr SDL_Color) (Ptr ty :: Type) Source # | |||||
| ty ~ Uint8 => HasField "g" (Ptr SDL_Color) (Ptr ty :: Type) Source # | |||||
| ty ~ Uint8 => HasField "r" (Ptr SDL_Color) (Ptr ty :: Type) Source # | |||||
| type Rep SDL_Color Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_Color = D1 ('MetaData "SDL_Color" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_Color" 'PrefixI 'True) ((S1 ('MetaSel ('Just "r") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "g") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)) :*: (S1 ('MetaSel ('Just "b") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "a") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)))) | |||||
| type CFieldType SDL_Color "a" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_Color "b" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_Color "g" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_Color "r" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
data SDL_FColor Source #
The bits of this structure can be directly reinterpreted as a float-packed color which uses the SDL_PIXELFORMAT_RGBA128_FLOAT format
- C declaration
struct SDL_FColor, defined atSDL3/SDL_pixels.h 1126:16
Since: 3.2.0
Constructors
| SDL_FColor | |
Instances
| Storable SDL_FColor Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_FColor -> Int # alignment :: SDL_FColor -> Int # peekElemOff :: Ptr SDL_FColor -> Int -> IO SDL_FColor # pokeElemOff :: Ptr SDL_FColor -> Int -> SDL_FColor -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_FColor # pokeByteOff :: Ptr b -> Int -> SDL_FColor -> IO () # peek :: Ptr SDL_FColor -> IO SDL_FColor # poke :: Ptr SDL_FColor -> SDL_FColor -> IO () # | |||||
| Generic SDL_FColor Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| Show SDL_FColor Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_FColor -> ShowS # show :: SDL_FColor -> String # showList :: [SDL_FColor] -> ShowS # | |||||
| Eq SDL_FColor Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| ReadRaw SDL_FColor Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_FColor -> IO SDL_FColor # | |||||
| StaticSize SDL_FColor Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| WriteRaw SDL_FColor Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_FColor -> SDL_FColor -> IO () # | |||||
| IsStruct SDL_FColor Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods zero :: SDL_FColor # | |||||
| HasCField SDL_FColor "a" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_FColor "b" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_FColor "g" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_FColor "r" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ CFloat => HasField "a" SDL_FColor ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_FColor -> (ty -> SDL_FColor, ty) # | |||||
| ty ~ CFloat => HasField "b" SDL_FColor ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_FColor -> (ty -> SDL_FColor, ty) # | |||||
| ty ~ CFloat => HasField "g" SDL_FColor ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_FColor -> (ty -> SDL_FColor, ty) # | |||||
| ty ~ CFloat => HasField "r" SDL_FColor ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_FColor -> (ty -> SDL_FColor, ty) # | |||||
| ty ~ CFloat => HasField "a" (Ptr SDL_FColor) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_FColor -> Ptr ty # | |||||
| ty ~ CFloat => HasField "b" (Ptr SDL_FColor) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_FColor -> Ptr ty # | |||||
| ty ~ CFloat => HasField "g" (Ptr SDL_FColor) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_FColor -> Ptr ty # | |||||
| ty ~ CFloat => HasField "r" (Ptr SDL_FColor) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_FColor -> Ptr ty # | |||||
| type Rep SDL_FColor Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_FColor = D1 ('MetaData "SDL_FColor" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_FColor" 'PrefixI 'True) ((S1 ('MetaSel ('Just "r") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: S1 ('MetaSel ('Just "g") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat)) :*: (S1 ('MetaSel ('Just "b") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat) :*: S1 ('MetaSel ('Just "a") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CFloat)))) | |||||
| type CFieldType SDL_FColor "a" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_FColor "b" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_FColor "g" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_FColor "r" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
data SDL_Palette Source #
A set of indexed colors representing a palette.
- See also
sDL_SetPaletteColors- C declaration
struct SDL_Palette, defined atSDL3/SDL_pixels.h 1141:16
Since: 3.2.0
Constructors
| SDL_Palette | |
Fields
| |
Instances
| Storable SDL_Palette Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_Palette -> Int # alignment :: SDL_Palette -> Int # peekElemOff :: Ptr SDL_Palette -> Int -> IO SDL_Palette # pokeElemOff :: Ptr SDL_Palette -> Int -> SDL_Palette -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_Palette # pokeByteOff :: Ptr b -> Int -> SDL_Palette -> IO () # peek :: Ptr SDL_Palette -> IO SDL_Palette # poke :: Ptr SDL_Palette -> SDL_Palette -> IO () # | |||||
| Generic SDL_Palette Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| Show SDL_Palette Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_Palette -> ShowS # show :: SDL_Palette -> String # showList :: [SDL_Palette] -> ShowS # | |||||
| Eq SDL_Palette Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| ReadRaw SDL_Palette Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_Palette -> IO SDL_Palette # | |||||
| StaticSize SDL_Palette Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| WriteRaw SDL_Palette Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_Palette -> SDL_Palette -> IO () # | |||||
| IsStruct SDL_Palette Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods zero :: SDL_Palette # | |||||
| HasCField SDL_Palette "colors" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_Palette "ncolors" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_Palette "refcount" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_Palette "version" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ Ptr SDL_Color => HasField "colors" SDL_Palette ty Source # | an array of colors,
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_Palette -> (ty -> SDL_Palette, ty) # | |||||
| ty ~ CInt => HasField "ncolors" SDL_Palette ty Source # | number of elements in
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_Palette -> (ty -> SDL_Palette, ty) # | |||||
| ty ~ CInt => HasField "refcount" SDL_Palette ty Source # | internal use only, do not touch.
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_Palette -> (ty -> SDL_Palette, ty) # | |||||
| ty ~ Uint32 => HasField "version" SDL_Palette ty Source # | internal use only, do not touch.
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_Palette -> (ty -> SDL_Palette, ty) # | |||||
| ty ~ Ptr SDL_Color => HasField "colors" (Ptr SDL_Palette) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_Palette -> Ptr ty # | |||||
| ty ~ CInt => HasField "ncolors" (Ptr SDL_Palette) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_Palette -> Ptr ty # | |||||
| ty ~ CInt => HasField "refcount" (Ptr SDL_Palette) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_Palette -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "version" (Ptr SDL_Palette) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_Palette -> Ptr ty # | |||||
| type Rep SDL_Palette Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_Palette = D1 ('MetaData "SDL_Palette" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_Palette" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ncolors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CInt) :*: S1 ('MetaSel ('Just "colors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Ptr SDL_Color))) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "refcount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CInt)))) | |||||
| type CFieldType SDL_Palette "colors" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_Palette "ncolors" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_Palette "refcount" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_Palette "version" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
data SDL_PixelFormatDetails Source #
Details about the format of a pixel.
- C declaration
struct SDL_PixelFormatDetails, defined atSDL3/SDL_pixels.h 1154:16
Since: 3.2.0
Constructors
| SDL_PixelFormatDetails | |
Fields
| |
Instances
| Storable SDL_PixelFormatDetails Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods sizeOf :: SDL_PixelFormatDetails -> Int # alignment :: SDL_PixelFormatDetails -> Int # peekElemOff :: Ptr SDL_PixelFormatDetails -> Int -> IO SDL_PixelFormatDetails # pokeElemOff :: Ptr SDL_PixelFormatDetails -> Int -> SDL_PixelFormatDetails -> IO () # peekByteOff :: Ptr b -> Int -> IO SDL_PixelFormatDetails # pokeByteOff :: Ptr b -> Int -> SDL_PixelFormatDetails -> IO () # peek :: Ptr SDL_PixelFormatDetails -> IO SDL_PixelFormatDetails # poke :: Ptr SDL_PixelFormatDetails -> SDL_PixelFormatDetails -> IO () # | |||||
| Generic SDL_PixelFormatDetails Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
Methods from :: SDL_PixelFormatDetails -> Rep SDL_PixelFormatDetails x # to :: Rep SDL_PixelFormatDetails x -> SDL_PixelFormatDetails # | |||||
| Show SDL_PixelFormatDetails Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods showsPrec :: Int -> SDL_PixelFormatDetails -> ShowS # show :: SDL_PixelFormatDetails -> String # showList :: [SDL_PixelFormatDetails] -> ShowS # | |||||
| Eq SDL_PixelFormatDetails Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods (==) :: SDL_PixelFormatDetails -> SDL_PixelFormatDetails -> Bool # (/=) :: SDL_PixelFormatDetails -> SDL_PixelFormatDetails -> Bool # | |||||
| ReadRaw SDL_PixelFormatDetails Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods readRaw :: Ptr SDL_PixelFormatDetails -> IO SDL_PixelFormatDetails # | |||||
| StaticSize SDL_PixelFormatDetails Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods | |||||
| WriteRaw SDL_PixelFormatDetails Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods writeRaw :: Ptr SDL_PixelFormatDetails -> SDL_PixelFormatDetails -> IO () # | |||||
| IsStruct SDL_PixelFormatDetails Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods | |||||
| HasCField SDL_PixelFormatDetails "abits" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "amask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "ashift" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "bbits" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "bits_per_pixel" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "bmask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "bshift" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "bytes_per_pixel" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "gbits" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "gmask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "gshift" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "padding" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "rbits" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "rmask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| HasCField SDL_PixelFormatDetails "rshift" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Associated Types
| |||||
| ty ~ Uint8 => HasField "abits" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint32 => HasField "amask" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "ashift" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "bbits" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "bits_per_pixel" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint32 => HasField "bmask" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "bshift" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "bytes_per_pixel" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ SDL_PixelFormat => HasField "format" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "gbits" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint32 => HasField "gmask" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "gshift" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ ConstantArray 2 Uint8 => HasField "padding" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "rbits" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint32 => HasField "rmask" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "rshift" SDL_PixelFormatDetails ty Source # |
| ||||
Defined in SDL3.Sys.Bindgen.Pixels Methods hasField :: SDL_PixelFormatDetails -> (ty -> SDL_PixelFormatDetails, ty) # | |||||
| ty ~ Uint8 => HasField "abits" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "amask" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "ashift" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "bbits" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "bits_per_pixel" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "bmask" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "bshift" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "bytes_per_pixel" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ SDL_PixelFormat => HasField "format" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "gbits" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "gmask" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "gshift" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ ConstantArray 2 Uint8 => HasField "padding" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "rbits" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint32 => HasField "rmask" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| ty ~ Uint8 => HasField "rshift" (Ptr SDL_PixelFormatDetails) (Ptr ty :: Type) Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels Methods getField :: Ptr SDL_PixelFormatDetails -> Ptr ty # | |||||
| type Rep SDL_PixelFormatDetails Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels type Rep SDL_PixelFormatDetails = D1 ('MetaData "SDL_PixelFormatDetails" "SDL3.Sys.Bindgen.Pixels" "sdl3-bindgen-sys-0.0.1.0-inplace" 'False) (C1 ('MetaCons "SDL_PixelFormatDetails" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SDL_PixelFormat) :*: S1 ('MetaSel ('Just "bits_per_pixel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)) :*: (S1 ('MetaSel ('Just "bytes_per_pixel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "padding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (ConstantArray 2 Uint8)))) :*: ((S1 ('MetaSel ('Just "rmask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "gmask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)) :*: (S1 ('MetaSel ('Just "bmask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32) :*: S1 ('MetaSel ('Just "amask") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint32)))) :*: (((S1 ('MetaSel ('Just "rbits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "gbits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)) :*: (S1 ('MetaSel ('Just "bbits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "abits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8))) :*: ((S1 ('MetaSel ('Just "rshift") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "gshift") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)) :*: (S1 ('MetaSel ('Just "bshift") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8) :*: S1 ('MetaSel ('Just "ashift") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uint8)))))) | |||||
| type CFieldType SDL_PixelFormatDetails "abits" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "amask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "ashift" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "bbits" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "bits_per_pixel" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "bmask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "bshift" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "bytes_per_pixel" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "format" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "gbits" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "gmask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "gshift" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "padding" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "rbits" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "rmask" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||
| type CFieldType SDL_PixelFormatDetails "rshift" Source # | |||||
Defined in SDL3.Sys.Bindgen.Pixels | |||||