naev 0.12.5
MeshPrimitive Struct Reference

Represents the underlyig 3D data and associated material. More...

#include <gltf.h>

Data Fields

size_t nidx
GLuint vbo_idx
GLuint vbo_pos
GLuint vbo_nor
GLuint vbo_tex0
GLuint vbo_tex1
int material

Detailed Description

Represents the underlyig 3D data and associated material.

Definition at line 77 of file gltf.h.

Field Documentation

◆ material

int MeshPrimitive::material

ID of material to use.

Definition at line 84 of file gltf.h.

◆ nidx

size_t MeshPrimitive::nidx

Number of indices.

Definition at line 78 of file gltf.h.

◆ vbo_idx

GLuint MeshPrimitive::vbo_idx

Index VBO.

Definition at line 79 of file gltf.h.

◆ vbo_nor

GLuint MeshPrimitive::vbo_nor

Normal VBO.

Definition at line 81 of file gltf.h.

◆ vbo_pos

GLuint MeshPrimitive::vbo_pos

Position VBO.

Definition at line 80 of file gltf.h.

◆ vbo_tex0

GLuint MeshPrimitive::vbo_tex0

Texture 0 coordinate VBO.

Definition at line 82 of file gltf.h.

◆ vbo_tex1

GLuint MeshPrimitive::vbo_tex1

Texture 1 coordinate VBO.

Definition at line 83 of file gltf.h.


The documentation for this struct was generated from the following file: