ResourceGroupAllocator Class
Namespace: Stride.GraphicsAssembly: Stride.Graphics.dll
Allocator for resource groups.
                 Derived from ResourceGroupAllocator: 
              
              
              
public class ResourceGroupAllocator : ComponentBase, IDisposable, IComponent, IReferencable, ICollectorHolder
              Constructors
ResourceGroupAllocator(GraphicsResourceAllocator, CommandList)
public ResourceGroupAllocator(GraphicsResourceAllocator allocator, CommandList commandList)
              Parameters
| Type | Name | Description | 
|---|---|---|
| GraphicsResourceAllocator | allocator | |
| CommandList | commandList | 
Methods
AllocateResourceGroup()
public ResourceGroup AllocateResourceGroup()
              Returns
| Type | Description | 
|---|---|
| ResourceGroup | 
Destroy()
protected override void Destroy()
              Overrides
Flush()
public void Flush()
              PrepareResourceGroup(ResourceGroupLayout, BufferPoolAllocationType, ResourceGroup)
public void PrepareResourceGroup(ResourceGroupLayout resourceGroupLayout, BufferPoolAllocationType constantBufferAllocationType, ResourceGroup resourceGroup)
              Parameters
| Type | Name | Description | 
|---|---|---|
| ResourceGroupLayout | resourceGroupLayout | |
| BufferPoolAllocationType | constantBufferAllocationType | |
| ResourceGroup | resourceGroup | 
Reset(CommandList)
public void Reset(CommandList commandList)
              Parameters
| Type | Name | Description | 
|---|---|---|
| CommandList | commandList |