Shader features required by a specific shader. Features are bit flags.
None | 无着色器要求。 |
BaseShaders | Indicates that basic shader capability i.e. Shader Model level 2.0 is required. |
Interpolators10 | Indicates that support for at least 10 interpolators is required. |
Interpolators32 | Indicates that support for at least 32 interpolators is required. |
MRT4 | Indicates that support for multiple render targets (at least 4) is required i.e. support for fragment shaders that can output at least 4 values. |
MRT8 | Indicates that support for multiple render targets (at least 8) is required i.e. support for fragment shaders that can output at least 8 values. |
Derivatives | Indicates that support for derivative (ddx/ddy) instructions from the fragment shader stage is required. |
SampleLOD | Indicates that support for texture sampling from the fragment shader stage with an explicit mipmap level is required. |
FragCoord | Indicates that support for pixel position (SV_Position) input to the fragment shader stage is required. |
FragClipDepth | Indicates that support for pixel depth (SV_Position.zw) input to the fragment shader stage is required. |
Interpolators15Integers | Indicates that support for at least 15 integers and interpolators in total are required. Unity bundles them together because it is extremely unlikely a GPU/API will ever exist that only has part of that. |
Texture2DArray | Indicates that support for 2D array textures (Texture2DArray) is required. |
Instancing | Indicates that support for the SV_InstanceID input semantic is required. |
Geometry | Indicates that geometry shader stage support is required. |
CubeArray | Indicates that cubemap array (TextureCubeArray) support is required. |
Compute | 表示需要计算着色器支持。 |
RandomWrite | Indicates that support for random-write textures (UAVs) is required. |
TessellationCompute | Indicates that support for tessellation using a compute shader for control point processing is required. The Metal graphics API requires this feature for tessellation. |
TessellationShaders | Indicates that support for tessellation using hull and domain shader stages is required. |
SparseTexelResident | Indicates that support of sparse textures with sampling instructions that return residency information is requred. |
FramebufferFetch | Indicates that framebuffer fetch support is required. This is the ability to have fragment shader color arguments with in/out modifiers. |
MSAATextureSamples | Indicates that support for MSAA textures (e.g. Texture2DMS) is required. |
SetRTArrayIndexFromAnyShader | Indicates that support for setting the render target array index (SV_RenderTargetArrayIndex) from all shader stages (not just from the geometry shader stage) is required. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.