Axiom.Components.Terrain.TerrainMaterialGenerator.UpdateCompositeMap C# (CSharp) Method

UpdateCompositeMap() public method

Update the composite map for a terrain. The composite map for a terrain must match what the terrain should look like at distance. This method will only be called in the render thread so the generator is free to render into a texture to support this, so long as the results are blitted into the Terrain's own composite map afterwards.
public UpdateCompositeMap ( Axiom.Components.Terrain.Terrain terrain, Rectangle rect ) : void
terrain Axiom.Components.Terrain.Terrain
rect Axiom.Core.Rectangle
return void
        public virtual void UpdateCompositeMap(Terrain terrain, Rectangle rect)
        {
            Profile p = ActiveProfile;
            if (p == null)
                return;
            else
                p.UpdateCompositeMap(terrain, rect);
        }
        /// <summary>