Class DX12ResourceLayout
The DirectX 12 implementation of the ResourceLayout object.
Inherited Members
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public class DX12ResourceLayout : ResourceLayout
Constructors
DX12ResourceLayout(DX12GraphicsContext, ref ResourceLayoutDescription)
Initializes a new instance of the DX12ResourceLayout class.
Declaration
public DX12ResourceLayout(DX12GraphicsContext context, ref ResourceLayoutDescription description)
Parameters
| Type | Name | Description |
|---|---|---|
| DX12GraphicsContext | context | The graphics context. |
| ResourceLayoutDescription | description | The layout description. |
Fields
CbvUavSrvDescriporCount
The number of CBV/SRV/UAV descriptors in this layout.
Declaration
public uint CbvUavSrvDescriporCount
Field Value
| Type | Description |
|---|---|
| uint |
CbvUavSrvDescriptors
The CBV/SRV/UAV descriptor ranges.
Declaration
public FastList<DescriptorRange1> CbvUavSrvDescriptors
Field Value
| Type | Description |
|---|---|
| FastList<DescriptorRange1> |
CpuSamplerAllocator
The CPU sampler allocator for this layout.
Declaration
public StagingDescriptorAllocator CpuSamplerAllocator
Field Value
| Type | Description |
|---|---|
| StagingDescriptorAllocator |
CpuViewAllocator
The CPU view allocator for this layout.
Declaration
public StagingDescriptorAllocator CpuViewAllocator
Field Value
| Type | Description |
|---|---|
| StagingDescriptorAllocator |
DynamicCbvDescriptorCount
The number of dynamic CBV descriptors in this layout.
Declaration
public uint DynamicCbvDescriptorCount
Field Value
| Type | Description |
|---|---|
| uint |
DynamicCbvDescriptors
The CBV descriptors with dynamic offsets.
Declaration
public FastList<uint> DynamicCbvDescriptors
Field Value
| Type | Description |
|---|---|
| FastList<uint> |
DynamicCbvResourceIndices
The resource indices of the dynamic CBV descriptors.
Declaration
public FastList<int> DynamicCbvResourceIndices
Field Value
| Type | Description |
|---|---|
| FastList<int> |
RequiredRootParameterCount
The number of required root parameters in this layout.
Declaration
public uint RequiredRootParameterCount
Field Value
| Type | Description |
|---|---|
| uint |
SamplerDescriptorCount
The number of sampler descriptors in this layout.
Declaration
public uint SamplerDescriptorCount
Field Value
| Type | Description |
|---|---|
| uint |
SamplerDescriptors
The sampler descriptor ranges.
Declaration
public FastList<DescriptorRange1> SamplerDescriptors
Field Value
| Type | Description |
|---|---|
| FastList<DescriptorRange1> |
Properties
Name
Gets or sets a string identifying this instance. Can be used in graphics debugger tools.
Declaration
public override string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
Dispose()
Releases managed and unmanaged resources.
Declaration
public override void Dispose()