#include <vgl/render.h>
◆ resource
| uint64_t vgl_mesh_data::resource |
◆ index_list
| uint64_t vgl_mesh_data::index_list |
The index list it is drawn with. Created in the same frame or an earlier one.
◆ vertices
| const void* vgl_mesh_data::vertices |
vertex_count vertices of VGL_TERRAIN_VERTEX_SIZE bytes.
◆ vertex_count
| uint32_t vgl_mesh_data::vertex_count |
◆ vertex_size
| uint32_t vgl_mesh_data::vertex_size |
◆ tile
◆ centre
ECEF origin of the vertex positions.
◆ min_height
| double vgl_mesh_data::min_height |
◆ max_height
| double vgl_mesh_data::max_height |
◆ samples
| const void* vgl_mesh_data::samples |
sample_grid x sample_grid samples of VGL_TERRAIN_SAMPLE_SIZE bytes, in rows from the north, each from the west, at texture coordinates (i, j) / (sample_grid - 1).
◆ sample_grid
| uint32_t vgl_mesh_data::sample_grid |
◆ sample_size
| uint32_t vgl_mesh_data::sample_size |
The documentation for this struct was generated from the following file: