public RenderTarget2D(GraphicsDevice graphicsDevice, int width, int height, bool mipMap, SurfaceFormat preferredFormat, /*DepthFormat preferredDepthFormat,*/ int preferredMultiSampleCount, RenderTargetUsage usage, bool shared, int arraySize) : base(graphicsDevice, width, height, mipMap, QuerySelectedFormat(graphicsDevice, preferredFormat), SurfaceType.RenderTarget, shared, arraySize) { // DepthStencilFormat = preferredDepthFormat; MultiSampleCount = graphicsDevice.GetClampedMultisampleCount(preferredMultiSampleCount); RenderTargetUsage = usage; PlatformConstruct(graphicsDevice, width, height, mipMap, /*preferredDepthFormat,*/ preferredMultiSampleCount, usage, shared); }