keid-core-0.1.9.0: Core parts of Keid engine.
Safe HaskellSafe-Inferred
LanguageGHC2021

Render.Samplers

Documentation

data Collection a Source #

Constructors

Collection 

Fields

Instances

Instances details
Foldable Collection Source # 
Instance details

Defined in Render.Samplers

Methods

fold :: Monoid m => Collection m -> m #

foldMap :: Monoid m => (a -> m) -> Collection a -> m #

foldMap' :: Monoid m => (a -> m) -> Collection a -> m #

foldr :: (a -> b -> b) -> b -> Collection a -> b #

foldr' :: (a -> b -> b) -> b -> Collection a -> b #

foldl :: (b -> a -> b) -> b -> Collection a -> b #

foldl' :: (b -> a -> b) -> b -> Collection a -> b #

foldr1 :: (a -> a -> a) -> Collection a -> a #

foldl1 :: (a -> a -> a) -> Collection a -> a #

toList :: Collection a -> [a] #

null :: Collection a -> Bool #

length :: Collection a -> Int #

elem :: Eq a => a -> Collection a -> Bool #

maximum :: Ord a => Collection a -> a #

minimum :: Ord a => Collection a -> a #

sum :: Num a => Collection a -> a #

product :: Num a => Collection a -> a #

Traversable Collection Source # 
Instance details

Defined in Render.Samplers

Methods

traverse :: Applicative f => (a -> f b) -> Collection a -> f (Collection b) #

sequenceA :: Applicative f => Collection (f a) -> f (Collection a) #

mapM :: Monad m => (a -> m b) -> Collection a -> m (Collection b) #

sequence :: Monad m => Collection (m a) -> m (Collection a) #

Applicative Collection Source # 
Instance details

Defined in Render.Samplers

Methods

pure :: a -> Collection a #

(<*>) :: Collection (a -> b) -> Collection a -> Collection b #

liftA2 :: (a -> b -> c) -> Collection a -> Collection b -> Collection c #

(*>) :: Collection a -> Collection b -> Collection b #

(<*) :: Collection a -> Collection b -> Collection a #

Functor Collection Source # 
Instance details

Defined in Render.Samplers

Methods

fmap :: (a -> b) -> Collection a -> Collection b #

(<$) :: a -> Collection b -> Collection a #

Generic1 Collection Source # 
Instance details

Defined in Render.Samplers

Associated Types

type Rep1 Collection :: k -> Type #

Methods

from1 :: forall (a :: k). Collection a -> Rep1 Collection a #

to1 :: forall (a :: k). Rep1 Collection a -> Collection a #

Show a => Show (Collection a) Source # 
Instance details

Defined in Render.Samplers

type Rep1 Collection Source # 
Instance details

Defined in Render.Samplers

allocate :: MonadVulkan env io => ("max anisotropy" ::: Float) -> ResourceT io (Collection Sampler) Source #

createInfo :: ("max anisotropy" ::: Float) -> Filter -> ("max LoD" ::: Float) -> SamplerAddressMode -> SamplerCreateInfo '[] Source #