Bewerken

Delen via


D3D12DDI_SHADERCACHE_HASH structure (d3d12umddi.h)

The D3D12DDI_SHADERCACHE_HASH structure contains a hash value associated with a shader in the shader cache.

Syntax

typedef struct D3D12DDI_SHADERCACHE_HASH {
  BYTE Hash[16];
} D3D12DDI_SHADERCACHE_HASH;

Members

Hash[16]

A hash value. When a shader is compiled, a hash value based on the shader code and possibly other relevant data is computed. This hash is then used as a key to store and retrieve the compiled shader code from the shader cache.

Requirements

Requirement Value
Header d3d12umddi.h (include D3d12umddi.h)

See also

PFND3D12DDI_CREATE_SHADER_0026

pfnShaderCacheGetValueCb

pfnShaderCacheStoreValueCb