mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:03:09 +08:00
20 lines
516 B
TypeScript
20 lines
516 B
TypeScript
import { GFXObject, GFXObjectType } from './define';
|
|
import { GFXDevice } from './device';
|
|
|
|
// tslint:disable-next-line:no-empty-interface
|
|
export interface IGFXCommandAllocatorInfo {
|
|
}
|
|
|
|
export abstract class GFXCommandAllocator extends GFXObject {
|
|
|
|
protected _device: GFXDevice;
|
|
|
|
constructor (device: GFXDevice) {
|
|
super(GFXObjectType.COMMAND_ALLOCATOR);
|
|
this._device = device;
|
|
}
|
|
|
|
public abstract initialize (info: IGFXCommandAllocatorInfo): boolean;
|
|
public abstract destroy ();
|
|
}
|