Beispiel #1
0
 public override void Enable()
 {
     if (indexBuffer != null)
     {
         com.Enable(indexBuffer.com, null);
     }
     else
     {
         com.Enable(null, null);
     }
 }
Beispiel #2
0
 public override void Enable()
 {
     currentIndexBuffer = indexBuffer;
     if (indexBuffer != null)
     {
         com.Enable(indexBuffer.com, null, vertexByteSize, 0);
     }
     else
     {
         com.Enable(null, null, vertexByteSize, 0);
     }
 }