Class DX12RaytracingHelpers
Raytracing helpers.
Inherited Members
Namespace: Evergine.DirectX12
Assembly: Evergine.DirectX12.dll
Syntax
public static class DX12RaytracingHelpers
Fields
kDefaultHeapProps
Heap property default.
Declaration
public static HeapProperties kDefaultHeapProps
Field Value
Type | Description |
---|---|
HeapProperties |
kUploadHeapProps
Heap property upload.
Declaration
public static HeapProperties kUploadHeapProps
Field Value
Type | Description |
---|---|
HeapProperties |
Methods
CreateBuffer(ID3D12Device5, uint, ResourceFlags, ResourceStates, HeapProperties)
Create 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 width. |
ResourceFlags | flags | Resource flags. |
ResourceStates | initState | Initial buffer state. |
HeapProperties | heapProps | Heap properties. |
Returns
Type | Description |
---|---|
ID3D12Resource | The buffer. |