public virtual void DetachDepthBuffer() { if (this.depthBuffer == null) { return; } this.depthBuffer.NotifyRenderTargetDetached(this); this.depthBuffer = null; }
public virtual bool AttachDepthBuffer(DepthBuffer ndepthBuffer) { var retVal = false; if (ndepthBuffer.IsCompatible(this)) { retVal = true; DetachDepthBuffer(); this.depthBuffer = ndepthBuffer; this.depthBuffer.NotifyRenderTargetAttached(this); } return(retVal); }
public virtual void _DetachDepthBuffer() { this.depthBuffer = null; }