← API Reference Class

asge::video::SDLTexture final

#include <SDLTexture.hpp>

Inherits from asge::video::ITexture.

Inheritance

classDiagram
    class N2["asge::video::ITexture"]
    class N1["asge::video::SDLTexture"]
    N2 <|-- N1
    click N2 href "classasge_1_1video_1_1ITexture.html"
    click N1 href "classasge_1_1video_1_1SDLTexture.html"

Collaboration

classDiagram
    class N2["asge::video::ITexture"]
    class N1["asge::video::SDLTexture"]
    N2 <|-- N1
    click N2 href "classasge_1_1video_1_1ITexture.html"
    click N1 href "classasge_1_1video_1_1SDLTexture.html"

Private Attributes

#SDL_Texture * m_Handle {nullptr}private

Public Member Functions

#SDLTexture(SDL_Renderer *inRenderer, media::Image const &inImage)
#SDLTexture(SDLTexture &&inOther)
#SDLTexture & operator=(SDLTexture &&inOther)
#virtual ~SDLTexture()
#SDLTexture(SDLTexture const &)=delete
#SDLTexture & operator=(SDLTexture const &)=delete
#virtual math::Int2 Size() const noexcept override
Overrides Size
#virtual void * NativeHandle() const noexcept override
Overrides NativeHandle
#virtual bool IsValid() const noexcept override
Overrides IsValid
#virtual void SetColorMod(graphics::RGBA_Color inColor) noexcept override
Overrides SetColorMod
#virtual Result< graphics::RGBA_Color > GetColorMod() const noexcept override
Overrides GetColorMod
#void Destroy()