33 #include "texture_cube.h" 117 const Rect &src_rect,
126 const Rect &src_rect,
int get_height() const
Get the texture height.
TextureCubeArray(const std::shared_ptr< Texture_Impl > &impl)
Constructs a texture from an implementation.
Definition: texture_cube_array.h:52
int get_width() const
Get the texture width.
Texture object class.
Definition: texture.h:103
Pixel data container.
Definition: pixel_buffer.h:68
TextureCubeDirection
Texture cube directions.
Definition: texture_cube.h:41
void set_image(GraphicContext &context, int array_index, TextureCubeDirection cube_direction, PixelBuffer &image, int level=0)
Upload image to texture.
2D (left,top,right,bottom) rectangle structure - Integer
Definition: rect.h:470
std::shared_ptr< Texture_Impl > impl
Definition: texture.h:271
TextureFormat
Texture format.
Definition: texture_format.h:40
void set_subimage(GraphicContext &context, int array_index, TextureCubeDirection cube_direction, int x, int y, const PixelBuffer &image, const Rect &src_rect, int level=0)
Upload image to sub texture.
2D texture cube array object class.
Definition: texture_cube_array.h:41
TextureCubeArray()
Constructs a null instance.
int get_array_size() const
Get the texture array size.
Interface to drawing graphics.
Definition: graphic_context.h:257
2D (x,y) point structure - Integer
Definition: point.h:62
Size get_size() const
Get the texture size.
2D (width,height) size structure - Integer
Definition: size.h:156
Definition: texture_format.h:43