add get layouts()

This commit is contained in:
jerrywwl
2019-01-18 10:23:04 +08:00
parent e9575dc221
commit caf8a60133
+4
View File
@@ -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[] = [];