/// <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)); } }
public static void DisableClientState(ClientStateCap cap) { Delegates.DisableClientState(cap); }
public static void EnableClientState(ClientStateCap cap) { Delegates.EnableClientState(cap); }
public BufferArray(ClientStateCap arrayType, int unitElementCount, int stride, int offset, object data) : this(-1, unitElementCount, false, stride, offset, data) { ClientArrayType = arrayType; ArrayType = ArrayType.ClientStateArray; }