ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


IsShaderPropertyNonModifiableTexureProperty(Shader, int)

Is the shader propery at index propertyIdx of Shader s a NonModifiableTextureProperty?
読み終わるまでの所要時間 1 分最終更新 23日前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Deprecated. Use Shader.GetPropertyFlags and test against ShaderPropertyFlags.NonModifiableTextureData instead.
public static bool IsShaderPropertyNonModifiableTexureProperty(Shader s, int propertyIdx)

Parameters

The shader to check against.

propertyIdx

The property index to use.

Returns

Type

Description

bool