gdk-graphics 0a0aef92e917cfbac53dffbc32c295e4de914093
Loading...
Searching...
No Matches
gdk::graphics::texture_data::view Struct Reference

provides a pointer a contiguous list of channel data representing 2D texture metadata that contains its size, format and usage info More...

#include <texture_data.h>

Public Attributes

std::size_t width
 number of texels wide
std::size_t height
 number of texels tall
texture_data::format format
 format of the data
const channel_type * data
 ptr to the start of decoded texture data

Detailed Description

provides a pointer a contiguous list of channel data representing 2D texture metadata that contains its size, format and usage info

Warning
a view does not own its data.

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