コード例 #1
0
 private void PlatformConstruct(
     GraphicsDevice graphicsDevice, bool mipMap,
     DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage)
 {
     graphicsDevice.PlatformCreateRenderTarget(
         this, Size, Size, mipMap, Format, preferredDepthFormat, preferredMultiSampleCount, usage);
 }
コード例 #2
0
 private void PlatformConstruct(
     GraphicsDevice graphicsDevice, int width, int height, bool mipMap,
     DepthFormat preferredDepthFormat, int preferredMultiSampleCount, RenderTargetUsage usage, bool shared)
 {
     graphicsDevice.PlatformCreateRenderTarget(
         this, width, height, mipMap, Format, preferredDepthFormat, preferredMultiSampleCount, usage);
 }