Esempio n. 1
0
        public _2DWorldRenderPlane(_2DWorldBatch batch, Promise <Texture2D> output, RenderTarget2D buffer)
        {
            this.GD      = batch.Device;
            this.Texture = output;
            this.Batch   = batch;
            this.Target  = buffer;//batch.GetBuffer();

            /** Switch the render target **/
        }
Esempio n. 2
0
 public _2DWorldRenderPlaneWithDepth(_2DWorldBatch batch,
                                     Promise <Texture2D> output,
                                     RenderTarget2D buffer,
                                     Promise <Texture2D> depthOutput,
                                     RenderTarget2D depthBuffer) : base(batch, output, buffer)
 {
     this.DepthTexture = depthOutput;
     this.DepthTarget  = depthBuffer;
 }