public override IndexBufferBase CreateIndexBuffer(uint[] indices, IndexBufferMode mode) { var abstraction = new IndexBuffer(this, mode); if (!abstraction.Init(indices)) { abstraction.Dispose(); throw new Exception("Failed to create IndexBuffer"); } return(abstraction); }
public override IndexBufferBase CreateIndexBuffer(uint[] indices, IndexBufferMode mode) { throw new NotImplementedException(); }
public override IndexBufferBase CreateIndexBuffer(uint indexCount, IndexBufferSize indexSize, IndexBufferMode mode) { throw new NotImplementedException(); }
public abstract IndexBufferBase CreateIndexBuffer(uint[] indices, IndexBufferMode mode);
public abstract IndexBufferBase CreateIndexBuffer(uint indexCount, IndexBufferSize indexSize, IndexBufferMode mode);
public override IndexBufferBase CreateIndexBuffer(uint[] indices, IndexBufferMode mode) { return(activeDevice.CreateIndexBuffer(indices, mode)); }
public override IndexBufferBase CreateIndexBuffer(uint indexCount, IndexBufferSize indexSize, IndexBufferMode mode) { return(activeDevice.CreateIndexBuffer(indexCount, indexSize, mode)); }
public IndexBuffer(Device device, IndexBufferMode mode) : base(device) { deviceD3D12 = device; handle = Orbital_Video_D3D12_IndexBuffer_Create(device.handle, mode); }
private static extern IntPtr Orbital_Video_D3D12_IndexBuffer_Create(IntPtr device, IndexBufferMode mode);
public IndexBuffer(Device device, IndexBufferMode mode) : base(device) { deviceVulkan = device; handle = Orbital_Video_Vulkan_IndexBuffer_Create(device.handle, mode); }