Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::BindSparseResourceMemoryAttribs Struct Reference

Attributes of the IDeviceContext::BindSparseResourceMemory() command. More...

#include <DeviceContext.h>

Public Attributes

const SparseBufferMemoryBindInfopBufferBinds = nullptr
 An array of NumBufferBinds sparse buffer bind commands.
 
Uint32 NumBufferBinds = 0
 The number of elements in the pBufferBinds array.
 
const SparseTextureMemoryBindInfopTextureBinds = nullptr
 An array of NumTextureBinds sparse texture bind commands.
 
Uint32 NumTextureBinds = 0
 The number of elements in the pTextureBinds.
 
IFence ** ppWaitFences = nullptr
 An array of NumWaitFences fences to wait.
 
const Uint64pWaitFenceValues = nullptr
 An array of NumWaitFences values that the context should wait for the fences to reach.
 
Uint32 NumWaitFences = 0
 The number of elements in the ppWaitFences and pWaitFenceValues arrays.
 
IFence ** ppSignalFences = nullptr
 An array of NumSignalFences fences to signal.
 
const Uint64pSignalFenceValues = nullptr
 An array of NumSignalFences values to set the fences to.
 
Uint32 NumSignalFences = 0
 The number of elements in the ppSignalFences and pSignalFenceValues arrays.
 

Detailed Description

Attributes of the IDeviceContext::BindSparseResourceMemory() command.

Member Data Documentation

◆ pBufferBinds

const SparseBufferMemoryBindInfo* Diligent::BindSparseResourceMemoryAttribs::pBufferBinds = nullptr

An array of NumBufferBinds sparse buffer bind commands.

All commands must bind/unbind unique range in the buffer. Not supported in Metal.

◆ ppWaitFences

IFence** Diligent::BindSparseResourceMemoryAttribs::ppWaitFences = nullptr

An array of NumWaitFences fences to wait.

Remarks
The context will wait until all fences have reached the values specified in pWaitFenceValues.

◆ pTextureBinds

const SparseTextureMemoryBindInfo* Diligent::BindSparseResourceMemoryAttribs::pTextureBinds = nullptr

An array of NumTextureBinds sparse texture bind commands.

All commands must bind/unbind unique region in the texture.