texture.hpp File Reference

Classes

struct  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

 kanzi
 

Typedefs

typedef shared_ptr< KzcImagekanzi::ImageSharedPtr
 

Functions

void kanzi::swap (Texture &texture1, Texture &texture2)
 
KANZI_API unsigned int kanzi::getFaceCount (Texture::Type type)
 
KANZI_API unsigned int kanzi::getGLTextureImageTarget (Texture::Type type, unsigned int face)
 
KANZI_API unsigned int kanzi::getGLTextureTarget (Texture::Type type)
 
KANZI_API unsigned int kanzi::calculateMipmapLevelCount (unsigned int width, unsigned int height)
 Calculates number of mipmap levels for provided image size. More...