protected override void SetIndexBufferCore(DeviceBuffer buffer, IndexFormat format, uint offset) { _currentCommands.SetIndexBuffer(buffer, format, offset); }