3D texture object class.
Definition: texture_3d.h:40
Texture3D()
Constructs a null instance.
TextureWrapMode get_wrap_mode_t() const
Get the texture wrap mode for the t coordinate.
Texture object class.
Definition: texture.h:102
void set_wrap_mode(TextureWrapMode wrap_s, TextureWrapMode wrap_t, TextureWrapMode wrap_r)
Set the texture wrapping mode.
TextureWrapMode get_wrap_mode_r() const
Get the texture wrap mode for the r coordinate.
std::shared_ptr< Texture_Impl > impl
Definition: texture.h:250
Interface to drawing graphics.
Definition: graphic_context.h:256
void set_subimage(GraphicContext &context, int x, int y, int z, const PixelBuffer &image, const Rect &src_rect, int level=0)
Upload image to sub texture.
Texture3D(const std::shared_ptr< Texture_Impl > &impl)
Constructs a texture from an implementation.
Definition: texture_3d.h:49
void set_image(GraphicContext &context, PixelBuffer &image, int depth, int level=0)
Upload image to texture.
TextureWrapMode get_wrap_mode_s() const
Get the texture wrap mode for the s coordinate.