start new chapter
This commit is contained in:
parent
f2af2a8ccf
commit
79a4fea655
2 changed files with 20 additions and 18 deletions
|
@ -119,7 +119,7 @@ initVulkan window = do
|
|||
|
||||
initScene
|
||||
|
||||
return $ EngineData
|
||||
EngineData
|
||||
window
|
||||
dimensions
|
||||
vulkanPhysicalDevice
|
||||
|
@ -137,6 +137,7 @@ initVulkan window = do
|
|||
frames
|
||||
descriptorSetLayout
|
||||
descriptorPool
|
||||
<$> Vk.getPhysicalDeviceProperties vulkanPhysicalDevice
|
||||
|
||||
initScene :: (MonadReader ReadState m, MonadIO m) => m ()
|
||||
initScene = do
|
||||
|
|
|
@ -41,6 +41,7 @@ data EngineData = EngineData
|
|||
, engineFrames :: V.Vector FrameData
|
||||
, engineGlobalSetLayout :: Vk.DescriptorSetLayout
|
||||
, engineDescriptorPool :: Vk.DescriptorPool
|
||||
, enginePhysicalDeviceProperties :: Vk.PhysicalDeviceProperties
|
||||
}
|
||||
|
||||
data AllocatedBuffer = AllocatedBuffer
|
||||
|
|
Loading…
Reference in a new issue