assets-shader-get-data

Solid

Get detailed data about a shader asset — properties, subshaders, passes, compilation messages, and supported status. Supports token-saving path-scoped reads via `paths` or `viewQuery`. Use 'assets-find' with `t:Shader` or 'assets-shader-list-all' to locate the shader first.

AI & Automation 2,976 stars 277 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Assets / Shader / Get Data Get detailed data about a shader asset in the Unity project. Returns shader properties, subshaders, passes, compilation errors, and supported status. Use 'assets-find' tool with filter 't:Shader' to find shaders, or 'assets-shader-list-all' tool to list all shader names. ## Toggles (most default off to keep responses small) - `includeMessages` (default `true`) — shader compilation messages. - `includeProperties` (default `false`) — uniforms list. - `includeSubshaders` (default `false`) — subshader and pass structure. - `includeSourceCode` (default `false`) — pass source code. Implies `includeSubshaders` and can produce very large responses. ## Path-scoped reads (token-saving) Supply `paths` (a list of paths) to read only the listed fields/elements via `Reflector.TryReadAt`, or `viewQuery` (a `ViewQuery`) to navigate to a subtree and/or filter by name regex / max depth / type via `Reflector.View`. The result populates `View` on the returned `ShaderData`. These two parameters are mutually exclusive. ## Path syntax `fieldName`, `nested/field`, `arrayField/[i]`, `dictField/[key]`. Leading `#/` is stripped. ## How to Call ```bash unity-mcp-cli run-tool assets-shader-get-data --input '{ "assetRef": "string_value", "includeMessages": "string_value", "includeProperties": "string_value", "includeSubshaders": "string_value", "includeSourceCode": "string_value", "paths": "string_value", "viewQuery": "string_value" }' ``` > For complex...

Details

Author
IvanMurzak
Repository
IvanMurzak/Unity-MCP
Created
1 years ago
Last Updated
today
Language
C#
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category