Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::xgl::Cube::Parameters Struct Reference

Parameters for generating the data. More...

#include <Cube.h>

Collaboration diagram for sf::xgl::Cube::Parameters:

Public Attributes

float size {0}
 
std::array< QColor, 6 > colors {}
 
std::unique_ptr< QOpenGLTexture > texture {nullptr}
 

Detailed Description

Parameters for generating the data.

Member Data Documentation

◆ colors

std::array<QColor, 6> sf::xgl::Cube::Parameters::colors {}

Colors of the cube faces.

◆ size

float sf::xgl::Cube::Parameters::size {0}

Size of the cube.

◆ texture

std::unique_ptr<QOpenGLTexture> sf::xgl::Cube::Parameters::texture {nullptr}

Texture for the cube having 6 faces in 2 rows by 3 columns grid.


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