import { DRAW_MODES, BLEND_MODES } from "../../const";
import BaseTexture from "../../texture/BaseTexture";

/**
 * 
 * @class
 */
export default class BatchDrawCall {
    /**
     * 存储基础图片
     */
    textures: BaseTexture[];
    /**
     * 混色模式
     */
    blend:BLEND_MODES
    /**
     * 图片总数
     */
    textureCount: number;
    /**
     * 索引起始
     */
    start: number;
    /**
     * 总数
     */
    size: number;
    /**
     * 绘制类型
     */
    type: number;
    constructor() {
        this.textures = [];
        // this.ids = [];
        this.blend = 0;
        this.textureCount = 0;
        this.start = 0;
        this.size = 0;
        this.type = DRAW_MODES.TRIANGLES;
    }
}
