neoGFX
C++ GPU-oriented GUI library and app/game creation framework.
texture.hpp File Reference
#include <neogfx/neogfx.hpp>
#include <vector>
#include <boost/optional.hpp>
#include <neogfx/core/colour.hpp>
#include <neogfx/gfx/i_texture.hpp>
#include <neogfx/gfx/sub_texture.hpp>

Go to the source code of this file.

Classes

class  neogfx::texture
 

Namespaces

 neogfx
 

Typedefs

typedef boost::optional< texture > neogfx::optional_texture
 
typedef std::shared_ptr< const i_texture > neogfx::texture_pointer
 
typedef std::pair< texture_pointer, optional_rect > neogfx::texture_source
 
typedef std::vector< texture_source > neogfx::texture_list
 
typedef boost::optional< texture_list > neogfx::optional_texture_list
 
typedef texture_list::size_type neogfx::texture_index
 
typedef std::shared_ptr< texture_list > neogfx::texture_list_pointer
 

Functions

texture_pointer neogfx::to_texture_pointer (const i_texture &aTexture)
 
texture_list_pointer neogfx::to_texture_list_pointer (const i_texture &aTexture, const optional_rect &aTextureRect=optional_rect{})
 
texture_list_pointer neogfx::to_texture_list_pointer (texture_pointer aTexture, const optional_rect &aTextureRect=optional_rect{})
 
texture_list_pointer neogfx::to_texture_list_pointer (texture_list &aTextureList, const i_texture &aTexture, const optional_rect &aTextureRect)
 
texture_list_pointer neogfx::to_texture_list_pointer (texture_list &aTextureList, texture_pointer aTexture, const optional_rect &aTextureRect)