Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements to color transform handling
- Add support for a wider set of use cases for color space bindings, including surface shader nodes with filename-type inputs. - Add support for scoped color space bindings in shader translation. - Add a test suite example that covers newly-supported use cases. Supporting changes include: - Merge the protected method ShaderGraph::createSurfaceShader into ShaderGraph::create, allowing surface shader nodes to be handled in the same fashion as other nodes. - Update the interface of ShaderGraph::createNode, allowing greater flexibility in accessing parent nodes during shader generation. We've omitted a deprecated wrapper for this API update, as it would not be straightforward to write one in a memory-safe fashion, but fortunately this method only appears to be used within the ShaderGraph class.
- Loading branch information