This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

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.


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

  • No labels