Example #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));
     }
 }
Example #2
0
 public static void DisableClientState(ClientStateCap cap)
 {
     Delegates.DisableClientState(cap);
 }
Example #3
0
 public static void EnableClientState(ClientStateCap cap)
 {
     Delegates.EnableClientState(cap);
 }
Example #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;
 }