Condividi tramite


struttura D3D12DDIARG_DISPATCH_RAYS_0054 (d3d12umddi.h)

Argomenti usati dalla DispatchRays funzione di callback.

Sintassi

typedef struct D3D12DDIARG_DISPATCH_RAYS_0054 {
  D3D12DDI_GPU_VIRTUAL_ADDRESS_RANGE            RayGenerationShaderRecord;
  D3D12DDI_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE MissShaderTable;
  D3D12DDI_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE HitGroupTable;
  D3D12DDI_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE CallableShaderTable;
  UINT                                          Width;
  UINT                                          Height;
  UINT                                          Depth;
} D3D12DDIARG_DISPATCH_RAYS_0054;

Membri

RayGenerationShaderRecord

Record dello shader di generazione ray.

MissShaderTable

Tabella shader mancante.

HitGroupTable

Tabella di hit group.

CallableShaderTable

Tabella di shader chiamabile.

Width

Larghezza del raggio.

Height

Altezza del raggio.

Depth

Profondità del raggio.

Fabbisogno

Requisito Valore
client minimo supportato Windows 10, versione 1809
intestazione d3d12umddi.h