Versions Compared

Key

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

class Enlighten::IGpuTextureAllocator

Interface which enables Enlighten to allocate GPU textures to hold the solved output.

Functions

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

CreateCubeMap(Geo::s32, TextureFormat)

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

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

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


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