Class PackagedShader

java.lang.Object
All Implemented Interfaces:
X3DNode, X3DUrlObject, PackagedShader, X3DProgrammableShaderObject, X3DShaderNode, X3DAppearanceChildNode

public class PackagedShader extends X3DConcreteNode implements PackagedShader
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 org.web3d.x3d.jsail concrete class is used for implementing a standalone X3D object as a Plain Old Java Object (POJO). If you are writing Java code for use inside an X3D Script node, compile separate code using only the org.web3d.x3d.sai package instead.
See Also: