Refactored to meet new SharpDL method signatures and render target behaviors.