Thread-safe context for initializing resources. Records a command buffer that transitions all newly created resources into their initial state.
More...
|
| ezInitContextVulkan (ezGALDeviceVulkan *pDevice) |
|
void | AfterBeginFrame () |
|
ezMutex & | AccessLock () |
|
vk::CommandBuffer | GetFinishedCommandBuffer () |
| Returns a finished command buffer of all background loading up to this point. The command buffer is already ended and marked to be reclaimed so the only thing done on it should be to submit it.
|
|
void | InitTexture (const ezGALTextureVulkan *pTexture, vk::ImageCreateInfo &createInfo, ezArrayPtr< ezGALSystemMemoryDescription > pInitialData) |
| Initializes a texture and moves it into its default state. More...
|
|
void | TextureDestroyed (const ezGALTextureVulkan *pTexture) |
| Needs to be called by the ezGALDeviceVulkan just before a texture is destroyed to clean up stale barriers.
|
|
void | InitBuffer (const ezGALBufferVulkan *pBuffer, ezConstByteArrayPtr pInitialData) |
| Initializes a buffer with the given data. More...
|
|
void | UpdateTexture (const ezGALTextureVulkan *pTexture, const ezGALTextureSubresource &subresource, const ezBoundingBoxu32 &box, const ezGALSystemMemoryDescription &sourceData) |
| Updates a texture region.
|
|
void | UpdateBuffer (const ezGALBufferVulkan *pBuffer, ezUInt32 uiOffset, ezConstByteArrayPtr pSourceData) |
| Updates a buffer range. More...
|
|
void | UpdateDynamicUniformBuffer (vk::Buffer gpuBuffer, vk::Buffer stagingBuffer, ezUInt32 uiOffset, ezUInt32 uiSize) |
| Used by ezUniformBufferPoolVulkan to write the entire uniform scratch pool to the GPU. More...
|
|
Thread-safe context for initializing resources. Records a command buffer that transitions all newly created resources into their initial state.