33 #include "texture_cube.h"
117 const Rect &src_rect,
126 const Rect &src_rect,
TextureCubeArray(const std::shared_ptr< Texture_Impl > &impl)
Constructs a texture from an implementation.
Definition: texture_cube_array.h:52
2D (x,y) point structure - Integer
Definition: point.h:63
int get_width() const
Get the texture width.
int get_height() const
Get the texture height.
TextureCubeArray(GraphicContext &context, const Size &size, int array_size, TextureFormat texture_format=tf_rgba8, int levels=1)
Constructs a Texture.
Texture object class.
Definition: texture.h:104
TextureCubeArray(GraphicContext &context, int width, int height, int array_size, TextureFormat texture_format=tf_rgba8, int levels=1)
Constructs a Texture.
2D (left,top,right,bottom) rectangle structure - Integer
Definition: rect.h:471
void set_subimage(GraphicContext &context, int array_index, TextureCubeDirection cube_direction, const Point &point, const PixelBuffer &image, const Rect &src_rect, int level=0)
2D texture cube array object class.
Definition: texture_cube_array.h:42
@ tf_rgba8
Definition: texture_format.h:43
TextureCubeDirection
Texture cube directions.
Definition: texture_cube.h:42
std::shared_ptr< Texture_Impl > impl
Definition: texture.h:271
void set_image(GraphicContext &context, int array_index, TextureCubeDirection cube_direction, PixelBuffer &image, int level=0)
Upload image to texture.
Interface to drawing graphics.
Definition: graphic_context.h:258
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.
TextureFormat
Texture format.
Definition: texture_format.h:41
int get_array_size() const
Get the texture array size.
Size get_size() const
Get the texture size.
TextureCubeArray()
Constructs a null instance.
Pixel data container.
Definition: pixel_buffer.h:69
2D (width,height) size structure - Integer
Definition: size.h:157