Texture object class.
Definition: texture.h:102
2D texture cube object class.
Definition: texture_cube.h:51
std::shared_ptr< Texture_Impl > impl
Definition: texture.h:250
void set_image(GraphicContext &context, TextureCubeDirection cube_direction, PixelBuffer &image, int level=0)
Upload image to texture.
void set_subimage(GraphicContext &context, TextureCubeDirection cube_direction, int x, int y, const PixelBuffer &image, const Rect &src_rect, int level=0)
Upload image to sub texture.
Interface to drawing graphics.
Definition: graphic_context.h:256
TextureCube(const std::shared_ptr< Texture_Impl > &impl)
Constructs a texture from an implementation.
Definition: texture_cube.h:60
TextureCube()
Constructs a null instance.