public static PipelineRenderTarget RenderTargetWithDepthAndColors( PipelineDepthTexture depth, params PipelineTexture[] textures) { return(renderTarget( target => target.Attach(FramebufferAttachment.DepthAttachment, depth.Texture), textures)); }
public static PipelineRenderTarget RenderTargetWithDepthAndColors( string label, PipelineDepthTexture depth, params PipelineTexture[] textures) { return(withLabel(label, RenderTargetWithDepthAndColors(depth, textures))); }