Skip to content

CreateInfo structs don't properly use OOP #33

@WardBenjamin

Description

@WardBenjamin

Every once in a while, one of the CreateInfo structs takes a direct handle (IntPtr or long) instead of being able to pass in the actual object - here's a few examples:

FramebufferCreateInfo.Attachments should be type ImageView[]
RenderPassBeginInfo.RenderPass should take RenderPass
PipelineShaderStageCreateInfo.Module should take ShaderModule

I'm sure there's more of these scattered throughout the code; this should be a very simple fix but will break the current API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions