OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::GLTexture::Compressor::Level Struct Reference
Collaboration diagram for Slic3r::GUI::GLTexture::Compressor::Level:

Public Member Functions

 Level (unsigned int w, unsigned int h, const std::vector< unsigned char > &data)

Public Attributes

unsigned int w
unsigned int h
std::vector< unsigned char > src_data
std::vector< unsigned char > compressed_data
bool sent_to_gpu

Detailed Description

Constructor & Destructor Documentation

◆ Level()

Slic3r::GUI::GLTexture::Compressor::Level::Level ( unsigned int w,
unsigned int h,
const std::vector< unsigned char > & data )
inline
35: w(w), h(h), src_data(data), sent_to_gpu(false) {}
std::vector< unsigned char > src_data
Definition GLTexture.hpp:31
unsigned int h
Definition GLTexture.hpp:30
bool sent_to_gpu
Definition GLTexture.hpp:33
unsigned int w
Definition GLTexture.hpp:29

References h, sent_to_gpu, src_data, and w.

Member Data Documentation

◆ compressed_data

std::vector<unsigned char> Slic3r::GUI::GLTexture::Compressor::Level::compressed_data

◆ h

unsigned int Slic3r::GUI::GLTexture::Compressor::Level::h

◆ sent_to_gpu

bool Slic3r::GUI::GLTexture::Compressor::Level::sent_to_gpu

◆ src_data

std::vector<unsigned char> Slic3r::GUI::GLTexture::Compressor::Level::src_data

Referenced by Level().

◆ w

unsigned int Slic3r::GUI::GLTexture::Compressor::Level::w

The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/GLTexture.hpp