MxEngine
Public Member Functions | List of all members
MxEngine::CubeMap Class Reference

Public Member Functions

 CubeMap (const MxString filepath, bool genMipmaps=true, bool flipImage=false)
 
 CubeMap (const CubeMap &)=delete
 
CubeMapoperator= (const CubeMap &)=delete
 
 CubeMap (CubeMap &&) noexcept
 
CubeMapoperator= (CubeMap &&) noexcept
 
void Bind () const
 
void Unbind () const
 
BindableId GetNativeHandle () const
 
void Bind (CubeMapId id) const
 
void Load (const MxString &filepath, bool genMipmaps=true, bool flipImage=false)
 
void Load (std::array< uint8_t *, 6 > data, int width, int height, bool genMipmaps=true)
 
void LoadDepth (int width, int height)
 
const MxString & GetPath () const
 
size_t GetWidth () const
 
size_t GetHeight () const
 
size_t GetChannelCount () const
 

The documentation for this class was generated from the following files: