Inheritance: DisposableResource
Beispiel #1
0
 public abstract void Enable(IIndexBuffer indexBuffer, IVertexBuffer instanceBuffer);
Beispiel #2
0
 public override void Enable(IIndexBuffer indexBuffer, IVertexBuffer instanceBuffer)
 {
     this.currentIndexBuffer = (IndexBuffer)indexBuffer;
     var ib = ((VertexBuffer)instanceBuffer);
     com.Enable(((IndexBuffer)indexBuffer).com, ib.com, vertexByteSize, ib.vertexByteSize);
 }
Beispiel #3
0
 public abstract void Enable(IIndexBuffer indexBuffer, IVertexBuffer instanceBuffer);
Beispiel #4
0
 public override void Enable(IVertexBuffer instanceBuffer)
 {
     currentIndexBuffer = indexBuffer;
     var ib = ((VertexBuffer)instanceBuffer);
     if (indexBuffer != null) com.Enable(indexBuffer.com, ib.com, vertexByteSize, ib.vertexByteSize);
     else com.Enable(null, ib.com, vertexByteSize, ib.vertexByteSize);
 }