VoxelTerrain.RenderTarget.RenderTarget C# (CSharp) Method

RenderTarget() public method

Creates render target object used specified values.
public RenderTarget ( SlimDX.Direct3D11.Device graphicsDevice, int width, int height, Format format ) : SlimDX.Direct3D11
graphicsDevice SlimDX.Direct3D11.Device Virtual adapter used to perform rendering.
width int Texture width.
height int Texture height.
format Format Texture format.
return SlimDX.Direct3D11
        public RenderTarget(Device graphicsDevice, int width, int height, Format format)
        {
            this.graphicsDevice = graphicsDevice;

            Initialize(width, height, format);
        }