Project Alice
Loading...
Searching...
No Matches
ogl::image Struct Reference

#include <opengl_wrapper.hpp>

Public Member Functions

 image ()
 
 image (uint8_t *data, int32_t size_x, int32_t size_y, int32_t channels)
 
 image (image const &other)=delete
 
 image (image &&other) noexcept
 
imageoperator= (image &&other) noexcept
 
imageoperator= (image const &other)=delete
 
 ~image ()
 

Public Attributes

uint8_tdata = nullptr
 
int32_t size_x = 0
 
int32_t size_y = 0
 
int32_t channels = 0
 

Detailed Description

Definition at line 57 of file opengl_wrapper.hpp.

Constructor & Destructor Documentation

◆ image() [1/4]

ogl::image::image ( )
inline

Definition at line 63 of file opengl_wrapper.hpp.

◆ image() [2/4]

ogl::image::image ( uint8_t data,
int32_t  size_x,
int32_t  size_y,
int32_t  channels 
)
inline

Definition at line 65 of file opengl_wrapper.hpp.

◆ image() [3/4]

ogl::image::image ( image const &  other)
delete

◆ image() [4/4]

ogl::image::image ( image &&  other)
inlinenoexcept

Definition at line 73 of file opengl_wrapper.hpp.

◆ ~image()

ogl::image::~image ( )
inline

Definition at line 91 of file opengl_wrapper.hpp.

Member Function Documentation

◆ operator=() [1/2]

image & ogl::image::operator= ( image &&  other)
inlinenoexcept

Definition at line 81 of file opengl_wrapper.hpp.

◆ operator=() [2/2]

image & ogl::image::operator= ( image const &  other)
delete

Member Data Documentation

◆ channels

int32_t ogl::image::channels = 0

Definition at line 61 of file opengl_wrapper.hpp.

◆ data

uint8_t* ogl::image::data = nullptr

Definition at line 58 of file opengl_wrapper.hpp.

◆ size_x

int32_t ogl::image::size_x = 0

Definition at line 59 of file opengl_wrapper.hpp.

◆ size_y

int32_t ogl::image::size_y = 0

Definition at line 60 of file opengl_wrapper.hpp.


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