CV_modifier_e

Specifies the modifiers of types.

Syntax

typedef enum CV_modifier_e
{
    CV_MOD_INVALID                      = 0x0000,

    // Standard modifiers.

    CV_MOD_CONST                        = 0x0001,
    CV_MOD_VOLATILE                     = 0x0002,
    CV_MOD_UNALIGNED                    = 0x0003,

    // HLSL modifiers.

    CV_MOD_HLSL_UNIFORM                 = 0x0200,
    CV_MOD_HLSL_LINE                    = 0x0201,
    CV_MOD_HLSL_TRIANGLE                = 0x0202,
    CV_MOD_HLSL_LINEADJ                 = 0x0203,
    CV_MOD_HLSL_TRIANGLEADJ             = 0x0204,
    CV_MOD_HLSL_LINEAR                  = 0x0205,
    CV_MOD_HLSL_CENTROID                = 0x0206,
    CV_MOD_HLSL_CONSTINTERP             = 0x0207,
    CV_MOD_HLSL_NOPERSPECTIVE           = 0x0208,
    CV_MOD_HLSL_SAMPLE                  = 0x0209,
    CV_MOD_HLSL_CENTER                  = 0x020a,
    CV_MOD_HLSL_SNORM                   = 0x020b,
    CV_MOD_HLSL_UNORM                   = 0x020c,
    CV_MOD_HLSL_PRECISE                 = 0x020d,
    CV_MOD_HLSL_UAV_GLOBALLY_COHERENT   = 0x020e,

} CV_modifier_e;

Elements

Element Description
CV_MOD_INVALID Invalid modifier (unused)
CV_MOD_CONST C++ const
CV_MOD_VOLATILE C++ volatile
CV_MOD_HLSL_UNIFORM HLSL uniform
CV_MOD_HLSL_LINE HLSL line
CV_MOD_HLSL_TRIANGLE HLSL triangle
CV_MOD_HLSL_LINEADJ HLSL lineadj
CV_MOD_HLSL_TRIANGLEADJ HLSL triangeadj
CV_MOD_HLSL_LINEAR HLSL linear
CV_MOD_HLSL_CENTROID HLSL centroid
CV_MOD_HLSL_CONSTINTERP HLSL constinterp
CV_MOD_HLSL_NOPERSPECTIVE HLSL noperspective
CV_MOD_HLSL_SAMPLE HLSL sample
CV_MOD_HLSL_CENTER HLSL center
CV_MOD_HLSL_SNORM HLSL snorm
CV_MOD_HLSL_UNORM HLSL unorm
CV_MOD_HLSL_PRECISE HLSL precise
CV_MOD_HLSL_UAV_GLOBALLY_COHERENT HLSL UAV globally coherent

Remarks

Note

The newer DXC compiler no longer produces PDBs. The HLSL elements only have valid values on PDBs produced by the older fxc.exe compiler.

Requirements

Header: cvconst.h

See also