Microsoft.Xna.Framework.Graphics.RenderTarget2D.PlatformConstruct C# (CSharp) Метод

PlatformConstruct() приватный Метод

private PlatformConstruct ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, int width, int height, bool mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage, bool shared ) : void
graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice
width int
height int
mipMap bool
preferredFormat SurfaceFormat
preferredDepthFormat DepthFormat
preferredMultiSampleCount int
usage RenderTargetUsage
shared bool
Результат void
        private void PlatformConstruct(GraphicsDevice graphicsDevice, int width, int height, bool mipMap,
            SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage, bool shared)
        {
            Threading.BlockOnUIThread(() =>
            {
                graphicsDevice.PlatformCreateRenderTarget(this, width, height, mipMap, preferredFormat, preferredDepthFormat, preferredMultiSampleCount, usage);
            });
            
            
        }