Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Preprocessor directive that provides machine-specific or operating system-specific features while retaining overall compatibility with the C and C++ languages.
#pragma token-string |
---|
Parameters
Item | Description |
---|---|
token-string |
Series of characters that gives a specific compiler instruction and arguments. This parameter is subject to macro expansion. |
Remarks
If the compiler finds a pragma it does not recognize, it issues a warning, but compilation continues.
The HLSL compiler recognizes the following pragmas: