| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Raylib.Types
Synopsis
- data ConfigFlag
- data TraceLogLevel
- data KeyboardKey
- = KeyNull
- | KeyApostrophe
- | KeyComma
- | KeyMinus
- | KeyPeriod
- | KeySlash
- | KeyZero
- | KeyOne
- | KeyTwo
- | KeyThree
- | KeyFour
- | KeyFive
- | KeySix
- | KeySeven
- | KeyEight
- | KeyNine
- | KeySemicolon
- | KeyEqual
- | KeyA
- | KeyB
- | KeyC
- | KeyD
- | KeyE
- | KeyF
- | KeyG
- | KeyH
- | KeyI
- | KeyJ
- | KeyK
- | KeyL
- | KeyM
- | KeyN
- | KeyO
- | KeyP
- | KeyQ
- | KeyR
- | KeyS
- | KeyT
- | KeyU
- | KeyV
- | KeyW
- | KeyX
- | KeyY
- | KeyZ
- | KeyLeftBracket
- | KeyBackslash
- | KeyRightBracket
- | KeyGrave
- | KeySpace
- | KeyEscape
- | KeyEnter
- | KeyTab
- | KeyBackspace
- | KeyInsert
- | KeyDelete
- | KeyRight
- | KeyLeft
- | KeyDown
- | KeyUp
- | KeyPageUp
- | KeyPageDown
- | KeyHome
- | KeyEnd
- | KeyCapsLock
- | KeyScrollLock
- | KeyNumLock
- | KeyPrintScreen
- | KeyPause
- | KeyF1
- | KeyF2
- | KeyF3
- | KeyF4
- | KeyF5
- | KeyF6
- | KeyF7
- | KeyF8
- | KeyF9
- | KeyF10
- | KeyF11
- | KeyF12
- | KeyLeftShift
- | KeyLeftControl
- | KeyLeftAlt
- | KeyLeftSuper
- | KeyRightShift
- | KeyRightControl
- | KeyRightAlt
- | KeyRightSuper
- | KeyKbMenu
- | KeyKp0
- | KeyKp1
- | KeyKp2
- | KeyKp3
- | KeyKp4
- | KeyKp5
- | KeyKp6
- | KeyKp7
- | KeyKp8
- | KeyKp9
- | KeyKpDecimal
- | KeyKpDivide
- | KeyKpMultiply
- | KeyKpSubtract
- | KeyKpAdd
- | KeyKpEnter
- | KeyKpEqual
- | KeyBack
- | KeyMenu
- | KeyVolumeUp
- | KeyVolumeDown
- data MouseButton
- data MouseCursor
- data GamepadButton
- = GamepadButtonUnknown
- | GamepadButtonUnknownLeftFaceUp
- | GamepadButtonLeftFaceRight
- | GamepadButtonLeftFaceDown
- | GamepadButtonLeftFaceLeft
- | GamepadButtonRightFaceUp
- | GamepadButtonRightFaceRight
- | GamepadButtonRightFaceDown
- | GamepadButtonRightFaceLeft
- | GamepadButtonLeftTrigger1
- | GamepadButtonLeftTrigger2
- | GamepadButtonRightTrigger1
- | GamepadButtonRightTrigger2
- | GamepadButtonMiddleLeft
- | GamepadButtonMiddle
- | GamepadButtonMiddleRight
- | GamepadButtonLeftThumb
- | GamepadButtonRightThumb
- data GamepadAxis
- data MaterialMapIndex
- data ShaderLocationIndex
- = ShaderLocVertexPosition
- | ShaderLocVertexTexcoord01
- | ShaderLocVertexTexcoord02
- | ShaderLocVertexNormal
- | ShaderLocVertexTangent
- | ShaderLocVertexColor
- | ShaderLocMatrixMvp
- | ShaderLocMatrixView
- | ShaderLocMatrixProjection
- | ShaderLocMatrixModel
- | ShaderLocMatrixNormal
- | ShaderLocVectorView
- | ShaderLocColorDiffuse
- | ShaderLocColorSpecular
- | ShaderLocColorAmbient
- | ShaderLocMapAlbedo
- | ShaderLocMapMetalness
- | ShaderLocMapNormal
- | ShaderLocMapRoughness
- | ShaderLocMapOcclusion
- | ShaderLocMapEmission
- | ShaderLocMapHeight
- | ShaderLocMapCubemap
- | ShaderLocMapIrradiance
- | ShaderLocMapPrefilter
- | ShaderLocMapBrdf
- data ShaderUniformDataType
- data ShaderUniformData
- data ShaderUniformDataV
- = ShaderUniformFloatV [Float]
- | ShaderUniformVec2V [Vector2]
- | ShaderUniformVec3V [Vector3]
- | ShaderUniformVec4V [Vector4]
- | ShaderUniformIntV [Int]
- | ShaderUniformIVec2V [(Int, Int)]
- | ShaderUniformIVec3V [(Int, Int, Int)]
- | ShaderUniformIVec4V [(Int, Int, Int, Int)]
- | ShaderUniformSampler2DV [Texture]
- unpackShaderUniformData :: ShaderUniformData -> IO (ShaderUniformDataType, Ptr ())
- unpackShaderUniformDataV :: ShaderUniformDataV -> IO (ShaderUniformDataType, Ptr (), Int)
- data ShaderAttributeDataType
- data PixelFormat
- = PixelFormatUnset
- | PixelFormatUncompressedGrayscale
- | PixelFormatUncompressedGrayAlpha
- | PixelFormatUncompressedR5G6B5
- | PixelFormatUncompressedR8G8B8
- | PixelFormatUncompressedR5G5B5A1
- | PixelFormatUncompressedR4G4B4A4
- | PixelFormatUncompressedR8G8B8A8
- | PixelFormatUncompressedR32
- | PixelFormatUncompressedR32G32B32
- | PixelFormatUncompressedR32G32B32A32
- | PixelFormatCompressedDxt1Rgb
- | PixelFormatCompressedDxt1Rgba
- | PixelFormatCompressedDxt3Rgba
- | PixelFormatCompressedDxt5Rgba
- | PixelFormatCompressedEtc1Rgb
- | PixelFormatCompressedEtc2Rgb
- | PixelFormatCompressedEtc2EacRgba
- | PixelFormatCompressedPvrtRgb
- | PixelFormatCompressedPvrtRgba
- | PixelFormatCompressedAstc4x4Rgba
- | PixelFormatCompressedAstc8x8Rgba
- data TextureFilter
- data TextureWrap
- data CubemapLayout
- data FontType
- data BlendMode
- data Gesture
- data CameraMode
- data CameraProjection
- data NPatchLayout
- data MusicContextType
- data RLGLVersion
- data RLTraceLogLevel
- data RLPixelFormat
- = RLPixelFormatUncompressedGrayscale
- | RLPixelFormatUncompressedGrayAlpha
- | RLPixelFormatUncompressedR5G6B5
- | RLPixelFormatUncompressedR8G8B8
- | RLPixelFormatUncompressedR5G5B5A1
- | RLPixelFormatUncompressedR4G4B4A4
- | RLPixelFormatUncompressedR8G8B8A8
- | RLPixelFormatUncompressedR32
- | RLPixelFormatUncompressedR32G32B32
- | RLPixelFormatUncompressedR32G32B32A32
- | RLPixelFormatCompressedDxt1Rgb
- | RLPixelFormatCompressedDxt1Rgba
- | RLPixelFormatCompressedDxt3Rgba
- | RLPixelFormatCompressedDxt5Rgba
- | RLPixelFormatCompressedEtc1Rgb
- | RLPixelFormatCompressedEtc2Rgb
- | RLPixelFormatCompressedEtc2EacRgba
- | RLPixelFormatCompressedPvrtRgb
- | RLPixelFormatCompressedPvrtRgba
- | RLPixelFormatCompressedAstc4x4Rgba
- | RLPixelFormatCompressedAstc8x8Rgba
- data RLTextureFilter
- data RLBlendMode
- data RLShaderLocationIndex
- = RLShaderLocVertexPosition
- | RLShaderLocVertexTexcoord01
- | RLShaderLocVertexTexcoord02
- | RLShaderLocVertexNormal
- | RLShaderLocVertexTangent
- | RLShaderLocVertexColor
- | RLShaderLocMatrixMVP
- | RLShaderLocMatrixView
- | RLShaderLocMatrixProjection
- | RLShaderLocMatrixModel
- | RLShaderLocMatrixNormal
- | RLShaderLocVectorView
- | RLShaderLocColorDiffuse
- | RLShaderLocColorSpecular
- | RLShaderLocColorAmbient
- | RLShaderLocMapAlbedo
- | RLShaderLocMapMetalness
- | RLShaderLocMapNormal
- | RLShaderLocMapRoughness
- | RLShaderLocMapOcclusion
- | RLShaderLocMapEmission
- | RLShaderLocMapHeight
- | RLShaderLocMapCubemap
- | RLShaderLocMapIrradiance
- | RLShaderLocMapPrefilter
- | RLShaderLocMapBRDF
- data RLShaderUniformDataType
- data RLShaderAttributeDataType
- data RLFramebufferAttachType
- data RLFramebufferAttachTextureType
- data RLCullMode
- data RLMatrixMode
- data RLDrawMode
- data RLTextureParam
- = RLTextureParamWrapS
- | RLTextureParamWrapT
- | RLTextureParamMagFilter
- | RLTextureParamMinFilter
- | RLTextureParamFilterNearest
- | RLTextureParamFilterLinear
- | RLTextureParamFilterMipNearest
- | RLTextureParamFilterNearestMipLinear
- | RLTextureParamFilterLinearMipNearest
- | RLTextureParamFilterMipLinear
- | RLTextureParamFilterAnisotropic
- | RLTextureParamMipmapBiasRatio
- data RLShaderType
- data RLBufferHint
- data Vector2 = Vector2 {}
- data Vector3 = Vector3 {}
- data Vector4 = Vector4 {}
- type Quaternion = Vector4
- data Matrix = Matrix {}
- vectorToColor :: Vector4 -> Color
- data Color = Color {}
- data Rectangle = Rectangle {}
- data Image = Image {
- image'data :: [Word8]
- image'width :: Int
- image'height :: Int
- image'mipmaps :: Int
- image'format :: PixelFormat
- data Texture = Texture {}
- type Texture2D = Texture
- type TextureCubemap = Texture
- data RenderTexture = RenderTexture {}
- type RenderTexture2D = RenderTexture
- data NPatchInfo = NPatchInfo {}
- data GlyphInfo = GlyphInfo {}
- data Font = Font {
- font'baseSize :: Int
- font'glyphCount :: Int
- font'glyphPadding :: Int
- font'texture :: Texture
- font'recs :: [Rectangle]
- font'glyphs :: [GlyphInfo]
- data Camera3D = Camera3D {}
- type Camera = Camera3D
- data Camera2D = Camera2D {}
- data Mesh = Mesh {
- mesh'vertexCount :: Int
- mesh'triangleCount :: Int
- mesh'vertices :: [Vector3]
- mesh'texcoords :: [Vector2]
- mesh'texcoords2 :: Maybe [Vector2]
- mesh'normals :: [Vector3]
- mesh'tangents :: Maybe [Vector4]
- mesh'colors :: Maybe [Color]
- mesh'indices :: Maybe [Word16]
- mesh'animVertices :: Maybe [Vector3]
- mesh'animNormals :: Maybe [Vector3]
- mesh'boneIds :: Maybe [Word8]
- mesh'boneWeights :: Maybe [Float]
- mesh'vaoId :: Integer
- mesh'vboId :: Maybe [Integer]
- data Shader = Shader {
- shader'id :: Integer
- shader'locs :: [Int]
- data MaterialMap = MaterialMap {}
- data Material = Material {}
- data Transform = Transform {}
- data BoneInfo = BoneInfo {}
- data Model = Model {
- model'transform :: Matrix
- model'meshes :: [Mesh]
- model'materials :: [Material]
- model'meshMaterial :: [Int]
- model'boneCount :: Int
- model'bones :: Maybe [BoneInfo]
- model'bindPose :: Maybe [Transform]
- data ModelAnimation = ModelAnimation {}
- data Ray = Ray {}
- data RayCollision = RayCollision {}
- data BoundingBox = BoundingBox {}
- data Wave = Wave {}
- data RAudioBuffer = RAudioBuffer {
- rAudioBuffer'converter :: [Int]
- rAudioBuffer'callback :: AudioCallback
- rAudioBuffer'processor :: Maybe RAudioProcessor
- rAudioBuffer'volume :: Float
- rAudioBuffer'pitch :: Float
- rAudioBuffer'pan :: Float
- rAudioBuffer'playing :: Bool
- rAudioBuffer'paused :: Bool
- rAudioBuffer'looping :: Bool
- rAudioBuffer'usage :: Int
- rAudioBuffer'isSubBufferProcessed :: [Bool]
- rAudioBuffer'sizeInFrames :: Integer
- rAudioBuffer'frameCursorPos :: Integer
- rAudioBuffer'framesProcessed :: Integer
- rAudioBuffer'data :: [Word8]
- rAudioBuffer'next :: Maybe RAudioBuffer
- rAudioBuffer'prev :: Maybe RAudioBuffer
- data RAudioProcessor = RAudioProcessor {}
- data AudioStream = AudioStream {}
- data Sound = Sound {}
- data Music = Music {}
- data VrDeviceInfo = VrDeviceInfo {
- vrDeviceInfo'hResolution :: Int
- vrDeviceInfo'vResolution :: Int
- vrDeviceInfo'hScreenSize :: Float
- vrDeviceInfo'vScreenSize :: Float
- vrDeviceInfo'vScreenCenter :: Float
- vrDeviceInfo'eyeToScreenDistance :: Float
- vrDeviceInfo'lensSeparationDistance :: Float
- vrDeviceInfo'interpupillaryDistance :: Float
- vrDeviceInfo'lensDistortionValues :: [Float]
- vrDeviceInfo'chromaAbCorrection :: [Float]
- data VrStereoConfig = VrStereoConfig {
- vrStereoConfig'projection :: [Matrix]
- vrStereoConfig'viewOffset :: [Matrix]
- vrStereoConfig'leftLensCenter :: [Float]
- vrStereoConfig'rightLensCenter :: [Float]
- vrStereoConfig'leftScreenCenter :: [Float]
- vrStereoConfig'rightScreenCenter :: [Float]
- vrStereoConfig'scale :: [Float]
- vrStereoConfig'scaleIn :: [Float]
- data FilePathList = FilePathList {}
- data RLVertexBuffer = RLVertexBuffer {}
- data RLDrawCall = RLDrawCall {}
- data RLRenderBatch = RLRenderBatch {}
- type LoadFileDataCallback = FunPtr (CString -> Ptr CUInt -> IO (Ptr CUChar))
- type SaveFileDataCallback = FunPtr (CString -> Ptr () -> CUInt -> IO CInt)
- type LoadFileTextCallback = FunPtr (CString -> IO CString)
- type SaveFileTextCallback = FunPtr (CString -> CString -> IO CInt)
- type AudioCallback = FunPtr (Ptr () -> CUInt -> IO ())
Documentation
data ConfigFlag Source #
Constructors
Instances
| Enum ConfigFlag Source # | |
Defined in Raylib.Types Methods succ :: ConfigFlag -> ConfigFlag # pred :: ConfigFlag -> ConfigFlag # toEnum :: Int -> ConfigFlag # fromEnum :: ConfigFlag -> Int # enumFrom :: ConfigFlag -> [ConfigFlag] # enumFromThen :: ConfigFlag -> ConfigFlag -> [ConfigFlag] # enumFromTo :: ConfigFlag -> ConfigFlag -> [ConfigFlag] # enumFromThenTo :: ConfigFlag -> ConfigFlag -> ConfigFlag -> [ConfigFlag] # | |
| Show ConfigFlag Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> ConfigFlag -> ShowS # show :: ConfigFlag -> String # showList :: [ConfigFlag] -> ShowS # | |
| Eq ConfigFlag Source # | |
Defined in Raylib.Types | |
| Freeable ConfigFlag Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: ConfigFlag -> Ptr ConfigFlag -> IO () Source # rlFree :: ConfigFlag -> Ptr ConfigFlag -> IO () Source # | |
data TraceLogLevel Source #
Instances
| Enum TraceLogLevel Source # | |
Defined in Raylib.Types Methods succ :: TraceLogLevel -> TraceLogLevel # pred :: TraceLogLevel -> TraceLogLevel # toEnum :: Int -> TraceLogLevel # fromEnum :: TraceLogLevel -> Int # enumFrom :: TraceLogLevel -> [TraceLogLevel] # enumFromThen :: TraceLogLevel -> TraceLogLevel -> [TraceLogLevel] # enumFromTo :: TraceLogLevel -> TraceLogLevel -> [TraceLogLevel] # enumFromThenTo :: TraceLogLevel -> TraceLogLevel -> TraceLogLevel -> [TraceLogLevel] # | |
| Show TraceLogLevel Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> TraceLogLevel -> ShowS # show :: TraceLogLevel -> String # showList :: [TraceLogLevel] -> ShowS # | |
| Eq TraceLogLevel Source # | |
Defined in Raylib.Types Methods (==) :: TraceLogLevel -> TraceLogLevel -> Bool # (/=) :: TraceLogLevel -> TraceLogLevel -> Bool # | |
data KeyboardKey Source #
Constructors
Instances
| Enum KeyboardKey Source # | |
Defined in Raylib.Types Methods succ :: KeyboardKey -> KeyboardKey # pred :: KeyboardKey -> KeyboardKey # toEnum :: Int -> KeyboardKey # fromEnum :: KeyboardKey -> Int # enumFrom :: KeyboardKey -> [KeyboardKey] # enumFromThen :: KeyboardKey -> KeyboardKey -> [KeyboardKey] # enumFromTo :: KeyboardKey -> KeyboardKey -> [KeyboardKey] # enumFromThenTo :: KeyboardKey -> KeyboardKey -> KeyboardKey -> [KeyboardKey] # | |
| Show KeyboardKey Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> KeyboardKey -> ShowS # show :: KeyboardKey -> String # showList :: [KeyboardKey] -> ShowS # | |
| Eq KeyboardKey Source # | |
Defined in Raylib.Types | |
data MouseButton Source #
Constructors
| MouseButtonLeft | |
| MouseButtonRight | |
| MouseButtonMiddle | |
| MouseButtonSide | |
| MouseButtonExtra | |
| MouseButtonForward | |
| MouseButtonBack |
Instances
| Enum MouseButton Source # | |
Defined in Raylib.Types Methods succ :: MouseButton -> MouseButton # pred :: MouseButton -> MouseButton # toEnum :: Int -> MouseButton # fromEnum :: MouseButton -> Int # enumFrom :: MouseButton -> [MouseButton] # enumFromThen :: MouseButton -> MouseButton -> [MouseButton] # enumFromTo :: MouseButton -> MouseButton -> [MouseButton] # enumFromThenTo :: MouseButton -> MouseButton -> MouseButton -> [MouseButton] # | |
| Show MouseButton Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> MouseButton -> ShowS # show :: MouseButton -> String # showList :: [MouseButton] -> ShowS # | |
| Eq MouseButton Source # | |
Defined in Raylib.Types | |
data MouseCursor Source #
Constructors
Instances
| Enum MouseCursor Source # | |
Defined in Raylib.Types Methods succ :: MouseCursor -> MouseCursor # pred :: MouseCursor -> MouseCursor # toEnum :: Int -> MouseCursor # fromEnum :: MouseCursor -> Int # enumFrom :: MouseCursor -> [MouseCursor] # enumFromThen :: MouseCursor -> MouseCursor -> [MouseCursor] # enumFromTo :: MouseCursor -> MouseCursor -> [MouseCursor] # enumFromThenTo :: MouseCursor -> MouseCursor -> MouseCursor -> [MouseCursor] # | |
| Show MouseCursor Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> MouseCursor -> ShowS # show :: MouseCursor -> String # showList :: [MouseCursor] -> ShowS # | |
| Eq MouseCursor Source # | |
Defined in Raylib.Types | |
data GamepadButton Source #
Constructors
Instances
| Enum GamepadButton Source # | |
Defined in Raylib.Types Methods succ :: GamepadButton -> GamepadButton # pred :: GamepadButton -> GamepadButton # toEnum :: Int -> GamepadButton # fromEnum :: GamepadButton -> Int # enumFrom :: GamepadButton -> [GamepadButton] # enumFromThen :: GamepadButton -> GamepadButton -> [GamepadButton] # enumFromTo :: GamepadButton -> GamepadButton -> [GamepadButton] # enumFromThenTo :: GamepadButton -> GamepadButton -> GamepadButton -> [GamepadButton] # | |
| Show GamepadButton Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> GamepadButton -> ShowS # show :: GamepadButton -> String # showList :: [GamepadButton] -> ShowS # | |
| Eq GamepadButton Source # | |
Defined in Raylib.Types Methods (==) :: GamepadButton -> GamepadButton -> Bool # (/=) :: GamepadButton -> GamepadButton -> Bool # | |
data GamepadAxis Source #
Constructors
| GamepadAxisLeftX | |
| GamepadAxisLeftY | |
| GamepadAxisRightX | |
| GamepadAxisRightY | |
| GamepadAxisLeftTrigger | |
| GamepadAxisRightTrigger |
Instances
| Enum GamepadAxis Source # | |
Defined in Raylib.Types Methods succ :: GamepadAxis -> GamepadAxis # pred :: GamepadAxis -> GamepadAxis # toEnum :: Int -> GamepadAxis # fromEnum :: GamepadAxis -> Int # enumFrom :: GamepadAxis -> [GamepadAxis] # enumFromThen :: GamepadAxis -> GamepadAxis -> [GamepadAxis] # enumFromTo :: GamepadAxis -> GamepadAxis -> [GamepadAxis] # enumFromThenTo :: GamepadAxis -> GamepadAxis -> GamepadAxis -> [GamepadAxis] # | |
| Show GamepadAxis Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> GamepadAxis -> ShowS # show :: GamepadAxis -> String # showList :: [GamepadAxis] -> ShowS # | |
| Eq GamepadAxis Source # | |
Defined in Raylib.Types | |
data MaterialMapIndex Source #
Constructors
Instances
| Enum MaterialMapIndex Source # | |
Defined in Raylib.Types Methods succ :: MaterialMapIndex -> MaterialMapIndex # pred :: MaterialMapIndex -> MaterialMapIndex # toEnum :: Int -> MaterialMapIndex # fromEnum :: MaterialMapIndex -> Int # enumFrom :: MaterialMapIndex -> [MaterialMapIndex] # enumFromThen :: MaterialMapIndex -> MaterialMapIndex -> [MaterialMapIndex] # enumFromTo :: MaterialMapIndex -> MaterialMapIndex -> [MaterialMapIndex] # enumFromThenTo :: MaterialMapIndex -> MaterialMapIndex -> MaterialMapIndex -> [MaterialMapIndex] # | |
| Show MaterialMapIndex Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> MaterialMapIndex -> ShowS # show :: MaterialMapIndex -> String # showList :: [MaterialMapIndex] -> ShowS # | |
| Eq MaterialMapIndex Source # | |
Defined in Raylib.Types Methods (==) :: MaterialMapIndex -> MaterialMapIndex -> Bool # (/=) :: MaterialMapIndex -> MaterialMapIndex -> Bool # | |
data ShaderLocationIndex Source #
Constructors
Instances
| Enum ShaderLocationIndex Source # | |
Defined in Raylib.Types Methods succ :: ShaderLocationIndex -> ShaderLocationIndex # pred :: ShaderLocationIndex -> ShaderLocationIndex # toEnum :: Int -> ShaderLocationIndex # fromEnum :: ShaderLocationIndex -> Int # enumFrom :: ShaderLocationIndex -> [ShaderLocationIndex] # enumFromThen :: ShaderLocationIndex -> ShaderLocationIndex -> [ShaderLocationIndex] # enumFromTo :: ShaderLocationIndex -> ShaderLocationIndex -> [ShaderLocationIndex] # enumFromThenTo :: ShaderLocationIndex -> ShaderLocationIndex -> ShaderLocationIndex -> [ShaderLocationIndex] # | |
| Show ShaderLocationIndex Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> ShaderLocationIndex -> ShowS # show :: ShaderLocationIndex -> String # showList :: [ShaderLocationIndex] -> ShowS # | |
| Eq ShaderLocationIndex Source # | |
Defined in Raylib.Types Methods (==) :: ShaderLocationIndex -> ShaderLocationIndex -> Bool # (/=) :: ShaderLocationIndex -> ShaderLocationIndex -> Bool # | |
data ShaderUniformDataType Source #
Constructors
Instances
data ShaderUniformData Source #
Constructors
Instances
| Show ShaderUniformData Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> ShaderUniformData -> ShowS # show :: ShaderUniformData -> String # showList :: [ShaderUniformData] -> ShowS # | |
| Eq ShaderUniformData Source # | |
Defined in Raylib.Types Methods (==) :: ShaderUniformData -> ShaderUniformData -> Bool # (/=) :: ShaderUniformData -> ShaderUniformData -> Bool # | |
data ShaderUniformDataV Source #
Constructors
Instances
| Show ShaderUniformDataV Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> ShaderUniformDataV -> ShowS # show :: ShaderUniformDataV -> String # showList :: [ShaderUniformDataV] -> ShowS # | |
| Eq ShaderUniformDataV Source # | |
Defined in Raylib.Types Methods (==) :: ShaderUniformDataV -> ShaderUniformDataV -> Bool # (/=) :: ShaderUniformDataV -> ShaderUniformDataV -> Bool # | |
unpackShaderUniformDataV :: ShaderUniformDataV -> IO (ShaderUniformDataType, Ptr (), Int) Source #
data ShaderAttributeDataType Source #
Instances
data PixelFormat Source #
Constructors
Instances
data TextureFilter Source #
Constructors
| TextureFilterPoint | |
| TextureFilterBilinear | |
| TextureFilterTrilinear | |
| TextureFilterAnisotropic4x | |
| TextureFilterAnisotropic8x | |
| TextureFilterAnisotropic16x |
Instances
| Enum TextureFilter Source # | |
Defined in Raylib.Types Methods succ :: TextureFilter -> TextureFilter # pred :: TextureFilter -> TextureFilter # toEnum :: Int -> TextureFilter # fromEnum :: TextureFilter -> Int # enumFrom :: TextureFilter -> [TextureFilter] # enumFromThen :: TextureFilter -> TextureFilter -> [TextureFilter] # enumFromTo :: TextureFilter -> TextureFilter -> [TextureFilter] # enumFromThenTo :: TextureFilter -> TextureFilter -> TextureFilter -> [TextureFilter] # | |
data TextureWrap Source #
Instances
| Enum TextureWrap Source # | |
Defined in Raylib.Types Methods succ :: TextureWrap -> TextureWrap # pred :: TextureWrap -> TextureWrap # toEnum :: Int -> TextureWrap # fromEnum :: TextureWrap -> Int # enumFrom :: TextureWrap -> [TextureWrap] # enumFromThen :: TextureWrap -> TextureWrap -> [TextureWrap] # enumFromTo :: TextureWrap -> TextureWrap -> [TextureWrap] # enumFromThenTo :: TextureWrap -> TextureWrap -> TextureWrap -> [TextureWrap] # | |
data CubemapLayout Source #
Constructors
| CubemapLayoutAutoDetect | |
| CubemapLayoutLineVertical | |
| CubemapLayoutLineHorizontal | |
| CubemapLayoutCrossThreeByFour | |
| CubemapLayoutCrossThreeByThree | |
| CubemapLayoutPanorama |
Instances
| Enum CubemapLayout Source # | |
Defined in Raylib.Types Methods succ :: CubemapLayout -> CubemapLayout # pred :: CubemapLayout -> CubemapLayout # toEnum :: Int -> CubemapLayout # fromEnum :: CubemapLayout -> Int # enumFrom :: CubemapLayout -> [CubemapLayout] # enumFromThen :: CubemapLayout -> CubemapLayout -> [CubemapLayout] # enumFromTo :: CubemapLayout -> CubemapLayout -> [CubemapLayout] # enumFromThenTo :: CubemapLayout -> CubemapLayout -> CubemapLayout -> [CubemapLayout] # | |
Constructors
| FontDefault | |
| FontBitmap | |
| FontSDF |
Instances
| Enum FontType Source # | |
Constructors
| BlendAlpha | |
| BlendAdditive | |
| BlendMultiplied | |
| BlendAddColors | |
| BlendSubtractColors | |
| BlendAlphaPremultiply | |
| BlendCustom | |
| BlendCustomSeparate |
Instances
| Enum BlendMode Source # | |
Defined in Raylib.Types Methods succ :: BlendMode -> BlendMode # pred :: BlendMode -> BlendMode # fromEnum :: BlendMode -> Int # enumFrom :: BlendMode -> [BlendMode] # enumFromThen :: BlendMode -> BlendMode -> [BlendMode] # enumFromTo :: BlendMode -> BlendMode -> [BlendMode] # enumFromThenTo :: BlendMode -> BlendMode -> BlendMode -> [BlendMode] # | |
Constructors
| GestureNone | |
| GestureTap | |
| GestureDoubleTap | |
| GestureHold | |
| GestureDrag | |
| GestureSwipeRight | |
| GestureSwipeLeft | |
| GestureSwipeUp | |
| GestureSwipeDown | |
| GesturePinchIn | |
| GesturePinchOut |
data CameraMode Source #
Constructors
| CameraModeCustom | |
| CameraModeFree | |
| CameraModeOrbital | |
| CameraModeFirstPerson | |
| CameraModeThirdPerson |
Instances
| Enum CameraMode Source # | |
Defined in Raylib.Types Methods succ :: CameraMode -> CameraMode # pred :: CameraMode -> CameraMode # toEnum :: Int -> CameraMode # fromEnum :: CameraMode -> Int # enumFrom :: CameraMode -> [CameraMode] # enumFromThen :: CameraMode -> CameraMode -> [CameraMode] # enumFromTo :: CameraMode -> CameraMode -> [CameraMode] # enumFromThenTo :: CameraMode -> CameraMode -> CameraMode -> [CameraMode] # | |
data CameraProjection Source #
Constructors
| CameraPerspective | |
| CameraOrthographic |
Instances
data NPatchLayout Source #
Instances
data MusicContextType Source #
Constructors
| MusicAudioNone | |
| MusicAudioWAV | |
| MusicAudioOGG | |
| MusicAudioFLAC | |
| MusicAudioMP3 | |
| MusicAudioQOA | |
| MusicModuleXM | |
| MusicModuleMOD |
Instances
data RLGLVersion Source #
OpenGL version
Constructors
| RLOpenGL11 | OpenGL 1.1 |
| RLOpenGL21 | OpenGL 2.1 (GLSL 120) |
| RLOpenGL33 | OpenGL 3.3 (GLSL 330) |
| RLOpenGL43 | OpenGL 4.3 (using GLSL 330) |
| RLOpenGLES20 | OpenGL ES 2.0 (GLSL 100) |
Instances
data RLTraceLogLevel Source #
Trace log level. NOTE: Organized by priority level
Constructors
| RLLogAll | Display all logs |
| RLLogTrace | Trace logging, intended for internal use only |
| RLLogDebug | Debug logging, used for internal debugging, it should be disabled on release builds |
| RLLogInfo | Info logging, used for program execution info |
| RLLogWarning | Warning logging, used on recoverable failures |
| RLLogError | Error logging, used on unrecoverable failures |
| RLLogFatal | Fatal logging, used to abort program: exit(EXIT_FAILURE) |
| RLLogNone | Disable logging |
Instances
data RLPixelFormat Source #
Texture pixel formats. NOTE: Support depends on OpenGL version
Constructors
| RLPixelFormatUncompressedGrayscale | 8 bit per pixel (no alpha) |
| RLPixelFormatUncompressedGrayAlpha | 8*2 bpp (2 channels) |
| RLPixelFormatUncompressedR5G6B5 | 16 bpp |
| RLPixelFormatUncompressedR8G8B8 | 24 bpp |
| RLPixelFormatUncompressedR5G5B5A1 | 16 bpp (1 bit alpha) |
| RLPixelFormatUncompressedR4G4B4A4 | 16 bpp (4 bit alpha) |
| RLPixelFormatUncompressedR8G8B8A8 | 32 bpp |
| RLPixelFormatUncompressedR32 | 32 bpp (1 channel - float) |
| RLPixelFormatUncompressedR32G32B32 | 32*3 bpp (3 channels - float) |
| RLPixelFormatUncompressedR32G32B32A32 | 32*4 bpp (4 channels - float) |
| RLPixelFormatCompressedDxt1Rgb | 4 bpp (no alpha) |
| RLPixelFormatCompressedDxt1Rgba | 4 bpp (1 bit alpha) |
| RLPixelFormatCompressedDxt3Rgba | 8 bpp |
| RLPixelFormatCompressedDxt5Rgba | 8 bpp |
| RLPixelFormatCompressedEtc1Rgb | 4 bpp |
| RLPixelFormatCompressedEtc2Rgb | 4 bpp |
| RLPixelFormatCompressedEtc2EacRgba | 8 bpp |
| RLPixelFormatCompressedPvrtRgb | 4 bpp |
| RLPixelFormatCompressedPvrtRgba | 4 bpp |
| RLPixelFormatCompressedAstc4x4Rgba | 8 bpp |
| RLPixelFormatCompressedAstc8x8Rgba | 2 bpp |
Instances
data RLTextureFilter Source #
Texture parameters: filter mode. NOTE 1: Filtering considers mipmaps if available in the texture. NOTE 2: Filter is accordingly set for minification and magnification.
Constructors
| RLTextureFilterPoint | No filter, just pixel approximation |
| RLTextureFilterBilinear | Linear filtering |
| RLTextureFilterTrilinear | Trilinear filtering (linear with mipmaps) |
| RLTextureFilterAnisotropic4x | Anisotropic filtering 4x |
| RLTextureFilterAnisotropic8x | Anisotropic filtering 8x |
| RLTextureFilterAnisotropic16x | Anisotropic filtering 16x |
Instances
data RLBlendMode Source #
Color blending modes (pre-defined)
Constructors
| RlBlendAlpha | Blend textures considering alpha (default) |
| RlBlendAdditive | Blend textures adding colors |
| RlBlendMultiplied | Blend textures multiplying colors |
| RlBlendAddColors | Blend textures adding colors (alternative) |
| RlBlendSubtractColors | Blend textures subtracting colors (alternative) |
| RlBlendAlphaPremultiply | Blend premultiplied textures considering alpha |
| RlBlendCustom | Blend textures using custom src/dst factors (use rlSetBlendFactors()) |
| RlBlendCustomSeparate | Blend textures using custom src/dst factors (use rlSetBlendFactorsSeparate()) |
Instances
data RLShaderLocationIndex Source #
Shader location point type
Constructors
| RLShaderLocVertexPosition | Shader location: vertex attribute: position |
| RLShaderLocVertexTexcoord01 | Shader location: vertex attribute: texcoord01 |
| RLShaderLocVertexTexcoord02 | Shader location: vertex attribute: texcoord02 |
| RLShaderLocVertexNormal | Shader location: vertex attribute: normal |
| RLShaderLocVertexTangent | Shader location: vertex attribute: tangent |
| RLShaderLocVertexColor | Shader location: vertex attribute: color |
| RLShaderLocMatrixMVP | Shader location: matrix uniform: model-view-projection |
| RLShaderLocMatrixView | Shader location: matrix uniform: view (camera transform) |
| RLShaderLocMatrixProjection | Shader location: matrix uniform: projection |
| RLShaderLocMatrixModel | Shader location: matrix uniform: model (transform) |
| RLShaderLocMatrixNormal | Shader location: matrix uniform: normal |
| RLShaderLocVectorView | Shader location: vector uniform: view |
| RLShaderLocColorDiffuse | Shader location: vector uniform: diffuse color |
| RLShaderLocColorSpecular | Shader location: vector uniform: specular color |
| RLShaderLocColorAmbient | Shader location: vector uniform: ambient color |
| RLShaderLocMapAlbedo | Shader location: sampler2d texture: albedo (same as: RL_SHADER_LOC_MAP_DIFFUSE) |
| RLShaderLocMapMetalness | Shader location: sampler2d texture: metalness (same as: RL_SHADER_LOC_MAP_SPECULAR) |
| RLShaderLocMapNormal | Shader location: sampler2d texture: normal |
| RLShaderLocMapRoughness | Shader location: sampler2d texture: roughness |
| RLShaderLocMapOcclusion | Shader location: sampler2d texture: occlusion |
| RLShaderLocMapEmission | Shader location: sampler2d texture: emission |
| RLShaderLocMapHeight | Shader location: sampler2d texture: height |
| RLShaderLocMapCubemap | Shader location: samplerCube texture: cubemap |
| RLShaderLocMapIrradiance | Shader location: samplerCube texture: irradiance |
| RLShaderLocMapPrefilter | Shader location: samplerCube texture: prefilter |
| RLShaderLocMapBRDF | Shader location: sampler2d texture: brdf |
Instances
data RLShaderUniformDataType Source #
Shader uniform data type
Constructors
| RLShaderUniformFloat | Shader uniform type: float |
| RLShaderUniformVec2 | Shader uniform type: vec2 (2 float) |
| RLShaderUniformVec3 | Shader uniform type: vec3 (3 float) |
| RLShaderUniformVec4 | Shader uniform type: vec4 (4 float) |
| RLShaderUniformInt | Shader uniform type: int |
| RLShaderUniformIVec2 | Shader uniform type: ivec2 (2 int) |
| RLShaderUniformIVec3 | Shader uniform type: ivec3 (3 int) |
| RLShaderUniformIVec4 | Shader uniform type: ivec4 (4 int) |
| RLShaderUniformSampler2D | Shader uniform type: sampler2d |
Instances
data RLShaderAttributeDataType Source #
Shader attribute data types
Constructors
| RLShaderAttribFloat | Shader attribute type: float |
| RLShaderAttribVec2 | Shader attribute type: vec2 (2 float) |
| RLShaderAttribVec3 | Shader attribute type: vec3 (3 float) |
| RLShaderAttribVec4 | Shader attribute type: vec4 (4 float) |
Instances
data RLFramebufferAttachType Source #
Framebuffer attachment type. NOTE: By default up to 8 color channels are defined, but it can be more
Constructors
| RLAttachmentColorChannel0 | Framebuffer attachment type: color 0 |
| RLAttachmentColorChannel1 | Framebuffer attachment type: color 1 |
| RLAttachmentColorChannel2 | Framebuffer attachment type: color 2 |
| RLAttachmentColorChannel3 | Framebuffer attachment type: color 3 |
| RLAttachmentColorChannel4 | Framebuffer attachment type: color 4 |
| RLAttachmentColorChannel5 | Framebuffer attachment type: color 5 |
| RLAttachmentColorChannel6 | Framebuffer attachment type: color 6 |
| RLAttachmentColorChannel7 | Framebuffer attachment type: color 7 |
| RLAttachmentDepth | Framebuffer attachment type: depth |
| RLAttachmentStencil | Framebuffer attachment type: stencil |
Instances
data RLFramebufferAttachTextureType Source #
Framebuffer texture attachment type
Constructors
| RLAttachmentCubemapPositiveX | Framebuffer texture attachment type: cubemap, +X side |
| RLAttachmentCubemapNegativeX | Framebuffer texture attachment type: cubemap, -X side |
| RLAttachmentCubemapPositiveY | Framebuffer texture attachment type: cubemap, +Y side |
| RLAttachmentCubemapNegativeY | Framebuffer texture attachment type: cubemap, -Y side |
| RLAttachmentCubemapPositiveZ | Framebuffer texture attachment type: cubemap, +Z side |
| RLAttachmentCubemapNegativeZ | Framebuffer texture attachment type: cubemap, -Z side |
| RLAttachmentTexture2D | Framebuffer texture attachment type: texture2d |
| RLAttachmentRenderBuffer | Framebuffer texture attachment type: renderbuffer |
Instances
data RLCullMode Source #
Face culling mode
Constructors
| RLCullFaceFront | |
| RLCullFaceBack |
Instances
data RLMatrixMode Source #
Matrix modes (equivalent to OpenGL)
Constructors
| RLModelView | GL_MODELVIEW |
| RLProjection | GL_PROJECTION |
| RLTexture | GL_TEXTURE |
Instances
data RLDrawMode Source #
Primitive assembly draw modes
Constructors
| RLLines | GL_LINES |
| RLTriangles | GL_TRIANGLES |
| RLQuads | GL_QUADS |
Instances
data RLTextureParam Source #
Texture parameters (equivalent to OpenGL defines)
Constructors
| RLTextureParamWrapS | GL_TEXTURE_WRAP_S |
| RLTextureParamWrapT | GL_TEXTURE_WRAP_T |
| RLTextureParamMagFilter | GL_TEXTURE_MAG_FILTER |
| RLTextureParamMinFilter | GL_TEXTURE_MIN_FILTER |
| RLTextureParamFilterNearest | GL_NEAREST |
| RLTextureParamFilterLinear | GL_LINEAR |
| RLTextureParamFilterMipNearest | GL_NEAREST_MIPMAP_NEAREST |
| RLTextureParamFilterNearestMipLinear | GL_NEAREST_MIPMAP_LINEAR |
| RLTextureParamFilterLinearMipNearest | GL_LINEAR_MIPMAP_NEAREST |
| RLTextureParamFilterMipLinear | GL_LINEAR_MIPMAP_LINEAR |
| RLTextureParamFilterAnisotropic | Anisotropic filter (custom identifier) |
| RLTextureParamMipmapBiasRatio | Texture mipmap bias, percentage ratio (custom identifier) |
Instances
data RLShaderType Source #
OpenGL shader type
Constructors
| RLFragmentShader | GL_FRAGMENT_SHADER |
| RLVertexShader | GL_VERTEX_SHADER |
| RLComputeShader | GL_COMPUTE_SHADER |
Instances
data RLBufferHint Source #
GL buffer usage hint
Constructors
| RLBufferHintStreamDraw | GL_STREAM_DRAW |
| RLBufferHintStreamRead | GL_STREAM_READ |
| RLBufferHintStreamCopy | GL_STREAM_COPY |
| RLBufferHintStaticDraw | GL_STATIC_DRAW |
| RLBufferHintStaticRead | GL_STATIC_READ |
| RLBufferHintStaticCopy | GL_STATIC_COPY |
| RLBufferHintDynamicDraw | GL_DYNAMIC_DRAW |
| RLBufferHintDynamicRead | GL_DYNAMIC_READ |
| RLBufferHintDynamicCopy | GL_DYNAMIC_COPY |
Instances
Instances
Instances
Constructors
| Vector4 | |
Instances
type Quaternion = Vector4 Source #
Constructors
| Matrix | |
Fields
| |
Instances
| Storable Matrix Source # | |
| Show Matrix Source # | |
| Eq Matrix Source # | |
| Freeable Matrix Source # | |
vectorToColor :: Vector4 -> Color Source #
Instances
| Storable Color Source # | |
| Show Color Source # | |
| Eq Color Source # | |
| Freeable Color Source # | |
Constructors
| Rectangle | |
Fields
| |
Instances
| Storable Rectangle Source # | |
Defined in Raylib.Types | |
| Show Rectangle Source # | |
| Eq Rectangle Source # | |
| Freeable Rectangle Source # | |
Constructors
| Image | |
Fields
| |
Instances
| Storable Image Source # | |
| Show Image Source # | |
| Eq Image Source # | |
| Freeable Image Source # | |
Constructors
| Texture | |
Fields
| |
Instances
| Storable Texture Source # | |
| Show Texture Source # | |
| Eq Texture Source # | |
| Freeable Texture Source # | |
type TextureCubemap = Texture Source #
data RenderTexture Source #
Constructors
| RenderTexture | |
Fields | |
Instances
| Storable RenderTexture Source # | |
Defined in Raylib.Types Methods sizeOf :: RenderTexture -> Int # alignment :: RenderTexture -> Int # peekElemOff :: Ptr RenderTexture -> Int -> IO RenderTexture # pokeElemOff :: Ptr RenderTexture -> Int -> RenderTexture -> IO () # peekByteOff :: Ptr b -> Int -> IO RenderTexture # pokeByteOff :: Ptr b -> Int -> RenderTexture -> IO () # peek :: Ptr RenderTexture -> IO RenderTexture # poke :: Ptr RenderTexture -> RenderTexture -> IO () # | |
| Show RenderTexture Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> RenderTexture -> ShowS # show :: RenderTexture -> String # showList :: [RenderTexture] -> ShowS # | |
| Eq RenderTexture Source # | |
Defined in Raylib.Types Methods (==) :: RenderTexture -> RenderTexture -> Bool # (/=) :: RenderTexture -> RenderTexture -> Bool # | |
| Freeable RenderTexture Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: RenderTexture -> Ptr RenderTexture -> IO () Source # rlFree :: RenderTexture -> Ptr RenderTexture -> IO () Source # | |
type RenderTexture2D = RenderTexture Source #
data NPatchInfo Source #
Constructors
| NPatchInfo | |
Fields | |
Instances
| Storable NPatchInfo Source # | |
Defined in Raylib.Types Methods sizeOf :: NPatchInfo -> Int # alignment :: NPatchInfo -> Int # peekElemOff :: Ptr NPatchInfo -> Int -> IO NPatchInfo # pokeElemOff :: Ptr NPatchInfo -> Int -> NPatchInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO NPatchInfo # pokeByteOff :: Ptr b -> Int -> NPatchInfo -> IO () # peek :: Ptr NPatchInfo -> IO NPatchInfo # poke :: Ptr NPatchInfo -> NPatchInfo -> IO () # | |
| Show NPatchInfo Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> NPatchInfo -> ShowS # show :: NPatchInfo -> String # showList :: [NPatchInfo] -> ShowS # | |
| Eq NPatchInfo Source # | |
Defined in Raylib.Types | |
| Freeable NPatchInfo Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: NPatchInfo -> Ptr NPatchInfo -> IO () Source # rlFree :: NPatchInfo -> Ptr NPatchInfo -> IO () Source # | |
Constructors
| GlyphInfo | |
Fields | |
Instances
| Storable GlyphInfo Source # | |
Defined in Raylib.Types | |
| Show GlyphInfo Source # | |
| Eq GlyphInfo Source # | |
| Freeable GlyphInfo Source # | |
Constructors
| Font | |
Fields
| |
Constructors
| Camera3D | |
Fields | |
Instances
| Storable Camera3D Source # | |
Defined in Raylib.Types | |
| Show Camera3D Source # | |
| Eq Camera3D Source # | |
| Freeable Camera3D Source # | |
Constructors
| Camera2D | |
Fields | |
Instances
| Storable Camera2D Source # | |
Defined in Raylib.Types | |
| Show Camera2D Source # | |
| Eq Camera2D Source # | |
| Freeable Camera2D Source # | |
Constructors
| Mesh | |
Fields
| |
Constructors
| Shader | |
Fields
| |
Instances
| Storable Shader Source # | |
| Show Shader Source # | |
| Eq Shader Source # | |
| Freeable Shader Source # | |
data MaterialMap Source #
Constructors
| MaterialMap | |
Fields | |
Instances
| Storable MaterialMap Source # | |
Defined in Raylib.Types Methods sizeOf :: MaterialMap -> Int # alignment :: MaterialMap -> Int # peekElemOff :: Ptr MaterialMap -> Int -> IO MaterialMap # pokeElemOff :: Ptr MaterialMap -> Int -> MaterialMap -> IO () # peekByteOff :: Ptr b -> Int -> IO MaterialMap # pokeByteOff :: Ptr b -> Int -> MaterialMap -> IO () # peek :: Ptr MaterialMap -> IO MaterialMap # poke :: Ptr MaterialMap -> MaterialMap -> IO () # | |
| Show MaterialMap Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> MaterialMap -> ShowS # show :: MaterialMap -> String # showList :: [MaterialMap] -> ShowS # | |
| Eq MaterialMap Source # | |
Defined in Raylib.Types | |
| Freeable MaterialMap Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: MaterialMap -> Ptr MaterialMap -> IO () Source # rlFree :: MaterialMap -> Ptr MaterialMap -> IO () Source # | |
Constructors
| Material | |
Fields
| |
Instances
| Storable Material Source # | |
Defined in Raylib.Types | |
| Show Material Source # | |
| Eq Material Source # | |
| Freeable Material Source # | |
Constructors
| Transform | |
Fields | |
Instances
| Storable Transform Source # | |
Defined in Raylib.Types | |
| Show Transform Source # | |
| Eq Transform Source # | |
| Freeable Transform Source # | |
Constructors
| BoneInfo | |
Fields | |
Instances
| Storable BoneInfo Source # | |
Defined in Raylib.Types | |
| Show BoneInfo Source # | |
| Eq BoneInfo Source # | |
| Freeable BoneInfo Source # | |
Constructors
| Model | |
Fields
| |
Instances
| Storable Model Source # | |
| Show Model Source # | |
| Eq Model Source # | |
| Freeable Model Source # | |
data ModelAnimation Source #
Constructors
| ModelAnimation | |
Fields | |
Instances
Constructors
| Ray | |
Fields | |
data RayCollision Source #
Constructors
| RayCollision | |
Fields | |
Instances
| Storable RayCollision Source # | |
Defined in Raylib.Types Methods sizeOf :: RayCollision -> Int # alignment :: RayCollision -> Int # peekElemOff :: Ptr RayCollision -> Int -> IO RayCollision # pokeElemOff :: Ptr RayCollision -> Int -> RayCollision -> IO () # peekByteOff :: Ptr b -> Int -> IO RayCollision # pokeByteOff :: Ptr b -> Int -> RayCollision -> IO () # peek :: Ptr RayCollision -> IO RayCollision # poke :: Ptr RayCollision -> RayCollision -> IO () # | |
| Show RayCollision Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> RayCollision -> ShowS # show :: RayCollision -> String # showList :: [RayCollision] -> ShowS # | |
| Eq RayCollision Source # | |
Defined in Raylib.Types | |
| Freeable RayCollision Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: RayCollision -> Ptr RayCollision -> IO () Source # rlFree :: RayCollision -> Ptr RayCollision -> IO () Source # | |
data BoundingBox Source #
Constructors
| BoundingBox | |
Fields | |
Instances
| Storable BoundingBox Source # | |
Defined in Raylib.Types Methods sizeOf :: BoundingBox -> Int # alignment :: BoundingBox -> Int # peekElemOff :: Ptr BoundingBox -> Int -> IO BoundingBox # pokeElemOff :: Ptr BoundingBox -> Int -> BoundingBox -> IO () # peekByteOff :: Ptr b -> Int -> IO BoundingBox # pokeByteOff :: Ptr b -> Int -> BoundingBox -> IO () # peek :: Ptr BoundingBox -> IO BoundingBox # poke :: Ptr BoundingBox -> BoundingBox -> IO () # | |
| Show BoundingBox Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> BoundingBox -> ShowS # show :: BoundingBox -> String # showList :: [BoundingBox] -> ShowS # | |
| Eq BoundingBox Source # | |
Defined in Raylib.Types | |
| Freeable BoundingBox Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: BoundingBox -> Ptr BoundingBox -> IO () Source # rlFree :: BoundingBox -> Ptr BoundingBox -> IO () Source # | |
Constructors
| Wave | |
Fields
| |
data RAudioBuffer Source #
Constructors
Instances
| Storable RAudioBuffer Source # | |
Defined in Raylib.Types Methods sizeOf :: RAudioBuffer -> Int # alignment :: RAudioBuffer -> Int # peekElemOff :: Ptr RAudioBuffer -> Int -> IO RAudioBuffer # pokeElemOff :: Ptr RAudioBuffer -> Int -> RAudioBuffer -> IO () # peekByteOff :: Ptr b -> Int -> IO RAudioBuffer # pokeByteOff :: Ptr b -> Int -> RAudioBuffer -> IO () # peek :: Ptr RAudioBuffer -> IO RAudioBuffer # poke :: Ptr RAudioBuffer -> RAudioBuffer -> IO () # | |
| Show RAudioBuffer Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> RAudioBuffer -> ShowS # show :: RAudioBuffer -> String # showList :: [RAudioBuffer] -> ShowS # | |
| Eq RAudioBuffer Source # | |
Defined in Raylib.Types | |
| Freeable RAudioBuffer Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: RAudioBuffer -> Ptr RAudioBuffer -> IO () Source # rlFree :: RAudioBuffer -> Ptr RAudioBuffer -> IO () Source # | |
data RAudioProcessor Source #
Constructors
| RAudioProcessor | |
Instances
data AudioStream Source #
Constructors
| AudioStream | |
Instances
| Storable AudioStream Source # | |
Defined in Raylib.Types Methods sizeOf :: AudioStream -> Int # alignment :: AudioStream -> Int # peekElemOff :: Ptr AudioStream -> Int -> IO AudioStream # pokeElemOff :: Ptr AudioStream -> Int -> AudioStream -> IO () # peekByteOff :: Ptr b -> Int -> IO AudioStream # pokeByteOff :: Ptr b -> Int -> AudioStream -> IO () # peek :: Ptr AudioStream -> IO AudioStream # poke :: Ptr AudioStream -> AudioStream -> IO () # | |
| Show AudioStream Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> AudioStream -> ShowS # show :: AudioStream -> String # showList :: [AudioStream] -> ShowS # | |
| Eq AudioStream Source # | |
Defined in Raylib.Types | |
| Freeable AudioStream Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: AudioStream -> Ptr AudioStream -> IO () Source # rlFree :: AudioStream -> Ptr AudioStream -> IO () Source # | |
Constructors
| Sound | |
Fields | |
Instances
| Storable Sound Source # | |
| Show Sound Source # | |
| Eq Sound Source # | |
| Freeable Sound Source # | |
Constructors
| Music | |
Fields
| |
Instances
| Storable Music Source # | |
| Show Music Source # | |
| Eq Music Source # | |
| Freeable Music Source # | |
data VrDeviceInfo Source #
Constructors
Instances
| Storable VrDeviceInfo Source # | |
Defined in Raylib.Types Methods sizeOf :: VrDeviceInfo -> Int # alignment :: VrDeviceInfo -> Int # peekElemOff :: Ptr VrDeviceInfo -> Int -> IO VrDeviceInfo # pokeElemOff :: Ptr VrDeviceInfo -> Int -> VrDeviceInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO VrDeviceInfo # pokeByteOff :: Ptr b -> Int -> VrDeviceInfo -> IO () # peek :: Ptr VrDeviceInfo -> IO VrDeviceInfo # poke :: Ptr VrDeviceInfo -> VrDeviceInfo -> IO () # | |
| Show VrDeviceInfo Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> VrDeviceInfo -> ShowS # show :: VrDeviceInfo -> String # showList :: [VrDeviceInfo] -> ShowS # | |
| Eq VrDeviceInfo Source # | |
Defined in Raylib.Types | |
| Freeable VrDeviceInfo Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: VrDeviceInfo -> Ptr VrDeviceInfo -> IO () Source # rlFree :: VrDeviceInfo -> Ptr VrDeviceInfo -> IO () Source # | |
data VrStereoConfig Source #
Constructors
Instances
data FilePathList Source #
Constructors
| FilePathList | |
Fields | |
Instances
| Storable FilePathList Source # | |
Defined in Raylib.Types Methods sizeOf :: FilePathList -> Int # alignment :: FilePathList -> Int # peekElemOff :: Ptr FilePathList -> Int -> IO FilePathList # pokeElemOff :: Ptr FilePathList -> Int -> FilePathList -> IO () # peekByteOff :: Ptr b -> Int -> IO FilePathList # pokeByteOff :: Ptr b -> Int -> FilePathList -> IO () # peek :: Ptr FilePathList -> IO FilePathList # poke :: Ptr FilePathList -> FilePathList -> IO () # | |
| Show FilePathList Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> FilePathList -> ShowS # show :: FilePathList -> String # showList :: [FilePathList] -> ShowS # | |
| Eq FilePathList Source # | |
Defined in Raylib.Types | |
| Freeable FilePathList Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: FilePathList -> Ptr FilePathList -> IO () Source # rlFree :: FilePathList -> Ptr FilePathList -> IO () Source # | |
data RLVertexBuffer Source #
Dynamic vertex buffers (position + texcoords + colors + indices arrays)
Constructors
| RLVertexBuffer | |
Fields
| |
Instances
data RLDrawCall Source #
Draw call type. NOTE: Only texture changes register a new draw, other state-change-related elements are not used at this moment (vaoId, shaderId, matrices), raylib just forces a batch draw call if any of those state changes happen (this is done in the core module).
Constructors
| RLDrawCall | |
Fields
| |
Instances
| Storable RLDrawCall Source # | |
Defined in Raylib.Types Methods sizeOf :: RLDrawCall -> Int # alignment :: RLDrawCall -> Int # peekElemOff :: Ptr RLDrawCall -> Int -> IO RLDrawCall # pokeElemOff :: Ptr RLDrawCall -> Int -> RLDrawCall -> IO () # peekByteOff :: Ptr b -> Int -> IO RLDrawCall # pokeByteOff :: Ptr b -> Int -> RLDrawCall -> IO () # peek :: Ptr RLDrawCall -> IO RLDrawCall # poke :: Ptr RLDrawCall -> RLDrawCall -> IO () # | |
| Show RLDrawCall Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> RLDrawCall -> ShowS # show :: RLDrawCall -> String # showList :: [RLDrawCall] -> ShowS # | |
| Eq RLDrawCall Source # | |
Defined in Raylib.Types | |
| Freeable RLDrawCall Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: RLDrawCall -> Ptr RLDrawCall -> IO () Source # rlFree :: RLDrawCall -> Ptr RLDrawCall -> IO () Source # | |
data RLRenderBatch Source #
Constructors
| RLRenderBatch | |
Fields
| |
Instances
| Storable RLRenderBatch Source # | |
Defined in Raylib.Types Methods sizeOf :: RLRenderBatch -> Int # alignment :: RLRenderBatch -> Int # peekElemOff :: Ptr RLRenderBatch -> Int -> IO RLRenderBatch # pokeElemOff :: Ptr RLRenderBatch -> Int -> RLRenderBatch -> IO () # peekByteOff :: Ptr b -> Int -> IO RLRenderBatch # pokeByteOff :: Ptr b -> Int -> RLRenderBatch -> IO () # peek :: Ptr RLRenderBatch -> IO RLRenderBatch # poke :: Ptr RLRenderBatch -> RLRenderBatch -> IO () # | |
| Show RLRenderBatch Source # | |
Defined in Raylib.Types Methods showsPrec :: Int -> RLRenderBatch -> ShowS # show :: RLRenderBatch -> String # showList :: [RLRenderBatch] -> ShowS # | |
| Eq RLRenderBatch Source # | |
Defined in Raylib.Types Methods (==) :: RLRenderBatch -> RLRenderBatch -> Bool # (/=) :: RLRenderBatch -> RLRenderBatch -> Bool # | |
| Freeable RLRenderBatch Source # | |
Defined in Raylib.Types Methods rlFreeDependents :: RLRenderBatch -> Ptr RLRenderBatch -> IO () Source # rlFree :: RLRenderBatch -> Ptr RLRenderBatch -> IO () Source # | |