#include <Heightmap.h>
|
void | update_level (vec2 *buffer, unsigned int &pixel_offset, const vec2 &level_offset, unsigned level) |
| [Update region] More...
|
|
vec2 | compute_heightmap (int x, int y, int level) |
| [Compute heightmap] More...
|
|
float | sample_heightmap (int x, int y) |
|
void | update_region (vec2 *buffer, unsigned int &pixel_offset, int x, int y, int width, int height, int start_x, int start_y, int level) |
| [Compute heightmap] More...
|
|
void | init_heightmap () |
|
Definition at line 28 of file Heightmap.h.
Heightmap::Heightmap |
( |
unsigned int |
size, |
|
|
unsigned int |
levels |
|
) |
| |
[Initializing texture array]
[Initializing texture array]
Definition at line 31 of file Heightmap.cpp.
Heightmap::~Heightmap |
( |
| ) |
|
GLuint Heightmap::get_texture |
( |
| ) |
const |
|
inline |
void Heightmap::init_heightmap |
( |
| ) |
|
|
private |
void Heightmap::reset |
( |
| ) |
|
void Heightmap::update_heightmap |
( |
const std::vector< vec2 > & |
level_offsets | ) |
|
void Heightmap::update_level |
( |
vec2 * |
buffer, |
|
|
unsigned int & |
pixel_offset, |
|
|
const vec2 & |
level_offset, |
|
|
unsigned |
level |
|
) |
| |
|
private |
[Compute heightmap]
[Update region]
Definition at line 212 of file Heightmap.cpp.
std::vector<float> Heightmap::heightmap |
|
private |
unsigned int Heightmap::heightmap_size |
|
private |
unsigned int Heightmap::levels |
|
private |
GLuint Heightmap::pixel_buffer[2] |
|
private |
unsigned int Heightmap::pixel_buffer_index |
|
private |
unsigned int Heightmap::pixel_buffer_size |
|
private |
unsigned int Heightmap::size |
|
private |
The documentation for this class was generated from the following files:
- /mnt/d/working/gitlab/opengles-sdk-android/samples/advanced_samples/Terrain/jni/Heightmap.h
- /mnt/d/working/gitlab/opengles-sdk-android/samples/advanced_samples/Terrain/jni/Heightmap.cpp