/// <summary> /// Writes a 3d texture to a stream /// </summary> /// <param name="texture">Texture to write</param> /// <param name="stream">Stream to write to</param> /// <param name="writeMipMaps"> /// If true, all the texture's mip-map levels are written to the stream. Otherwise, only the level 0 /// texture is written. /// </param> public static void WriteTextureToStream( ITexture3d texture, Stream stream, bool writeMipMaps ) { throw new NotImplementedException( "Need to add texture to data functionality to ITexture3d" ); }
/// <summary> /// Sets the lookup textures required by the atmosphere renderer /// </summary> /// <param name="scatteringTexture">Lookup table for in- and out-scattering coefficients</param> /// <param name="opticalDepthTexture">Lookup table for optical depth</param> public void SetLookupTextures( ITexture3d scatteringTexture, ITexture2d opticalDepthTexture ) { m_ScatteringTexture = scatteringTexture; m_OpticalDepthTexture = opticalDepthTexture; }