internal MyDrawSubmesh(int indexCount, int startIndex, int baseVertex, MyMaterialProxyId materialId, int[] bonesMapping = null)
 {
     IndexCount   = indexCount;
     StartIndex   = startIndex;
     BaseVertex   = baseVertex;
     MaterialId   = materialId;
     BonesMapping = bonesMapping;
 }
 internal MyDrawSubmesh(int indexCount, int startIndex, int baseVertex, MyMaterialProxyId materialId, int[] bonesMapping = null)
 {
     IndexCount = indexCount;
     StartIndex = startIndex;
     BaseVertex = baseVertex;
     MaterialId = materialId;
     BonesMapping = bonesMapping;
 }
        internal void Clear()
        {
            matTexturesID  = MyMaterialProxyId.NULL;
            matConstantsID = -1;

            objectData = new MyObjectData();

            objectBuffer = null;
        }
        internal void Clear()
        {
            matTexturesID = MyMaterialProxyId.NULL;
            matConstantsID = -1;

            objectData = new MyObjectData();

            objectBuffer = null;
        }
Exemple #5
0
 internal static void FreeProxy(MyMaterialProxyId id)
 {
     ProxyPool.Free(id.Index);
 }
 internal static void FreeProxy(MyMaterialProxyId id)
 {
     ProxyPool.Free(id.Index);
 }
Exemple #7
0
 internal void Clear()
 {
     matTexturesID  = MyMaterialProxyId.NULL;
     matConstantsID = -1;
 }
 internal void Clear()
 {
     matTexturesID = MyMaterialProxyId.NULL;
     matConstantsID = -1;
 }