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
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. |
Anchor | ||||
---|---|---|---|---|
|
static GpuTextureWrapper* Enlighten::GpuTextureWrapper::Create
...
public: GpuTextureWrapper * Create
(
IGpuTextureUpdater * updater
)
...
Creates a GpuTextureWrapper with the given IGpuTextureUpdater.
Anchor | ||||
---|---|---|---|---|
|
virtual IGpuTextureUpdater* Enlighten::GpuTextureWrapper::GetUpdater
...
public: virtual IGpuTextureUpdater * GetUpdater()
...
Gets the underlying updater interface.
Anchor | ||||
---|---|---|---|---|
|
virtual IGpuTextureUpdater* Enlighten::IGpuTexture::GetUpdater
...
public: IGpuTextureUpdater * GetUpdater()
...
Gets the underlying updater interface.
Anchor | ||||
---|---|---|---|---|
|
Enlighten::GpuTextureWrapper::GpuTextureWrapper
...
protected: GpuTextureWrapper
(
IGpuTextureUpdater * updater
)
...
Construct a GpuTextureWrapper around an IGpuTextureUpdater.
Anchor | ||||
---|---|---|---|---|
|
Geo::NonCopyable::NonCopyable
...
public: NonCopyable
(
NonCopyable &&
)
...
Defaulted to allow move.
Anchor | ||||
---|---|---|---|---|
|
NonCopyable& Geo::NonCopyable::operator=
...
public: NonCopyable & operator=
(
NonCopyable &&
)
...
Defaulted to allow move.
Anchor | ||||
---|---|---|---|---|
|
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 | ||||
---|---|---|---|---|
|
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)'