sdl3-bindgen-sys
Safe HaskellNone
LanguageGHC2021

SDL3.Sys.Bindgen.Metal

Description

Functions to creating Metal layers and views on SDL windows.

This provides some platform-specific glue for Apple platforms. Most macOS and iOS apps can use SDL without these functions, but this API they can be useful for specific OS-level integration tasks. A handle to a CAMetalLayer-backed NSView (macOS) or UIView (iOS/tvOS).

Since: 3.2.0

Synopsis

Documentation

newtype SDL_MetalView Source #

C declaration
SDL_MetalView, defined at SDL3/SDL_metal.h 48:15

Constructors

SDL_MetalView 

Fields

Instances

Instances details
Storable SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

Generic SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

Associated Types

type Rep SDL_MetalView 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

type Rep SDL_MetalView = D1 ('MetaData "SDL_MetalView" "SDL3.Sys.Bindgen.Metal" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_MetalView" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void))))
Show SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

Eq SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

Ord SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

HasFFIType SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

Associated Types

type FFIType SDL_MetalView 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

ReadRaw SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

StaticSize SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

WriteRaw SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

HasCField SDL_MetalView "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

Associated Types

type CFieldType SDL_MetalView "unwrap" 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

Methods

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

ty ~ Ptr Void => HasField "unwrap" SDL_MetalView ty Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

Methods

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

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

Defined in SDL3.Sys.Bindgen.Metal

Methods

getField :: Ptr SDL_MetalView -> Ptr ty #

type Rep SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

type Rep SDL_MetalView = D1 ('MetaData "SDL_MetalView" "SDL3.Sys.Bindgen.Metal" "sdl3-bindgen-sys-0.0.1.0-inplace" 'True) (C1 ('MetaCons "SDL_MetalView" 'PrefixI 'True) (S1 ('MetaSel ('Just "unwrap") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Ptr Void))))
type FFIType SDL_MetalView Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal

type CFieldType SDL_MetalView "unwrap" Source # 
Instance details

Defined in SDL3.Sys.Bindgen.Metal