Class AttributeLocations
Declares buffer locations. OpenGL specific error: GL_INVALID_VALUE is generated if index is greater than or equal to GL_MAX_VERTEX_ATTRIBS. GL_MAX_VERTEX_ATTRIBS seems to be 16.
Inheritance
Inherited Members
Namespace: Fusee.Engine.Common
Assembly: Fusee.Engine.Common.dll
Syntax
public static class AttributeLocations
Fields
BitangentAttribBindingIndex
The binding index for the Bitangent buffer.
Declaration
public static readonly int BitangentAttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
BitangentAttribLocation
The bitangent attribute location index.
Declaration
public static readonly int BitangentAttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
BoneIndexAttribAttribBindingIndex
The binding index for the Bone Index buffer.
Declaration
public static readonly int BoneIndexAttribAttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
BoneIndexAttribLocation
The bone index attribute location index.
Declaration
public static readonly int BoneIndexAttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
BoneWeightAttribBindingIndex
The binding index for the Bone Weight buffer.
Declaration
public static readonly int BoneWeightAttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
BoneWeightAttribLocation
The bone weight attribute location index.
Declaration
public static readonly int BoneWeightAttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
Color1AttribBindingIndex
The binding index for the second Color buffer.
Declaration
public static readonly int Color1AttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
Color1AttribLocation
The color attribute location index.
Declaration
public static readonly int Color1AttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
Color2AttribBindingIndex
The binding index for the third Color buffer.
Declaration
public static readonly int Color2AttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
Color2AttribLocation
The color attribute location index.
Declaration
public static readonly int Color2AttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
ColorAttribBindingIndex
The binding index for the Color buffer.
Declaration
public static readonly int ColorAttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
ColorAttribLocation
The color attribute location index.
Declaration
public static readonly int ColorAttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
FlagsAttribLocation
Attribute location for the flags buffer.
Declaration
public static readonly int FlagsAttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
FlagsBindingIndex
The binding index for the flags buffer.
Declaration
public static readonly int FlagsBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
InstancedColor
Attribute location for the instanced color.
Declaration
public static readonly int InstancedColor
Field Value
Type | Description |
---|---|
System.Int32 |
InstancedColorBindingIndex
The binding index for the instanced color buffer.
Declaration
public static readonly int InstancedColorBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
InstancedModelMat1
First attribute location for the instanced model matrix. Vertex Attributes can be of type vec4 at maximum.
Declaration
public static readonly int InstancedModelMat1
Field Value
Type | Description |
---|---|
System.Int32 |
InstancedModelMat2
Second attribute location for the instanced model matrix. Vertex Attributes can be of type vec4 at maximum.
Declaration
public static readonly int InstancedModelMat2
Field Value
Type | Description |
---|---|
System.Int32 |
InstancedModelMat3
Third attribute location for the instanced model matrix. Vertex Attributes can be of type vec4 at maximum.
Declaration
public static readonly int InstancedModelMat3
Field Value
Type | Description |
---|---|
System.Int32 |
InstancedModelMat4
Fourth attribute location for the instanced model matrix. Vertex Attributes can be of type vec4 at maximum.
Declaration
public static readonly int InstancedModelMat4
Field Value
Type | Description |
---|---|
System.Int32 |
InstancedModelMatBindingIndex
The binding index for the instance model matrix buffer.
Declaration
public static readonly int InstancedModelMatBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
NormalAttribBindingIndex
The binding index for the Normal buffer.
Declaration
public static readonly int NormalAttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
NormalAttribLocation
The normal attribute location index.
Declaration
public static readonly int NormalAttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
TangentAttribBindingIndex
The binding index for the Tangent buffer.
Declaration
public static readonly int TangentAttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
TangentAttribLocation
The tangent attribute location index.
Declaration
public static readonly int TangentAttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
UvAttribBindingIndex
The binding index for the UV buffer.
Declaration
public static readonly int UvAttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
UvAttribLocation
The uv attribute location index.
Declaration
public static readonly int UvAttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |
VertexAttribBindingIndex
The binding index for the VAO.
Declaration
public static readonly int VertexAttribBindingIndex
Field Value
Type | Description |
---|---|
System.Int32 |
VertexAttribLocation
The vertex attribute location index.
Declaration
public static readonly int VertexAttribLocation
Field Value
Type | Description |
---|---|
System.Int32 |