28 auto init = [](
const uint8_t* buff,
int length, std::shared_ptr<rs2::texture_buffer>& tex){
30 tex = std::make_shared<rs2::texture_buffer>();
51 const auto re = 49.999f;
static uint32_t cubemap_nx_png_size
static uint8_t cubemap_pz_png_data[]
static uint32_t cubemap_ny_png_size
static uint8_t cubemap_nx_png_data[]
STBIDEF stbi_uc * stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp)
static uint8_t cubemap_py_png_data[]
std::shared_ptr< rs2::texture_buffer > plus_y
std::shared_ptr< rs2::texture_buffer > plus_z
void render(rs2::float3 cam_position)
std::shared_ptr< rs2::texture_buffer > minus_z
std::shared_ptr< rs2::texture_buffer > minus_x
std::shared_ptr< rs2::texture_buffer > plus_x
static uint32_t cubemap_pz_png_size
static uint8_t cubemap_px_png_data[]
std::shared_ptr< rs2::texture_buffer > minus_y
static uint8_t cubemap_nz_png_data[]
static uint8_t cubemap_ny_png_data[]
STBIDEF void stbi_image_free(void *retval_from_stbi_load)
static uint32_t cubemap_nz_png_size
GLenum GLuint GLenum GLsizei length
static uint32_t cubemap_py_png_size
static uint32_t cubemap_px_png_size