Version: 2018.2

ShaderUtil

class in UnityEditor

マニュアルに切り替える

説明

シェーダーに関するユーティリティクラスです

Static 変数

hardwareSupportsRectRenderTexture現在のハードウェアが RenderTexture をサポートしているかどうか

Static 関数

ClearShaderErrorsClear compile time errors for the given shader.
GetAllShaderInfoReturns an array of ShaderInfo of all available shaders. That includes built-in shaders.
GetPropertyCountシェーダーのプロパティー数を取得します
GetPropertyDescriptionプロパティーの説明部分を取得します
GetPropertyNameプロパティー名を取得します
GetPropertyTypeプロパティーのタイプを取得します
GetRangeLimitsRange プロパティーの値と範囲を取得します
GetShaderDataGet the shader data for a specific shader.
GetTexDimシェーダープロパティーのテクスチャの次元を取得
IsShaderPropertyHiddenインスペクターなどに表示するときプロパティーが非表示状態かどうかを取得します
IsShaderPropertyNonModifiableTexurePropertyIs the shader propery at index propertyIdx of Shader s a NonModifiableTextureProperty?
RegisterShaderRegister a user created shader.