public override IndexBufferBase CreateIndexBuffer(uint indexCount, IndexBufferSize indexSize, IndexBufferMode mode) { var abstraction = new IndexBuffer(this, mode); if (!abstraction.Init(indexCount, indexSize)) { abstraction.Dispose(); throw new Exception("Failed to create IndexBuffer"); } return(abstraction); }
public override IndexBufferBase CreateIndexBuffer(uint indexCount, IndexBufferSize indexSize, IndexBufferMode mode) { throw new NotImplementedException(); }
public abstract IndexBufferBase CreateIndexBuffer(uint indexCount, IndexBufferSize indexSize, IndexBufferMode mode);
public override IndexBufferBase CreateIndexBuffer(uint indexCount, IndexBufferSize indexSize, IndexBufferMode mode) { return(activeDevice.CreateIndexBuffer(indexCount, indexSize, mode)); }
public unsafe bool Init(uint indexCount, IndexBufferSize indexSize) { this.indexSize = indexSize; return(Orbital_Video_D3D12_IndexBuffer_Init(handle, null, indexCount, (uint)indexSize) != 0); }