[x3d-public] shader question: should X3DVertexAttributeNode name be required?
Don Brutzman
brutzman at nps.edu
Sat Mar 18 17:53:38 PDT 2017
spec sayeth:
==========================================
31.3.3 X3DVertexAttributeNode
http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shaders.html#X3DVertexAttributeNode
X3DVertexAttributeNode : X3DGeometricPropertyNode {
SFNode [in,out] metadata NULL [X3DMetadataObject]
SFString [] name ""
}
The name field describes a name that is mapped to the shading language-specific name for describing per-vertex data. The appropriate shader language annex (see Table 31.2) annex contains language-specific binding information.
==========================================
X3DVertexAttributeNode is implemented by FloatVertexAttribute, Matrix3VertexAttribute and Matrix4VertexAttribute nodes.
Wondering, should the name field be required? Currently it is not.
all the best, Don
--
Don Brutzman Naval Postgraduate School, Code USW/Br brutzman at nps.edu
Watkins 270, MOVES Institute, Monterey CA 93943-5000 USA +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman
More information about the x3d-public
mailing list