示例#1
0
 public void BindShadowBuf(FrameBuffer.FrameBufferColor from)
 {
     if (ShadowBuffer2 == null || ShadowBuffer2.IW != ShadowBuf.IW || ShadowBuffer2.IH != ShadowBuf.IH)
     {
         //ShadowBuffer2 = new FrameBuffer.FrameBufferColor(ShadowBuf.IW, ShadowBuf.IH);
     }
     ShadowBuffer2.Bind();
 }
示例#2
0
 private void CreateShadowBuffers(int w, int h)
 {
     SB1 = new FrameBuffer.FrameBufferColor(w, h);
     SB2 = new FrameBuffer.FrameBufferColor(w, h);
 }
示例#3
0
 public PPMapGrid()
 {
     FX  = new FXMapGrid();
     FB1 = new FrameBuffer.FrameBufferColor(App.AppInfo.W, App.AppInfo.H);
 }
示例#4
0
 public override void Init( )
 {
     BFX    = new EVelBuf( );
     RFX    = new EMotionBlur( );
     VelFBO = new FrameBuffer.FrameBufferColor(512, 512);
 }
 public PPVirtualGrid()
 {
     FX  = new FXGrid();
     FB1 = new FrameBuffer.FrameBufferColor(App.AppInfo.W, App.AppInfo.H);
 }