gramods
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gramods::gmGraphics::CubeMapRasterProcessor::Impl Struct Reference
Collaboration diagram for gramods::gmGraphics::CubeMapRasterProcessor::Impl:
Collaboration graph
[legend]

Public Member Functions

void setup ()
 
void teardown ()
 
void renderFullPipeline (ViewBase::ViewSettings &settings, Eigen::Vector3f pos, Eigen::Quaternionf rot, Eye eye, bool make_square)
 
void renderSide (ViewBase::ViewSettings &settings, Eigen::Vector3f pos, Eigen::Quaternionf rot, Eye eye, size_t side)
 

Public Attributes

Eigen::Quaternionf side_orientation [SIDE_COUNT]
 
bool is_setup = false
 
bool is_functional = false
 
std::string fragment_code
 
int resolution = 2048
 
bool use_linear = false
 
GLenum pixel_format = GL_RGBA8
 
GLuint framebuffer_id [SIDE_COUNT] = { 0 }
 
GLuint texture_id [SIDE_COUNT] = { 0 }
 
GLuint depth_renderbuffer_id = 0
 
GLuint vertex_shader_id = 0
 
GLuint fragment_shader_id = 0
 
GLuint program_id = 0
 
GLuint vertexarray_id = 0
 
GLuint vertexbuffer_id = 0
 
bool spatial_cubemap = false
 
Eigen::Vector3f cubemap_position = Eigen::Vector3f::Zero()
 
float cubemap_side = 1.0
 

Static Public Attributes

static const size_t SIDE_COUNT = 6
 

Member Data Documentation

◆ side_orientation

Eigen::Quaternionf gramods::gmGraphics::CubeMapRasterProcessor::Impl::side_orientation[SIDE_COUNT]
Initial value:
= {
Eigen::Quaternionf(Eigen::Quaternionf::AngleAxisType(
float(GM_PI_2), Eigen::Vector3f::UnitY())),
Eigen::Quaternionf(Eigen::Quaternionf::AngleAxisType(
float(-GM_PI_2), Eigen::Vector3f::UnitY())),
Eigen::Quaternionf(Eigen::Quaternionf::AngleAxisType(
float(-GM_PI_2), Eigen::Vector3f::UnitX())),
Eigen::Quaternionf(Eigen::Quaternionf::AngleAxisType(
float(GM_PI_2), Eigen::Vector3f::UnitX())),
Eigen::Quaternionf(Eigen::Quaternionf::AngleAxisType(
float(GM_PI), Eigen::Vector3f::UnitY())),
Eigen::Quaternionf::Identity()}

The documentation for this struct was generated from the following file: