Class ManageShaderParams
Parameters for the Unity.ManageShader tool.
Implements
Inherited Members
Namespace: Unity.AI.MCP.Editor.Tools.Parameters
Assembly: Unity.AI.MCP.Editor.dll
Syntax
public record ManageShaderParams : IEquatable<ManageShaderParams>
Properties
Action
Gets or sets the operation to perform.
Declaration
[McpDescription("Operation to perform", Required = true)]
public ShaderAction Action { get; set; }
Property Value
| Type | Description |
|---|---|
| ShaderAction |
Contents
Gets or sets the shader contents (plain text).
Declaration
[McpDescription("Shader contents (plain text)", Required = false)]
public string Contents { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContentsEncoded
Gets or sets whether contents are base64 encoded.
Declaration
[McpDescription("Whether contents are base64 encoded", Required = false)]
public bool ContentsEncoded { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
EncodedContents
Gets or sets the base64 encoded shader contents.
Declaration
[McpDescription("Base64 encoded shader contents", Required = false)]
public string EncodedContents { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets or sets the shader name (without .shader extension).
Declaration
[McpDescription("Shader name (without .shader extension)", Required = true)]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Path
Gets or sets the relative path under Assets/.
Declaration
[McpDescription("Relative path under Assets/", Required = false)]
public string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| string |