|
GameApi 28
Library used by GameApi Builder tool
|
#include <GameApi.hh>
Public Member Functions | |
| IMPORT | VoxelApi (Env &e) |
| IMPORT OVX | empty_ovx () |
| IMPORT OVX | remove_not_enabled (OVX vx) |
| IMPORT OVX | remove_colours (OVX vx) |
| IMPORT OVX | resize_voxels (OVX vx, VX vx2) |
| IMPORT OVX | vx_to_ovx (VX vx, std::vector< P > vec) |
| IMPORT ML | render_ovx (EveryApi &ev, OVX vx, MT mat, float sx, float sy, float sz, float border_width, unsigned int border_color) |
| IMPORT VX | blur (VX vx) |
| IMPORT ML | lod_vox (EveryApi &ev, std::string vox_url, int model, float sx, float sy, float sz, MT mat, PTS pts, int l1, int l2, int l3, int l4) |
| IMPORT P | render_ovx_p (EveryApi &ev, OVX vx, float sx, float sy, float sz) |
| IMPORT ML | vox_bind_ml (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, GameApi::MT mt, int level=0) |
| IMPORT ML | vox_ml (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, int level=0) |
| IMPORT ML | vox_bind_ml2 (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, GameApi::MT mt, float border_width, unsigned int border_color, int level=0) |
| IMPORT ML | vox_ml2 (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, float border_width, unsigned int border_color, int level=0) |
| IMPORT VX | vox_voxel2 (EveryApi &ev, std::string url, int model, float sx, float sy, float sz) |
| IMPORT P | vox_voxel3 (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, int level=0) |
| IMPORT ARR | vox_cubes (EveryApi &ev, std::string url, int model, float sx, float sy, float sz) |
| IMPORT P | vox_voxel (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, int level=0) |
| IMPORT VX | voxel_from_bitmaps (std::vector< BM > vec, std::string url) |
| IMPORT VX | function (unsigned int(*fptr)(EveryApi &ev, int x, int y, int z, void *data), int sx, int sy, int sz, void *data) |
| IMPORT unsigned int | get_pixel (VX v, int x, int y, int z) |
| IMPORT BM | sw_rays (O volume, VX colours, int sx, int sy, float vx, float vy, float vz, float z) |
| IMPORT P | render_boxes (VX v, float sx, float sy, float sz) |
| IMPORT PTS | instanced_positions (VX x, float sx, float sy, float sz, unsigned int value) |
| IMPORT VX | empty_voxel (int sx, int sy, int sz) |
| IMPORT VX | subvoxel (VX voxel, int start_x, int end_x, int start_y, int end_y, int start_z, int end_z) |
| IMPORT VX | blit_voxel2 (VX voxel, VX voxel2, int p_x, int p_y, int p_z) |
| IMPORT VX | blit_voxel (O object, int sx, int sy, int sz, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, int false_value, int true_value) |
| IMPORT ARR | voxel_instancing (VX voxel, int count, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z) |
| IMPORT ML | voxel_render (EveryApi &ev, std::vector< P > objs, std::vector< PTS > vec) |
| IMPORT ML | voxel_bind (EveryApi &ev, std::vector< P > objs, std::vector< PTS > vec, MT material) |
| IMPORT P | voxel_static (EveryApi &ev, std::vector< P > objs, std::vector< PTS > vec) |
| IMPORT VX | voxel_landscape_from_fbm (FB bitmap, int height, int false_val, int true_val) |
| IMPORT VX | convert_p_to_vx (P p, int sx, int sy, int sz, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, int value) |
| IMPORT VX | from_implicit (IM i, int sx, int sy, int sz, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, int value) |
| GameApi::VX GameApi::VoxelApi::blit_voxel | ( | O | object, |
| int | sx, | ||
| int | sy, | ||
| int | sz, | ||
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z, | ||
| int | false_value, | ||
| int | true_value ) |

| GameApi::VX GameApi::VoxelApi::blit_voxel2 | ( | VX | voxel, |
| VX | voxel2, | ||
| int | p_x, | ||
| int | p_y, | ||
| int | p_z ) |

| GameApi::VX GameApi::VoxelApi::blur | ( | VX | vx | ) |

| EXPORT GameApi::VX GameApi::VoxelApi::convert_p_to_vx | ( | P | p, |
| int | sx, | ||
| int | sy, | ||
| int | sz, | ||
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z, | ||
| int | value ) |

| GameApi::OVX GameApi::VoxelApi::empty_ovx | ( | ) |
| GameApi::VX GameApi::VoxelApi::empty_voxel | ( | int | sx, |
| int | sy, | ||
| int | sz ) |

| GameApi::VX GameApi::VoxelApi::from_implicit | ( | IM | i, |
| int | sx, | ||
| int | sy, | ||
| int | sz, | ||
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z, | ||
| int | value ) |

