确定
MaterialAppearance实例支持的Material类型。这是灵活性(大量的材质)和内存/性能(所需的顶点格式和glsl明暗器复杂性)之间的权衡。
Members
(static, constant) ALL
支持所有材质,包括在切线空间中工作的材质。这需要
position、normal、st、tangent和bitangent顶点属性。
(static, constant) BASIC
只支持只需要
position和normal顶点属性的基本材质。
(static, constant) TEXTURED
支持纹理需要
position、normal和st顶点属性的材质。绝大多数材料都属于这一类。