Utility functions to assist with working with shaders from the editor.
hardwareSupportsRectRenderTexture | Does the current hardware support render textues. |
ClearShaderErrors | Clears compile time messages for the given shader. |
GetAllShaderInfo | Returns an array of ShaderInfo of all available shaders. That includes built-in shaders. |
GetPropertyCount | Get the number of properties in Shader s. |
GetPropertyDescription | Get the description of the shader propery at index propertyIdx of Shader s. |
GetPropertyName | Get the name of the shader propery at index propertyIdx of Shader s. |
GetPropertyType | Get the ShaderProperyType of the shader propery at index propertyIdx of Shader s. |
GetRangeLimits | Get Limits for a range property at index propertyIdx of Shader s. |
GetShaderData | Get the shader data for a specific shader. |
GetTexDim | Gets texture dimension of a shader property. |
IsShaderPropertyHidden | Is the shader propery at index propertyIdx of Shader s hidden? |
IsShaderPropertyNonModifiableTexureProperty | Is the shader propery at index propertyIdx of Shader s a NonModifiableTextureProperty? |
RegisterShader | Register a user created shader. |
UpdateShaderAsset | Replaces the existing source code in the specified shader with the source code in the supplied string. The override provides a boolean that specifies whether the shader should be recompiled. |