Versions Compared

Key

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

class Enlighten::RefTextureAllocator

    └>Enlighten::IGpuTextureAllocator

Texture allocator for creating CPU solution spaces for Enlighten without any associated GPU resources.

This is used by EnlightenBake.

Functions

NameDescription
Create(Geo::s32, Geo::s32, TextureFormat)

Create a 2D texture.

Create(Geo::s32, Geo::s32, TextureFormat)

Function for creating 2D textures for Enlighten lightmap output.

Create3D(Geo::s32, Geo::s32, Geo::s32, TextureFormat)

Function for creating 3D textures for filterable light probe output.

Create3D(Geo::s32, Geo::s32, Geo::s32, TextureFormat)

Function for creating 3D textures for filterable light probe output.

CreateCubeMap(Geo::s32, TextureFormat)

Function for creating cube map textures for Enlighten cube map output.

CreateCubeMap(Geo::s32, TextureFormat)

Function for creating cube map textures for Enlighten cube map output.

CreateRenderable(Geo::s32, Geo::s32, Enlighten::TextureFormat)

Function for creating 2D textures that allow the Gpu to render to them.

CreateRenderable(Geo::s32, Geo::s32, TextureFormat)

Function for creating 2D textures that allow the Gpu to render to them.

Release()

Release the texture allocator.


Anchor
a5d54522e581225677443533a3ba0e4df
a5d54522e581225677443533a3ba0e4df

virtual IGpuTexture* Enlighten::RefTextureAllocator::Create

...

public: virtual IGpuTexture * Create
(
    Geo::s32 width,
    Geo::s32 height,
    TextureFormat textureFormat
)

...

Create a 2D texture.


Anchor
ab2954036e5fb5b5213661ab876094579
ab2954036e5fb5b5213661ab876094579

virtual IGpuTexture* Enlighten::IGpuTextureAllocator::Create

...

public: IGpuTexture * Create
(
    Geo::s32 width,
    Geo::s32 height,
    TextureFormat textureFormat
)

...

Function for creating 2D textures for Enlighten lightmap output.


Anchor
a19703ed740fbddb8967328fedd98121d
a19703ed740fbddb8967328fedd98121d

virtual IGpuTexture* Enlighten::RefTextureAllocator::Create3D

...

public: virtual IGpuTexture * Create3D
(
    Geo::s32 width,
    Geo::s32 height,
    Geo::s32 depth,
    TextureFormat textureFormat
)

...

Function for creating 3D textures for filterable light probe output.


Anchor
ace0c55054aa3d728c1d6919d81fe6f93
ace0c55054aa3d728c1d6919d81fe6f93

virtual IGpuTexture* Enlighten::IGpuTextureAllocator::Create3D

...

public: IGpuTexture * Create3D
(
    Geo::s32 width,
    Geo::s32 height,
    Geo::s32 depth,
    TextureFormat textureFormat
)

...

Function for creating 3D textures for filterable light probe output.


Anchor
a67403487001d0bd44996a4acbc1b72ac
a67403487001d0bd44996a4acbc1b72ac

virtual IGpuTexture* Enlighten::RefTextureAllocator::CreateCubeMap

...

public: virtual IGpuTexture * CreateCubeMap
(
    Geo::s32 faceWidth,
    TextureFormat textureFormat
)

...

Function for creating cube map textures for Enlighten cube map output.


Anchor
a77f7fe430a940f2fa2aa5e892435484a
a77f7fe430a940f2fa2aa5e892435484a

virtual IGpuTexture* Enlighten::IGpuTextureAllocator::CreateCubeMap

...

public: IGpuTexture * CreateCubeMap
(
    Geo::s32 faceWidth,
    TextureFormat textureFormat
)

...

Function for creating cube map textures for Enlighten cube map output.


Anchor
a3981c40d45a9e1d4f19423afa987d972
a3981c40d45a9e1d4f19423afa987d972

virtual IGpuTexture* Enlighten::RefTextureAllocator::CreateRenderable

...

public: virtual IGpuTexture * CreateRenderable
(
    Geo::s32 width,
    Geo::s32 height,
    Enlighten::TextureFormat textureFormat
)

...

Function for creating 2D textures that allow the Gpu to render to them.


Anchor
ae3eb9d97258cf1ae5f0b4b3c178d902e
ae3eb9d97258cf1ae5f0b4b3c178d902e

virtual IGpuTexture* Enlighten::IGpuTextureAllocator::CreateRenderable

...

public: IGpuTexture * CreateRenderable
(
    Geo::s32 width,
    Geo::s32 height,
    TextureFormat textureFormat
)

...

Function for creating 2D textures that allow the Gpu to render to them.


Anchor
a744cc47db12d7e42a376007b27a94409
a744cc47db12d7e42a376007b27a94409

virtual void Enlighten::RefTextureAllocator::Release

...

public: virtual void Release()

...

Release the texture allocator.