Description
The ExtensionString
property of the Editor.ShaderGraph.TextureInput
class is a string property that is used internally to store additional information about the texture input. This property is not intended to be serialized or exposed in the editor, as indicated by the JsonIgnore
and Hide
attributes applied to it.
Usage
Since the ExtensionString
property is marked with JsonIgnore
and Hide
attributes, it is not intended for direct use in user code or for display in the editor. It is likely used internally by the system to manage texture input data. Developers should avoid using this property directly and instead rely on other public properties and methods provided by the TextureInput
class.
Example
// Example of how the TextureInput class might be used
var textureInput = new Editor.ShaderGraph.TextureInput();
textureInput.Name = "AlbedoTexture";
textureInput.Default = new Color(1.0f, 1.0f, 1.0f);
textureInput.IsAttribute = true;
// Note: ExtensionString is not used directly due to its internal nature
// and the presence of JsonIgnore and Hide attributes.