instantreality 1.0

Component:
Shaders
Status:
fully implemented
Structure type:
concrete
Standard:
X3D3.1

ComposedShader

The ComposedShader node defines a shader where the individual source files are not individually programmable. All access to the shading capabilities is defined through a single interface that applies to all parts.

Inheritance

Code

XML encoding
<ComposedShader geometryInputType='auto'
geometryOutputType='auto'
geometryVerticesOut='0'
logFeature=''
language='auto'
 />
Classic encoding
ComposedShader {
	geometryInputType "auto"
	geometryOutputType "auto"
	geometryVerticesOut 0
	logFeature [""]
	language "auto"
}

Interface

Filter: X3D only | Avalon only | All
id Name DataType PartType Default ValueType Description
SFString geometryInputType SFString inputOutput auto Defines input primitive type for geometry shader.
SFString geometryOutputType SFString inputOutput auto Defines output primitive type for geometry shader.
SFInt32 geometryVerticesOut SFInt32 inputOutput 0 Sets maximum number of vertices to be generated by geometry shader, important for performance.
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