instantreality 1.0

Component:
Shaders
Status:
fully implemented
Structure type:
abstract
Standard:
Avalon

ShaderCode

The ShaderCode node provides programmed shading behaviour for a scene. Shader Code can be embedded or read from a source defined in the url field.

Inheritance

Code

XML encoding
<ShaderCode type='VERTEX'
profile=''
url=''
logFeature=''
 />
Classic encoding
ShaderCode {
	type "VERTEX"
	profile [""]
	url [""]
	logFeature [""]
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
MFString profile MFString inputOutput defines one profile per url entry. The profile values depend on the "type" setting and runtime-system. The "auto" value selects the default setting
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