| EXPORT GameApi::VX GameApi::VoxelApi::function | ( | unsigned int(* | fptr )(EveryApi &ev, int x, int y, int z, void *data), |
| int | sx, | ||
| int | sy, | ||
| int | sz, | ||
| void * | data ) |
| EXPORT GameApi::PTS GameApi::VoxelApi::instanced_positions | ( | VX | x, |
| float | sx, | ||
| float | sy, | ||
| float | sz, | ||
| unsigned int | value ) |
| GameApi::ML GameApi::VoxelApi::lod_vox | ( | GameApi::EveryApi & | ev, |
| std::string | vox_url, | ||
| int | model, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz, | ||
| GameApi::MT | mat, | ||
| GameApi::PTS | pts, | ||
| int | l1, | ||
| int | l2, | ||
| int | l3, | ||
| int | l4 ) |

| GameApi::OVX GameApi::VoxelApi::remove_colours | ( | OVX | vx | ) |
| GameApi::OVX GameApi::VoxelApi::remove_not_enabled | ( | OVX | vx | ) |

| EXPORT GameApi::P GameApi::VoxelApi::render_boxes | ( | VX | v, |
| float | sx, | ||
| float | sy, | ||
| float | sz ) |
| GameApi::ML GameApi::VoxelApi::render_ovx | ( | GameApi::EveryApi & | ev, |
| OVX | vx, | ||
| MT | mat, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz, | ||
| float | border_width, | ||
| unsigned int | border_color ) |

| GameApi::P GameApi::VoxelApi::render_ovx_p | ( | GameApi::EveryApi & | ev, |
| OVX | vx, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz ) |

| GameApi::OVX GameApi::VoxelApi::resize_voxels | ( | OVX | vx, |
| VX | vx2 ) |
| GameApi::VX GameApi::VoxelApi::subvoxel | ( | VX | voxel, |
| int | start_x, | ||
| int | end_x, | ||
| int | start_y, | ||
| int | end_y, | ||
| int | start_z, | ||
| int | end_z ) |

| IMPORT BM GameApi::VoxelApi::sw_rays | ( | O | volume, |
| VX | colours, | ||
| int | sx, | ||
| int | sy, | ||
| float | vx, | ||
| float | vy, | ||
| float | vz, | ||
| float | z ) |
| GameApi::ML GameApi::VoxelApi::vox_bind_ml | ( | GameApi::EveryApi & | ev, |
| std::string | url, | ||
| int | model, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz, | ||
| GameApi::MT | mt, | ||
| int | level = 0 ) |

| GameApi::ML GameApi::VoxelApi::vox_bind_ml2 | ( | GameApi::EveryApi & | ev, |
| std::string | url, | ||
| int | model, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz, | ||
| GameApi::MT | mt, | ||
| float | border_width, | ||
| unsigned int | border_color, | ||
| int | level = 0 ) |

| GameApi::ARR GameApi::VoxelApi::vox_cubes | ( | GameApi::EveryApi & | ev, |
| std::string | url, | ||
| int | model, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz ) |

| GameApi::ML GameApi::VoxelApi::vox_ml | ( | GameApi::EveryApi & | ev, |
| std::string | url, | ||
| int | model, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz, | ||
| int | level = 0 ) |

| GameApi::ML GameApi::VoxelApi::vox_ml2 | ( | GameApi::EveryApi & | ev, |
| std::string | url, | ||
| int | model, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz, | ||
| float | border_width, | ||
| unsigned int | border_color, | ||
| int | level = 0 ) |

| GameApi::P GameApi::VoxelApi::vox_voxel | ( | GameApi::EveryApi & | ev, |
| std::string | url, | ||
| int | model, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz, | ||
| int | level = 0 ) |

| GameApi::VX GameApi::VoxelApi::vox_voxel2 | ( | GameApi::EveryApi & | ev, |
| std::string | url, | ||
| int | model, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz ) |

| GameApi::P GameApi::VoxelApi::vox_voxel3 | ( | GameApi::EveryApi & | ev, |
| std::string | url, | ||
| int | model, | ||
| float | sx, | ||
| float | sy, | ||
| float | sz, | ||
| int | level = 0 ) |

| GameApi::ML GameApi::VoxelApi::voxel_bind | ( | EveryApi & | ev, |
| std::vector< P > | objs, | ||
| std::vector< PTS > | vec, | ||
| MT | material ) |

| GameApi::VX GameApi::VoxelApi::voxel_from_bitmaps | ( | std::vector< BM > | vec, |
| std::string | url ) |

| GameApi::ARR GameApi::VoxelApi::voxel_instancing | ( | VX | voxel, |
| int | count, | ||
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z ) |

| GameApi::VX GameApi::VoxelApi::voxel_landscape_from_fbm | ( | FB | bitmap, |
| int | height, | ||
| int | false_val, | ||
| int | true_val ) |

| GameApi::ML GameApi::VoxelApi::voxel_render | ( | EveryApi & | ev, |
| std::vector< P > | objs, | ||
| std::vector< PTS > | vec ) |

| GameApi::P GameApi::VoxelApi::voxel_static | ( | EveryApi & | ev, |
| std::vector< P > | objs, | ||
| std::vector< PTS > | vec ) |

