#include <GroundMesh.h>
Definition at line 30 of file GroundMesh.h.
typedef bool(* GroundMesh::TrimConditional)(const vec2 &offset) |
|
private |
GroundMesh::GroundMesh |
( |
unsigned int |
size, |
|
|
unsigned int |
levels, |
|
|
float |
clip_scale |
|
) |
| |
GroundMesh::~GroundMesh |
( |
| ) |
|
const std::vector<vec2>& GroundMesh::get_level_offsets |
( |
| ) |
const |
|
inline |
vec2 GroundMesh::get_offset_level |
( |
const vec2 & |
camera_pos, |
|
|
unsigned int |
level |
|
) |
| |
|
private |
[Snapping clipmap level to a grid]
Definition at line 56 of file GroundMesh.cpp.
bool GroundMesh::intersects_frustum |
( |
const vec2 & |
offset, |
|
|
const vec2 & |
range, |
|
|
unsigned int |
level |
|
) |
| |
|
private |
void GroundMesh::render |
( |
| ) |
|
[Rendering the entire terrain]
[Render scene]
Definition at line 575 of file GroundMesh.cpp.
void GroundMesh::render_draw_list |
( |
| ) |
|
|
private |
void GroundMesh::set_frustum |
( |
const Frustum & |
frustum | ) |
|
|
inline |
void GroundMesh::setup_block_ranges |
( |
unsigned int |
size | ) |
|
|
private |
void GroundMesh::setup_index_buffer |
( |
unsigned int |
size | ) |
|
|
private |
void GroundMesh::setup_uniform_buffer |
( |
| ) |
|
|
private |
void GroundMesh::setup_vertex_array |
( |
| ) |
|
|
private |
void GroundMesh::setup_vertex_buffer |
( |
unsigned int |
size | ) |
|
|
private |
void GroundMesh::update_draw_list |
( |
| ) |
|
|
private |
void GroundMesh::update_draw_list |
( |
DrawInfo & |
info, |
|
|
size_t & |
ubo_offset |
|
) |
| |
|
private |
void GroundMesh::update_level_offsets |
( |
const vec2 & |
camera_pos | ) |
|
[Snapping clipmap level to a grid]
Definition at line 81 of file GroundMesh.cpp.
float GroundMesh::clipmap_scale |
|
private |
Block GroundMesh::degenerate_bottom |
|
private |
Block GroundMesh::degenerate_left |
|
private |
Block GroundMesh::degenerate_right |
|
private |
Block GroundMesh::degenerate_top |
|
private |
std::vector<DrawInfo> GroundMesh::draw_list |
|
private |
Block GroundMesh::horizontal |
|
private |
GLuint GroundMesh::index_buffer |
|
private |
std::vector<vec2> GroundMesh::level_offsets |
|
private |
unsigned int GroundMesh::level_size |
|
private |
unsigned int GroundMesh::levels |
|
private |
size_t GroundMesh::num_indices |
|
private |
unsigned int GroundMesh::size |
|
private |
Block GroundMesh::trim_bottom_left |
|
private |
Block GroundMesh::trim_bottom_right |
|
private |
Block GroundMesh::trim_full |
|
private |
Block GroundMesh::trim_top_left |
|
private |
Block GroundMesh::trim_top_right |
|
private |
GLuint GroundMesh::uniform_buffer |
|
private |
GLint GroundMesh::uniform_buffer_align |
|
private |
size_t GroundMesh::uniform_buffer_size |
|
private |
GLuint GroundMesh::vertex_array |
|
private |
GLuint GroundMesh::vertex_buffer |
|
private |
Block GroundMesh::vertical |
|
private |
Frustum GroundMesh::view_proj_frustum |
|
private |
The documentation for this class was generated from the following files:
- /mnt/d/working/gitlab/opengles-sdk-android/samples/advanced_samples/Terrain/jni/GroundMesh.h
- /mnt/d/working/gitlab/opengles-sdk-android/samples/advanced_samples/Terrain/jni/GroundMesh.cpp
- /mnt/d/working/gitlab/opengles-sdk-android/samples/advanced_samples/Terrain/jni/GroundMeshSetup.cpp