Compute shader Import Settings window reference
View the properties and compiled code of a compute shader.
Read time 1 minuteLast updated 24 days ago
View the properties and compiled code of a compute shader.
Imported object
Property | Description |
|---|---|
| Kernels | Displays the names of the kernels the shader code defines, and which graphics APIs Unity compiles the kernels for. |
| Preprocess only | Sets Show compiled code to generate only the preprocessed code instead of the final code. For more information, refer to Shader compilation. |
| Strip #line directives | Removes |
| Show compiled code | Opens your text editor with the shader code Unity compiles. |