mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
add get layouts()
This commit is contained in:
@@ -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[] = [];
|
||||
|
||||
Reference in New Issue
Block a user