CV_HLSLMemorySpace_e Enumeration

Specifies the HLSL memory space kind.

Syntax

typedef enum CV_HLSLMemorySpace_e
{
    // HLSL specific memory spaces

    CV_HLSL_MEMSPACE_DATA         = 0x00,
    CV_HLSL_MEMSPACE_SAMPLER      = 0x01,
    CV_HLSL_MEMSPACE_RESOURCE     = 0x02,
    CV_HLSL_MEMSPACE_RWRESOURCE   = 0x03,

    CV_HLSL_MEMSPACE_MAX          = 0x0F,
} CV_HLSLMemorySpace_e;

Remarks

Use the IDiaSymbol::get_memorySpaceKind method to retrieve the memory space kind for an HLSL symbol.

Note

The newer DXC compiler no longer produces PDBs. This API only has valid values on PDBs produced by the older fxc.exe compiler.

Requirements

Header: cvconst.h

See also