Skip to content

[Shadergraph] check for description attribute in pluginfo to assign a description to a node port#10506

Open
QuackCola wants to merge 1 commit intoFacepunch:masterfrom
QuackCola:pluginfo-descriptionAttributeCheck
Open

[Shadergraph] check for description attribute in pluginfo to assign a description to a node port#10506
QuackCola wants to merge 1 commit intoFacepunch:masterfrom
QuackCola:pluginfo-descriptionAttributeCheck

Conversation

@QuackCola
Copy link
Copy Markdown
Contributor

Summary

A small tweak so that PlugInfo checks for the DescriptionAttribute

Motivation & Context

Lets users define descriptions for NodeInput and NodeResult properties of a node class so that when
hovering over the respective ports on the node the assigned description is shown.

Implementation Details

Just a simple attribute check in the PlugInfo class contructor.

Screenshots / Videos (if applicable)

In-Graph test :

sbox-dev_hjHyaprEyq sbox-dev_6WWYs5BomJ

Example Definition in a node class :

devenv_Sjg5RZ2Qcj devenv_Il6kvIoKDb

Checklist

  • Code follows existing style and conventions
  • No unnecessary formatting or unrelated changes
  • Public APIs are documented (if applicable)
  • Unit tests added where applicable and all passing
  • I’m okay with this PR being rejected or requested to change 🙂

@QuackCola QuackCola force-pushed the pluginfo-descriptionAttributeCheck branch from daf0fcc to 0ea4587 Compare April 16, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant