Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Model buf = Indexed buf Packed VertexAttrs Source #
data VertexAttrs Source #
VertexAttrs | |
|
Instances
vkVertexAttrs :: [Format] Source #
data InstanceAttrs Source #
Instances
Zero InstanceAttrs Source # | |
Defined in Render.Lit.Textured.Model |
data InstanceBuffers textureStage transformStage Source #
InstanceBuffers | |
|
Instances
HasVertexBuffers (InstanceBuffers textureStage transformStage) Source # | |
Defined in Render.Lit.Textured.Model type VertexBuffersOf (InstanceBuffers textureStage transformStage) getVertexBuffers :: InstanceBuffers textureStage transformStage -> [Buffer] getInstanceCount :: InstanceBuffers textureStage transformStage -> Word32 | |
type VertexBuffersOf (InstanceBuffers textureStage transformStage) Source # | |
Defined in Render.Lit.Textured.Model |
data TextureParams Source #
TextureParams | |
|
Instances
Show TextureParams Source # | |
Defined in Render.Lit.Textured.Model showsPrec :: Int -> TextureParams -> ShowS # show :: TextureParams -> String # showList :: [TextureParams] -> ShowS # | |
Storable TextureParams Source # | |
Defined in Render.Lit.Textured.Model sizeOf :: TextureParams -> Int # alignment :: TextureParams -> Int # peekElemOff :: Ptr TextureParams -> Int -> IO TextureParams # pokeElemOff :: Ptr TextureParams -> Int -> TextureParams -> IO () # peekByteOff :: Ptr b -> Int -> IO TextureParams # pokeByteOff :: Ptr b -> Int -> TextureParams -> IO () # peek :: Ptr TextureParams -> IO TextureParams # poke :: Ptr TextureParams -> TextureParams -> IO () # | |
Zero TextureParams Source # | |
Defined in Render.Lit.Textured.Model |
vkInstanceTexture :: [Format] Source #
allocateInstancesWith :: (MonadResource m, MonadUnliftIO m) => (BufferUsageFlagBits -> Int -> Vector TextureParams -> m (InstanceTexture texture)) -> (BufferUsageFlagBits -> Int -> Vector Transform -> m (InstanceTransform transform)) -> (forall stage a. Allocated stage a -> m ()) -> [InstanceAttrs] -> m (ReleaseKey, InstanceBuffers texture transform) Source #
Instances
Show Transform | |
Semigroup Transform | |
Monoid Transform | |
Storable Transform | |
Defined in Geomancy.Transform |