Debian Codegraph @

tools/internal/x3d-nodes-to-pascal/nodes-specification/Shaders.txt

raw
1 X3DShaderNode : X3DAppearanceChildNode {
2 default-container-field: shaders
3
4 SFBool [in] activate
5 SFBool [out] isSelected
6 SFBool [out] isValid
7 SFString [] language ""
8 range: ["CG"|"GLSL"|"HLSL"|...]
9 enumerated-type: TShaderLanguage ShaderLanguageNames slDefault
10 doc: Shading language. Only the GLSL (OpenGL Shading Language) is actually supported. The default value, empty string, is equivalent to GLSL.
11 change: chEverything
12 }
13
14 X3DVertexAttributeNode : X3DGeometricPropertyNode {
15 default-container-field: attrib
16
17 SFString [] name ""
18 }
19
20 ComposedShader : X3DShaderNode, X3DProgrammableShaderObject {
21 MFNode [in,out] parts []
22 range: ShaderPart
23 change: chEverything
24 SFString [] uniformMissing "WARNING"
25 range: ["WARNING", "IGNORE"]
26 enumerated-type: TUniformMissing UniformMissingNames umWarning
27 change: chEverything
28 doc: Should we report a missing uniform value. Setting this to umWarning (default) is useful to spot simple mistakes in naming uniforms. On the other hand, OpenGL aggressively removes unused uniforms from code, and it may cause spurious messages that some uniform is missing -- even though the shader is correct, is just doesn't use some uniform value e.g. because no lights are present on the current scene.
29 }
30
31 FloatVertexAttribute : X3DVertexAttributeNode {
32 MFFloat [in,out] value []
33 range: (-Inf,Inf)
34 SFInt32 [] numComponents 4
35 range: [1..4]
36 }
37
38 Matrix3VertexAttribute : X3DVertexAttributeNode {
39 MFMatrix3f [in,out] value []
40 range: (-Inf,Inf)
41 }
42
43 Matrix4VertexAttribute : X3DVertexAttributeNode {
44 MFMatrix4f [in,out] value []
45 range: (-Inf,Inf)
46 }
47
48 PackagedShader : X3DShaderNode, X3DUrlObject, X3DProgrammableShaderObject {
49 MFString [in,out] url []
50 range: [URI]
51 }
52
53 ProgramShader : X3DShaderNode {
54 MFNode [in,out] programs []
55 range: ShaderProgram
56 }
57
58 ShaderPart : X3DNode, X3DUrlObject {
59 default-container-field: parts
60
61 MFString [in,out] url []
62 range: [URI]
63 change: chEverything
64 SFString [] type "VERTEX"
65 range: ["VERTEX"|"FRAGMENT"]
66 enumerated-type: TShaderType ShaderTypeNameX3D stVertex
67 change: chEverything
68 }
69
70 ShaderProgram : X3DNode, X3DUrlObject, X3DProgrammableShaderObject {
71 default-container-field: programs
72
73 MFString [in,out] url []
74 range: [URI]
75 SFString [] type "VERTEX"
76 range: ["VERTEX"|"FRAGMENT"]
77 enumerated-type: TShaderType ShaderTypeNameX3D stVertex
78 }