Message 1 of 1
How to create attribute on a node that accepts image data?

Not applicable
05-25-2019
02:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm getting into creating my own DG nodes in the Maya API. I'd like to be able to create a node that accepts image data, performs processing on it and then outputs a different image, but as far as I can tell the MAttribute classes only work for primitive data types. Is there a way for me to get image data from another node through the plug system? Right now I'm having to get around this by manually looking up the source node and getting the image data from the node directly.