LayoutFarm.RootGfxPlatform.SetCurrentPlatform C# (CSharp) Method

SetCurrentPlatform() static private method

static private SetCurrentPlatform ( GraphicsPlatform actualImpl ) : bool
actualImpl PixelFarm.Drawing.GraphicsPlatform
return bool
        static bool SetCurrentPlatform(GraphicsPlatform actualImpl)
        {
            //must init once
            lock (initLock)
            {
                if (s_selectedGfxPlatform == null)
                {
                    s_selectedGfxPlatform = actualImpl;
                    return true;
                }
            }
            return false;
        } 
    }
RootGfxPlatform