gdk-graphics 0b051eb9b5c1eaa0658babaa4463dd7a80aa9d2c
Loading...
Searching...
No Matches
gdk::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 \warn a view does not own its data. More...

#include <texture_data.h>

Public Attributes

size_t width
 number of texels wide
 
size_t height
 number of texels tall
 
texture::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 \warn a view does not own its data.


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