摘要:
nt ModelClass::GetIndexCount(){ return m_indexCount;}The InitializeBuffers function is where we handle creating the vertex and index buffers.Usually y... 阅读全文
摘要:
mutable在C++中,mutable修饰成员变量也是为了突破const的限制而设置的。被mutable修饰的成员变量,将永远处于可变的状态,即使在一个const函数中。class a{ mutable int a; int ab(int a) const;}解释: const修饰成员函数:... 阅读全文