Пример #1
0
 internal MyDrawSubmesh(int indexCount, int startIndex, int baseVertex, MyMaterialProxyId materialId, int[] bonesMapping = null)
 {
     IndexCount   = indexCount;
     StartIndex   = startIndex;
     BaseVertex   = baseVertex;
     MaterialId   = materialId;
     BonesMapping = bonesMapping;
 }
Пример #2
0
 internal MyDrawSubmesh(int indexCount, int startIndex, int baseVertex, MyMaterialProxyId materialId, int[] bonesMapping = null)
 {
     IndexCount = indexCount;
     StartIndex = startIndex;
     BaseVertex = baseVertex;
     MaterialId = materialId;
     BonesMapping = bonesMapping;
 }
Пример #3
0
        internal void Clear()
        {
            matTexturesID  = MyMaterialProxyId.NULL;
            matConstantsID = -1;

            objectData = new MyObjectData();

            objectBuffer = null;
        }
Пример #4
0
        internal void Clear()
        {
            matTexturesID = MyMaterialProxyId.NULL;
            matConstantsID = -1;

            objectData = new MyObjectData();

            objectBuffer = null;
        }
Пример #5
0
 internal static void FreeProxy(MyMaterialProxyId id)
 {
     ProxyPool.Free(id.Index);
 }
Пример #6
0
 internal static void FreeProxy(MyMaterialProxyId id)
 {
     ProxyPool.Free(id.Index);
 }
Пример #7
0
 internal void Clear()
 {
     matTexturesID  = MyMaterialProxyId.NULL;
     matConstantsID = -1;
 }
Пример #8
0
 internal void Clear()
 {
     matTexturesID = MyMaterialProxyId.NULL;
     matConstantsID = -1;
 }