Texture object class.
Definition: texture.h:103
void set_subimage(GraphicContext &context, int x, const PixelBuffer &image, const int src_x, const int src_width, int level=0)
Upload image to sub texture.
Interface to drawing graphics.
Definition: graphic_context.h:257
Texture1D(const std::shared_ptr< Texture_Impl > &impl)
Constructs a texture from an implementation.
Definition: texture_1d.h:52
1D texture object class.
Definition: texture_1d.h:41