instantreality 1.0

fully implemented
Structure type:


A SingleShader node describes a file that may contain a single shader.



XML encoding
<SingleShader logFeature=''
Classic encoding
SingleShader {
	logFeature [""]
	language "auto"


Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFString language SFString initializeOnly auto CG; GLSL; HLSL Indicates to the browser which shading language is used for the source file(s). This field may be used as a hint for the browser if the shading language is not immediately determinable from the source.
SFBool isSelected SFBool outputOnly The isSelected output field is used to indicate that this shader instance is the one selected for use by the browser. A TRUE value indicates that this instance is in use.
SFBool isValid SFBool outputOnly The isValid field is used to indicate whether the current shader objects can be run as a shader program.
SFBool activate SFBool inputOnly The activate field forces the shader to activate the contained objects.
MFString logFeature MFString inputOutput state, child, parent, route, eventIn, eventOut controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything
SFNode metadata SFNode inputOutput MetadataObject container for payload metadata inside MetadataSet element