Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 Dx11TextureUpdater::Create etc. These are implemented in .h and .inl files so they don't create more dependencies than necessary.

Functions

NameDescription
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.


Anchor
a4de6e3d61d1432ca884732e4647d7716
a4de6e3d61d1432ca884732e4647d7716

static GpuTextureWrapper* Enlighten::GpuTextureWrapper::Create

...

public: GpuTextureWrapper * Create
(
    IGpuTextureUpdater * updater
)

...

Creates a GpuTextureWrapper with the given IGpuTextureUpdater.


Anchor
a1c9d127fd3764c3ef85df4ce06eb5d9b
a1c9d127fd3764c3ef85df4ce06eb5d9b

virtual IGpuTextureUpdater* Enlighten::GpuTextureWrapper::GetUpdater

...

public: virtual IGpuTextureUpdater * GetUpdater()

...

Gets the underlying updater interface.


Anchor
af18de4b557ec637fbb81c2717d352417
af18de4b557ec637fbb81c2717d352417

virtual IGpuTextureUpdater* Enlighten::IGpuTexture::GetUpdater

...

public: IGpuTextureUpdater * GetUpdater()

...

Gets the underlying updater interface.


Anchor
a478bfbf49058d956d43f3ef138a1ab4b
a478bfbf49058d956d43f3ef138a1ab4b

Enlighten::GpuTextureWrapper::GpuTextureWrapper

...

protected: GpuTextureWrapper
(
    IGpuTextureUpdater * updater
)

...

Construct a GpuTextureWrapper around an IGpuTextureUpdater.


Anchor
adaed81b4c59f263dcb4e78c4126f4683
adaed81b4c59f263dcb4e78c4126f4683

Geo::NonCopyable::NonCopyable

...

public: NonCopyable
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
a6abc781e23b8f4864e0b868806e0acbf
a6abc781e23b8f4864e0b868806e0acbf

NonCopyable& Geo::NonCopyable::operator=

...

public: NonCopyable & operator=
(
    NonCopyable &&
)

...

Defaulted to allow move.


Anchor
ae61ad96c6778789eba1c7dcd9f782556
ae61ad96c6778789eba1c7dcd9f782556

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)'


Anchor
af6bdf30b42adde386c428e9dc2821eb9
af6bdf30b42adde386c428e9dc2821eb9

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)'