| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Render.Lit.Textured.Model
Documentation
type Model buf = Indexed buf Packed VertexAttrs Source #
data VertexAttrs Source #
Constructors
| VertexAttrs | |
Fields
| |
Instances
vkVertexAttrs :: [Format] Source #
data InstanceAttrs Source #
Constructors
| InstanceAttrs | |
Fields | |
Instances
| Zero InstanceAttrs Source # | |
Defined in Render.Lit.Textured.Model Methods | |
data InstanceBuffers textureStage transformStage Source #
Constructors
| InstanceBuffers | |
Fields
| |
Instances
| HasVertexBuffers (InstanceBuffers textureStage transformStage) Source # | |
Defined in Render.Lit.Textured.Model Associated Types type VertexBuffersOf (InstanceBuffers textureStage transformStage) Methods 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 #
Constructors
| TextureParams | |
Fields
| |
Instances
| Storable TextureParams Source # | |
Defined in Render.Lit.Textured.Model Methods 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 () # | |
| Show TextureParams Source # | |
Defined in Render.Lit.Textured.Model Methods showsPrec :: Int -> TextureParams -> ShowS # show :: TextureParams -> String # showList :: [TextureParams] -> ShowS # | |
| Zero TextureParams Source # | |
Defined in Render.Lit.Textured.Model Methods | |
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
| Storable Transform | |
Defined in Geomancy.Transform | |
| Monoid Transform | |
| Semigroup Transform | |
| Show Transform | |