virtual void update_data(const image_data_2d_view &)=0
replace the texture data with new data
data is a sequence of bytes representing red, green, blue, alpha, ...
data_format
< format of data in the byte array
Definition: texture.h:20
virtual ~texture()=default
trivial destructor
data is a sequence of bytes representing red, green, blue, ...
2d color data, usually used to color the surfaces of a 3d model. more accurately: used to color fragm...
Definition: texture.h:17
special format used by textures attached to the depth buffer of a texture_camera
texture()=default
interface type cannot be instantiated
pod struct representing a view on decoded image data
Definition: texture.h:35