v9.0 (2011)
shader
Imports a shader tree. A shader tree is a kind of a compound
representation of a shader node, having the .xsishaders extension
(similar to the .xsirtcompound file for Render Tree compounds).
Shader trees are basically shader compound whithout any exposed
ports. The shader tree format replaces shader and material
presets.
This is the scripting equivalent of dragging and dropping an
.xsishaders file from the browser into the render tree.
oReturn = ImportShaderTree( [Container], Path ); |
Parameter | Type | Description |
---|---|---|
Container | String | ShaderContainer to hold
imported shader compound.
Default Value: Current selection |
Path | String | Location of shader compound on disk. |
ExportShaderTree ReplaceShadersDefinition CreateShaderFromPreset CreateShaderFromCLSID CreateShaderFromProgID CreateShaderCompound NestShaders UnnestShaders AddShaderCompoundPort RemoveShaderCompoundPort MoveShaderCompoundPort RenameShaderCompoundPort ExportShaderCompound ImportShaderCompound ExplodeShaderCompound SetShaderCompoundPropertiesEx GetShaderCompoundProperties EditShaderCompoundPPGLogic