Interface PackagedShader

All Superinterfaces:
X3DAppearanceChildNode, X3DNode, X3DProgrammableShaderObject, X3DShaderNode, X3DUrlObject
All Known Implementing Classes:
PackagedShader

public interface PackagedShader extends X3DShaderNode, X3DUrlObject, X3DProgrammableShaderObject
PackagedShader can contain field declarations, but no CDATA section of plain-text source code.

Warning: this is an abstract interface that cannot be instantiated as a concrete object. Java programmers typically only need to use concrete objects provided by the org.web3d.x3d.jsail classes. PackagedShader node tooltip: (X3D version 3.1 or later) [X3DShaderNode,X3DUrlObject,X3DProgrammableShaderObject] PackagedShader contains a url for a single file that may contain a number of shaders and combined effects.
  • Hint: PackagedShader contains field declarations and then corresponding IS/connect statements (if any).
  • Warning: PackagedShader does not contain CDATA section of plain-text source code.
  • Hint: apply default containerField='shaders' when parent node is Appearance.
  • Hint: when parent node is LoadSensor, apply containerField='children' (X3Dv4) or containerField='watchList' (X3Dv3). https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#fieldNameChanges

Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
See Also: