diff --git a/cocos/gfx/pipeline-layout.ts b/cocos/gfx/pipeline-layout.ts index b1a26fefc1..69a4f91a69 100644 --- a/cocos/gfx/pipeline-layout.ts +++ b/cocos/gfx/pipeline-layout.ts @@ -15,6 +15,10 @@ export interface IGFXPipelineLayoutInfo { export abstract class GFXPipelineLayout extends GFXObject { + public get layouts (): GFXBindingLayout[] { + return this._layouts; + } + protected _device: GFXDevice; protected _pushConstantsRanges: IGFXPushConstantRange[] = []; protected _layouts: GFXBindingLayout[] = [];