Class ResourceGroupAllocator
Allocator for resource groups.
public class ResourceGroupAllocator : ComponentBase, IDisposable, IComponent, IReferencable, ICollectorHolder
- Inheritance
-
ResourceGroupAllocator
- Implements
- Inherited Members
- Extension Methods
Constructors
ResourceGroupAllocator(GraphicsResourceAllocator, CommandList)
public ResourceGroupAllocator(GraphicsResourceAllocator allocator, CommandList commandList)
Parameters
allocator
GraphicsResourceAllocatorcommandList
CommandList
Methods
AllocateResourceGroup()
public ResourceGroup AllocateResourceGroup()
Returns
Destroy()
Disposes of object resources.
protected override void Destroy()
Flush()
public void Flush()
PrepareResourceGroup(ResourceGroupLayout, BufferPoolAllocationType, ResourceGroup)
public void PrepareResourceGroup(ResourceGroupLayout resourceGroupLayout, BufferPoolAllocationType constantBufferAllocationType, ResourceGroup resourceGroup)
Parameters
resourceGroupLayout
ResourceGroupLayoutconstantBufferAllocationType
BufferPoolAllocationTyperesourceGroup
ResourceGroup
Reset(CommandList)
public void Reset(CommandList commandList)
Parameters
commandList
CommandList