//CFTTBatchModelBin - [2020-04-13 11:57:46]
#ifndef _CFTTBATCHMODELBIN_H_
#define _CFTTBATCHMODELBIN_H_

#include "CFTTModel.h"
#include "CFTTGraphicsDevice.h"

/*
0020EDF4 CFTTBatchModelBin::CFTTBatchModelBin(CFTTBatchModelManager *,CFTTBatchModelBin*,int,uint,int,int,bool,bool)
0020EE6C CFTTBatchModelBin::~CFTTBatchModelBin()
0020EE88 CFTTBatchModelBin::AddModel(CFTTModel *,int,int,int)
0020F004 CFTTBatchModelBin::Flush(bool)
0020F1AC CFTTBatchModelBin::GetDrawCalls()
0020F1B0 CFTTBatchModelBin::GetLastMatID()
0020F1CC CFTTBatchModelBin::SetMaterialID(int)
*/
struct UseBy_CFTTBatchModelBin_field_30 {
  union {
    ushort us_field;
    int i_field;
  } u_0;
  int field_4;
  int field_8;
};

class CFTTBatchModelManager;

class CFTTBatchModelBin {
public:
  CFTTBatchModelBin(CFTTBatchModelManager* p_cfttbatchmodelmanager_r1_arg,
                    CFTTBatchModelBin* p_cfttbatchmodelbin_r2_arg, int d_r3_arg,
                    uint ud_arg_0, int d_arg_4, int d_arg_8, bool b_arg_c, bool b_arg_10);  //0020EDF4

  ~CFTTBatchModelBin();                      //0020EE6C
  bool AddModel(CFTTModel*, int, int, int);  //0020EE88
  void Flush(bool);                          //0020F004
  int GetDrawCalls() const;                        //0020F1AC
  int GetLastMatID() const;                       //0020F1B0
  void SetMaterialID(int);                   //0020F1CC

  uint field_0;
  bool field_4;
  char field_5;
  char field_6;
  char field_7;
  ushort* field_8;
  int field_C;
  CFTTGraphicsBuffer* p_cfttgraphicsbuffer_10;
  int field_14;
  int field_18;
  int field_1C;
  bool field_20;
  char field_21;
  char field_22;
  char field_23;
  CFTTBatchModelManager* p_cfttbatchmodelmanager_24;
  CFTTBatchModelBin* p_cfttbatchmodelbin_28;
  union {
    ushort us_field;
    int i_field;
  } u_2c;
  UseBy_CFTTBatchModelBin_field_30* p_useby_cfttbatchmodelbin_field_30_30;
  int field_34;  //p_useby_cfttbatchmodelbin_field_30_30的buffer count
  int field_38;  //p_useby_cfttbatchmodelbin_field_30_30的元素count
};

#endif  //_CFTTBATCHMODELBIN_H_