title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | api_location | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pragma Directive |
Preprocessor directive that provides machine-specific or operating system-specific features while retaining overall compatibility with the C and C++ languages. |
806ddb9b-ae4b-4dd3-a2c4-39c9cb7f3820 |
|
|
|
|
reference |
05/31/2018 |
Preprocessor directive that provides machine-specific or operating system-specific features while retaining overall compatibility with the C and C++ languages.
#pragma token-string |
---|
Item | Description |
---|---|
token-string |
Series of characters that gives a specific compiler instruction and arguments. This parameter is subject to macro expansion. |
If the compiler finds a pragma it does not recognize, it issues a warning, but compilation continues.
The HLSL compiler recognizes the following pragmas: