EnvironmentMap.fromGpuTextures constructor

EnvironmentMap.fromGpuTextures({
  1. required Texture radianceTexture,
  2. Texture? irradianceTexture,
})

Implementation

factory EnvironmentMap.fromGpuTextures(
    {required gpu.Texture radianceTexture, gpu.Texture? irradianceTexture}) {
  return EnvironmentMap._(radianceTexture, irradianceTexture);
}