Setting the render state on the GPU
Resources for using commands in a subshader or shader pass that change the render state on the GPU.
阅读时间2 分钟最后更新于 23 天前
Use these commands within a Pass block to set the render state for that Pass, or within a SubShader block to set the render state for that SubShader and any Passes that it contains.
Page | Description |
|---|---|
| Enable conservative rasterization in a shader | Use the |
| Set the culling mode in a shader | Use the |
| Set the depth bias in a shader | Use the |
| Set the depth clip mode in a shader | Use the |
| Set the depth testing mode in a shader | Use the |
| Disable writing to the depth buffer in a shader | Use the |
| Check or write to the stencil buffer in a shader | Use the |
| Set the blending mode in a shader | Use the |
| Set the color channels the GPU renders to | Use the |
| Reduce aliasing with AlphaToMask mode | Use the |
| Group commands with the Category block | Use the |