Class DX12RaytracingHelpers
Ray tracing helpers.
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public static class DX12RaytracingHelpers
Fields
kDefaultHeapProps
Default heap property.
Declaration
public static HeapProperties kDefaultHeapProps
Field Value
Type | Description |
---|---|
HeapProperties |
kUploadHeapProps
Upload heap property.
Declaration
public static HeapProperties kUploadHeapProps
Field Value
Type | Description |
---|---|
HeapProperties |
Methods
CreateBuffer(ID3D12Device5, uint, ResourceFlags, ResourceStates, HeapProperties)
Creates the Acceleration Structure buffer.
Declaration
public static ID3D12Resource CreateBuffer(ID3D12Device5 pDevice, uint size, ResourceFlags flags, ResourceStates initState, HeapProperties heapProps)
Parameters
Type | Name | Description |
---|---|---|
ID3D12Device5 | pDevice | Device. |
uint | size | Buffer size. |
ResourceFlags | flags | Resource flags. |
ResourceStates | initState | Initial buffer state. |
HeapProperties | heapProps | Heap properties. |
Returns
Type | Description |
---|---|
ID3D12Resource | The buffer. |