mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 02:02:41 +08:00
17 lines
350 B
TypeScript
17 lines
350 B
TypeScript
import { GFXDevice } from './device';
|
|
|
|
export interface IGFXCommandAllocatorInfo {
|
|
}
|
|
|
|
export abstract class GFXCommandAllocator {
|
|
|
|
protected _device: GFXDevice;
|
|
|
|
constructor (device: GFXDevice) {
|
|
this._device = device;
|
|
}
|
|
|
|
public abstract initialize (info: IGFXCommandAllocatorInfo): boolean;
|
|
public abstract destroy ();
|
|
}
|