IBLPrefilterContext
Creates and initializes GPU state common to all environment map filters supported.
Typically, only one instance per Engine needs to exist.
Usage example:
val context = IBLPrefilterContext(engine)
val filter = SpecularFilter(context)
val texture = filter.run(environmentCubemap)
val indirectLight = IndirectLight.Builder()
.reflections(texture)
.build(engine)Parameters
the Engine to use for all GPU operations
Creates and initializes GPU state common to all environment map filters supported.
Typically, only one instance per Engine needs to exist.
Usage example:
val context = IBLPrefilterContext(engine)
val filter = SpecularFilter(context)
val texture = filter.run(environmentCubemap)
val indirectLight = IndirectLight.Builder()
.reflections(texture)
.build(engine)Parameters
the Engine to use for all GPU operations
Creates and initializes GPU state common to all environment map filters supported.
Typically, only one instance per Engine needs to exist.
Usage example:
val context = IBLPrefilterContext(engine)
val filter = SpecularFilter(context)
val texture = filter.run(environmentCubemap)
val indirectLight = IndirectLight.Builder()
.reflections(texture)
.build(engine)Parameters
the Engine to use for all GPU operations
Creates and initializes GPU state common to all environment map filters supported.
Typically, only one instance per Engine needs to exist.
Usage example:
val context = IBLPrefilterContext(engine)
val filter = SpecularFilter(context)
val texture = filter.run(environmentCubemap)
val indirectLight = IndirectLight.Builder()
.reflections(texture)
.build(engine)Parameters
the Engine to use for all GPU operations
Creates and initializes GPU state common to all environment map filters supported.
Typically, only one instance per Engine needs to exist.
Usage example:
val context = IBLPrefilterContext(engine)
val filter = SpecularFilter(context)
val texture = filter.run(environmentCubemap)
val indirectLight = IndirectLight.Builder()
.reflections(texture)
.build(engine)Parameters
the Engine to use for all GPU operations
Constructors
Functions
Destroys all GPU resources created during initialization.
Destroys all GPU resources created during initialization.
Destroys all GPU resources created during initialization.
Destroys all GPU resources created during initialization.
Destroys all GPU resources created during initialization.