Open CASCADE Technology
Data Structures

Vrml_MaterialBinding.hxx File Reference

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Vrml_MaterialBindingAndNormalBinding.hxx>
#include <Standard_OStream.hxx>

Data Structures

class  Vrml_MaterialBinding
 defines a MaterialBinding node of VRML specifying properties of geometry and its appearance. Material nodes may contain more than one material. This node specifies how the current materials are bound to shapes that follow in the scene graph. Each shape node may interpret bindings differently. For example, a Sphere node is always drawn using the first material in the material node, no matter what the current MaterialBinding, while a Cube node may use six different materials to draw each of its six faces, depending on the MaterialBinding. More...