Skip to content

ImGui.GetStyleColorVec4 returns a pointer #314

Open
@Marlax0

Description

@Marlax0

Example (unsafe context):

Vector4* textColor = ImGui.GetStyleColorVec4(ImGuiCol.Text);

ImGui.PushStyleColor(ImGuiCol.Text, *textColor);

This doesn't seem to be intentional.

Using 1.87.3 via NuGet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions