@EqualityReference public final class KMeshAttributes extends Object
Modifier and Type | Field and Description |
---|---|
static com.io7m.jcanephora.ArrayAttributeDescriptor |
ATTRIBUTE_COLOR
The name and type of per-vertex color data attributes
|
static com.io7m.jcanephora.ArrayAttributeDescriptor |
ATTRIBUTE_NORMAL
The name and type of per-vertex normal vector attributes
|
static com.io7m.jcanephora.ArrayAttributeDescriptor |
ATTRIBUTE_POSITION
The name and type of per-vertex object-space position attributes
|
static com.io7m.jcanephora.ArrayAttributeDescriptor |
ATTRIBUTE_TANGENT4
The name and type of per-vertex tangent vector attributes, where the
fourth component contains
1.0 if the original normal,
tangent, and bitangent vectors formed a right-handed basis, and
-1.0 otherwise. |
static com.io7m.jcanephora.ArrayAttributeDescriptor |
ATTRIBUTE_UV
The name and type of per-vertex UV coordinates
|
public static final com.io7m.jcanephora.ArrayAttributeDescriptor ATTRIBUTE_COLOR
public static final com.io7m.jcanephora.ArrayAttributeDescriptor ATTRIBUTE_NORMAL
public static final com.io7m.jcanephora.ArrayAttributeDescriptor ATTRIBUTE_POSITION
public static final com.io7m.jcanephora.ArrayAttributeDescriptor ATTRIBUTE_TANGENT4
1.0
if the original normal,
tangent, and bitangent vectors formed a right-handed basis, and
-1.0
otherwise. The bitangent vector can therefore be
reconstructed by calculating cross (N, T.xyz) * T.w
(where
N
is the original normal vector, and T
is the
four-component tangent vector).public static final com.io7m.jcanephora.ArrayAttributeDescriptor ATTRIBUTE_UV
Copyright © 2015 <code@io7m.com> http://io7m.com