Class CommandAllocatorPoolDX12
Inheritance
CommandAllocatorPoolDX12
Assembly: FlaxEngine.dll
File: Engine/GraphicsDevice/DirectX/DX12/CommandAllocatorPoolDX12.h
Syntax
public class CommandAllocatorPoolDX12
Constructors
~CommandAllocatorPoolDX12()
Declaration
public ~CommandAllocatorPoolDX12()
CommandAllocatorPoolDX12(GPUDeviceDX12* device, D3D12_COMMAND_LIST_TYPE type)
Declaration
public CommandAllocatorPoolDX12(GPUDeviceDX12* device, D3D12_COMMAND_LIST_TYPE type)
Parameters
GPUDeviceDX12
device
|
D3D12_COMMAND_LIST_TYPE
type
|
Methods
DiscardAllocator(uint64 fenceValue, ID3D12CommandAllocator* allocator)
Declaration
public void DiscardAllocator(uint64 fenceValue, ID3D12CommandAllocator* allocator)
Parameters
uint64
fenceValue
|
ID3D12CommandAllocator
allocator
|
Release()
Declaration
public void Release()
RequestAllocator(uint64 completedFenceValue)
Declaration
public ID3D12CommandAllocator* RequestAllocator(uint64 completedFenceValue)
Parameters
uint64
completedFenceValue
|
Returns
ID3D12CommandAllocator
|
Size()
Declaration
public uint32 Size() const
Returns
uint32
|