// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
#pragma once
#include "FlaxEngine.Gen.h"
class GPUTexture;
///
/// Structure that contains precomputed data for atmosphere rendering.
///
struct AtmosphereCache
{
GPUTexture* Transmittance;
GPUTexture* Irradiance;
GPUTexture* Inscatter;
};
///
/// PBR atmosphere cache data rendering service.
///
class FLAXENGINE_API AtmospherePreCompute
{
public:
///
/// Gets the atmosphere cache textures.
///
/// Result cache
/// True if context is ready for usage.
static bool GetCache(AtmosphereCache* cache);
};