Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Compiler Error CS0029: Could not implicit convert to uint #92

@rafal1137

Description

@rafal1137

I started to writing a renderer using your bindings. I have run into weird anomaly.

Error CS0029: Could not convert implicit Vulkan.DeviceQueueCreateInfo[] to uint

Snipped of the code:

            var _queueInfo = new DeviceQueueCreateInfo { QueueFamilyIndex = _queueFamilyUsedIndex, QueuePriorities = new float[] { 1.0f } };
            var _deviceInfo = new DeviceCreateInfo
            {
                EnabledExtensionNames = new string[] { "VK_KHR_swapchain" },
                QueueCreateInfoCount = new DeviceQueueCreateInfo[] { _queueInfo }
            };

It points me to this line:

QueueCreateInfoCount = new DeviceQueueCreateInfo[] { _queueInfo }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions