This is the documentation for Enlighten.
class Enlighten RefTextureAllocator
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
Name | Description |
---|---|
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. |
NonCopyable(NonCopyable &&) | Defaulted to allow move. |
operator=(NonCopyable &&) | Defaulted to allow move. |
Release() | Release the texture allocator. |
virtual IGpuTexture* Enlighten::RefTextureAllocator::Create
public: virtual IGpuTexture * Create
(
  Geo::s32 width,
  Geo::s32 height,
  TextureFormat textureFormat
)
Create a 2D texture.
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.
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.
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.
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.
virtual IGpuTexture* Enlighten::IGpuTextureAllocator::CreateCubeMap
public: IGpuTexture * CreateCubeMap
(
  Geo::s32 faceWidth,
  TextureFormat textureFormat
)
Function for creating cube map textures for Enlighten cube map output.
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.
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.
Geo::NonCopyable::NonCopyable
public: NonCopyable
(
  NonCopyable &&
)
Defaulted to allow move.
NonCopyable& Geo::NonCopyable::operator=
public: NonCopyable & operator=
(
  NonCopyable &&
)
Defaulted to allow move.
virtual void Enlighten::RefTextureAllocator::Release
public: virtual void Release()
Release the texture allocator.