Luna::ObjLoader::Index

Specifies the index of vertex position, color, normal and texcoord data in attributes for one vertex.

struct Luna::ObjLoader::Index

Member objects

  • i32 vertex_index

    The index of vertex position and color element to use for this vertex.

  • i32 normal_index

    The index of normal to use for this vertex. -1 means not used.

  • i32 texcoord_index

    The index of texture coordinate element for this vertex. -1 means not used.