示例#1
0
 /// <summary>
 /// Use this method to add a client state array
 /// </summary>
 /// <param name="arrayType"></param>
 /// <param name="unitElementCount"></param>
 /// <param name="data"></param>
 public void AddArray(ClientStateCap arrayType, int unitElementCount, object data)
 {
     if (!m_Compiled && m_VboId != 0)
     {
         m_Arrays.Add(new BufferArray(arrayType, unitElementCount, 0, 0, data));
     }
 }
示例#2
0
 public static void DisableClientState(ClientStateCap cap)
 {
     Delegates.DisableClientState(cap);
 }
示例#3
0
 public static void EnableClientState(ClientStateCap cap)
 {
     Delegates.EnableClientState(cap);
 }
示例#4
0
 public BufferArray(ClientStateCap arrayType, int unitElementCount, int stride, int offset, object data)
     : this(-1, unitElementCount, false, stride, offset, data)
 {
     ClientArrayType = arrayType;
     ArrayType       = ArrayType.ClientStateArray;
 }