vgl 1.0.0
Virtual Globe Library: API reference
Loading...
Searching...
No Matches
context.hpp File Reference
#include <vgl/base.hpp>
#include <vgl/context.h>
#include <vgl/foundation.hpp>
#include <vgl/render.h>
#include <cassert>
#include <cstdint>
#include <limits>
#include <span>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  vgl::height_sample
 
struct  vgl::ray_query_result
 
struct  vgl::pack_status
 
class  vgl::context
 
class  vgl::pack
 

Namespaces

namespace  vgl
 

Enumerations

enum class  vgl::pack_state : std::int32_t { vgl::loading = VGL_PACK_STATE_LOADING , vgl::ready = VGL_PACK_STATE_READY , vgl::failed = VGL_PACK_STATE_FAILED }
 
enum class  vgl::height_reference : std::int32_t { vgl::ellipsoid = VGL_HEIGHT_REFERENCE_ELLIPSOID , vgl::mean_sea_level = VGL_HEIGHT_REFERENCE_MEAN_SEA_LEVEL }
 
enum class  vgl::texture_format : std::int32_t {
  vgl::rgba8 = VGL_TEXTURE_FORMAT_RGBA8 , vgl::rgba8_srgb = VGL_TEXTURE_FORMAT_RGBA8_SRGB , vgl::bc1 = VGL_TEXTURE_FORMAT_BC1 , vgl::bc7 = VGL_TEXTURE_FORMAT_BC7 ,
  vgl::etc2_rgb8 = VGL_TEXTURE_FORMAT_ETC2_RGB8 , vgl::astc_4x4 = VGL_TEXTURE_FORMAT_ASTC_4X4
}
 

Functions

expected< vgl_dvec3 > vgl::view_project (const vgl_view &view, const vgl_dvec3 &position) noexcept
 
expected< vgl_dvec3 > vgl::view_geodetic_project (const vgl_view &view, const vgl_geodetic &geodetic, const vgl_ellipsoid *ellipsoid=nullptr) noexcept