Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::ImageData Struct Reference

Raw pixel data (RGBA 8-bit per channel). More...

#include <asset_manager.hpp>

Public Member Functions

bool valid () const
size_t byte_size () const

Public Attributes

std::vector< uint8_t > pixels
uint32_t width = 0
uint32_t height = 0

Detailed Description

Raw pixel data (RGBA 8-bit per channel).

Member Function Documentation

◆ byte_size()

size_t pulp::view::ImageData::byte_size ( ) const
inline

◆ valid()

bool pulp::view::ImageData::valid ( ) const
inline

Member Data Documentation

◆ height

uint32_t pulp::view::ImageData::height = 0

◆ pixels

std::vector<uint8_t> pulp::view::ImageData::pixels

◆ width

uint32_t pulp::view::ImageData::width = 0

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