This is the documentation for Enlighten.

class Enlighten GpuTextureWrapper

class Enlighten::GpuTextureWrapper

    └>Enlighten::IGpuTexture
        └>Geo::IGeoReleasable

Concrete implementation of IGpuTexture.

This class is provided for convenience, for any integration which just need to wrap up textures in a graphics-API-independent way. The IGpuTextureUpdaters themselves can be constructed using Dx9TextureUpdater::Create, Dx11TextureUpdater::Create etc. These are implemented in .h and .inl files so they don't create more dependencies than necessary.

Functions

Name Description
Create(IGpuTextureUpdater *)

Creates a GpuTextureWrapper with the given IGpuTextureUpdater.

GetUpdater()

Gets the underlying updater interface.

GetUpdater()

Gets the underlying updater interface.

GpuTextureWrapper(IGpuTextureUpdater *)

Construct a GpuTextureWrapper around an IGpuTextureUpdater.

NonCopyable(NonCopyable &&)

Defaulted to allow move.

operator=(NonCopyable &&)

Defaulted to allow move.

Release()

Free this object that was created within the Enlighten libraries.

Release()

Free this object that was created within the Enlighten libraries.


static GpuTextureWrapper* Enlighten::GpuTextureWrapper::Create


public: GpuTextureWrapper * Create
(
    IGpuTextureUpdater * updater
)


Creates a GpuTextureWrapper with the given IGpuTextureUpdater.


virtual IGpuTextureUpdater* Enlighten::GpuTextureWrapper::GetUpdater


public: virtual IGpuTextureUpdater * GetUpdater()


Gets the underlying updater interface.


virtual IGpuTextureUpdater* Enlighten::IGpuTexture::GetUpdater


public: IGpuTextureUpdater * GetUpdater()


Gets the underlying updater interface.


Enlighten::GpuTextureWrapper::GpuTextureWrapper


protected: GpuTextureWrapper
(
    IGpuTextureUpdater * updater
)


Construct a GpuTextureWrapper around an IGpuTextureUpdater.


Geo::NonCopyable::NonCopyable


public: NonCopyable
(
    NonCopyable &&
)


Defaulted to allow move.


NonCopyable& Geo::NonCopyable::operator=


public: NonCopyable & operator=
(
    NonCopyable &&
)


Defaulted to allow move.


virtual void Enlighten::GpuTextureWrapper::Release


public: virtual void Release()


Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'


virtual void Geo::IGeoReleasable::Release


public: void Release()


Free this object that was created within the Enlighten libraries.

Expect this to behave in a similar way to calling 'delete(this)'