mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
add getBindingUnit() to BindingLayout
This commit is contained in:
@@ -75,6 +75,10 @@ export abstract class GFXBindingLayout {
|
||||
}
|
||||
}
|
||||
|
||||
public getBindingUnit(binding: number): GFXBindingUnit {
|
||||
return this._bindingUnits[binding];
|
||||
}
|
||||
|
||||
protected _device: GFXDevice;
|
||||
protected _bindingUnits: GFXBindingUnit[] = [];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user