Struct gl_image_t¶
Defined in File utils.hpp
Struct Documentation¶
-
struct gl_image_t¶
Public Functions
-
gl_image_t() noexcept = default¶
-
inline gl_image_t(const void *data, std::uint32_t width, std::uint32_t height, int channels, std::uint32_t comp_size)¶
-
inline ~gl_image_t()¶
-
inline gl_image_t(gl_image_t &&o) noexcept¶
-
inline gl_image_t &operator=(gl_image_t &&o) noexcept¶
-
inline explicit operator bool() const noexcept¶
-
inline bool operator!() const noexcept¶
-
inline explicit operator ImTextureID() const noexcept¶
Public Members
-
std::optional<GLuint> handle¶
-
std::shared_ptr<preview_bitmap_t> image¶
-
std::uint32_t width¶
-
std::uint32_t height¶
-
gl_image_t() noexcept = default¶