#include <kanzi/core/cpp/cstddef.hpp>
#include <kanzi/core.ui/coreui_api.hpp>
#include <kanzi/core.ui/platform/graphics_backend/gl/gl_texture_handle.hpp>
#include <kanzi/core.ui/platform/graphics_backend/gl/gl_framebuffer_handle.hpp>
#include <kanzi/core.ui/platform/graphics_backend/gl/gl_renderbuffer_handle.hpp>
#include <kanzi/core.ui/graphics2d/sampler.hpp>
#include <kanzi/core.ui/graphics2d/surface.hpp>
#include <kanzi/core.ui/graphics2d/native_texture_handle.hpp>
#include <kanzi/core.ui/graphics2d/native_framebuffer_handle.hpp>
#include <kanzi/core.ui/graphics2d/native_deployment_target.hpp>
#include <kanzi/core.ui/resource/resource_manager.hpp>
Classes | |
class | kanzi::Texture |
Textures provide images that can be used with image nodes, texture brushes and materials for use in 3D rendering or material brushes. More... | |
Namespaces | |
namespace | kanzi |
Functions | |
unsigned int | kanzi::calculateMipmapLevelCount (unsigned int width, unsigned int height) |
Calculates number of mipmap levels for provided image size. | |
TextureSharedPtr | kanzi::createTextureFromMemory (Domain *domain, unsigned int width, unsigned int height, GraphicsFormat sourceFormat, const void *data, GraphicsFormat destinationFormat, string_view name) |
Loads a new image from memory and creates a texture out of it. | |
unsigned int | kanzi::getGLTextureImageTarget (TextureType type, unsigned int face) |
unsigned int | kanzi::getGLTextureTarget (TextureType type) |
void | kanzi::swap (Texture &texture1, Texture &texture2) |