gpu-vulkan-0.1.0.154: Vulkan library
Safe HaskellNone
LanguageHaskell2010

Gpu.Vulkan.BufferView

Synopsis

CREATE

create :: forall (mn :: Maybe Type) t (nm :: Symbol) (objs :: [O]) (mscc :: Maybe (Type, Type)) sd sm sb (bnm :: Symbol) a. (WithPoked (M mn), FormatToValue (FormatOf t), OffsetOfList t nm objs, ToMiddle mscc) => D sd -> CreateInfo mn t nm '(sm, sb, bnm, objs) -> M (U2 A) mscc -> (forall s. B s nm t -> IO a) -> IO a Source #

data B s (nm :: Symbol) t Source #

Instances

Instances details
Show (B s nm t) Source # 
Instance details

Defined in Gpu.Vulkan.BufferView.Internal

Methods

showsPrec :: Int -> B s nm t -> ShowS #

show :: B s nm t -> String #

showList :: [B s nm t] -> ShowS #

data CreateInfo (mn :: Maybe Type) t (nm :: Symbol) (snmobjs :: (Type, Type, Symbol, [O])) Source #

Constructors

CreateInfo 

type family FormatOf t :: Format Source #

Buffer View Group

data Group (ma :: Maybe (Type, Type)) s k (nm :: Symbol) t Source #

group :: forall (ma :: Maybe (Type, Type)) sd k (nm :: Symbol) t a. ToMiddle ma => D sd -> M (U2 A) ma -> (forall s. Group ma s k nm t -> IO a) -> IO a Source #

create' :: forall k (mn :: Maybe Type) t (nm :: Symbol) (objs :: [O]) (mscc :: Maybe (Type, Type)) sd s sm sb (bnm :: Symbol). (Ord k, WithPoked (M mn), FormatToValue (FormatOf t), OffsetOfList t nm objs, ToMiddle mscc) => D sd -> Group mscc s k nm t -> k -> CreateInfo mn t nm '(sm, sb, bnm, objs) -> IO (Either String (B s nm t)) Source #

unsafeDestroy :: forall k (ma :: Maybe (Type, Type)) sd sg (nm :: Symbol) t. (Ord k, ToMiddle ma) => D sd -> Group ma sg k nm t -> k -> IO (Either String ()) Source #

lookup :: forall k (md :: Maybe (Type, Type)) sg (nm :: Symbol) t. Ord k => Group md sg k nm t -> k -> IO (Maybe (B sg nm t)) Source #