Description

Vertex attribute IDs

Since 1.10

Fields

  • position - vertex position
  • normal - vertex normal
  • tangent - vertex tangent (for normal mapping)
  • color - vertex color
  • texcoord - vertex texture coordinate

Signature

enum Evas.Canvas3D.Vertex_Attrib {
    position: 0,
    normal,
    tangent,
    color,
    texcoord
}

C signature

typedef enum {
    EVAS_CANVAS3D_VERTEX_ATTRIB_POSITION = 0,
    EVAS_CANVAS3D_VERTEX_ATTRIB_NORMAL,
    EVAS_CANVAS3D_VERTEX_ATTRIB_TANGENT,
    EVAS_CANVAS3D_VERTEX_ATTRIB_COLOR,
    EVAS_CANVAS3D_VERTEX_ATTRIB_TEXCOORD
} Evas_Canvas3D_Vertex_Attrib;