new(pipeline:PipelineState, texture:Bool)
get(colorFormats:Array<TextureFormat>, depthStencilFormat:DepthStencilFormat):InternalPipeline