Skip to content

Commit d3b5453

Browse files
committed
Minor changes
1 parent c7b674d commit d3b5453

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

manual/graphics/shaders/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ As an extension to the HLSL language, Flax uses a small set of **attribute macro
3636
| `META_CB_BEGIN(index, name)` | Marks the beginning of the constant buffer definition. |
3737
| `META_CB_END` | Marks the end of the constant buffer definition. |
3838

39+
`minFeatureLevel` should be `AUTO` for automatic detection or specific Feature Level: `FEATURE_LEVEL_ES2`, `FEATURE_LEVEL_SM4`, `FEATURE_LEVEL_SM5`, `FEATURE_LEVEL_SM6`.
40+
3941
#### Shader permutations
4042

4143
One of the features of the shading language in Flax is ability to explicitly permute a shader source using a meta attributes with defines. To understand it take a look at the following example:

manual/platforms/windows.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Flax is compiled for Windows platform using Microsoft Visual C++ compiler. It us
2727
| **Screen Width** | The default game window width (in pixels). |
2828
| **Screen Height** | The default game window height (in pixels). |
2929
| **Resizable Window** | Enables resizing the game window by the user. |
30-
| **Run In Background** | Enables game running when application window loses focus. |
3130
| **Force Single Instance** | Limits maximum amount of concurrent game instances running to one, otherwise user may launch application more than once. |
3231
| **Override Icon** | Custom icon texture to use for the application (overrides the default one). |
3332
| **Support DirectX 12** | Enables support for DirectX 12. Disabling it reduces compiled shaders count. |

0 commit comments

Comments
 (0)