確定
MaterialAppearance
實例支持的Material
類型。這是靈活性(大量的材質)和內存/性能(所需的頂點格式和glsl明暗器復雜性)之間的權衡。
Members
(static, constant) ALL
支持所有材質,包括在切線空間中工作的材質。這需要
position
、normal
、st
、tangent
和bitangent
頂點屬性。
(static, constant) BASIC
只支持只需要
position
和normal
頂點屬性的基本材質。
(static, constant) TEXTURED
支持紋理需要
position
、normal
和st
頂點屬性的材質。絕大多數材料都屬于這一類。