Skip to content

Resource::get_rid() is not exposed as a GDExtension virtual method #78127

@DmitriySalnikov

Description

@DmitriySalnikov

Godot version

4.x

System information

Windows 10

Issue description

Resource::get_rid() is not exposed as GDExtension virtual method using GDVIRTUAL*.

For me, this makes it a bit difficult to create my own Texture2D and forces me to override the draw_* methods.
This issue has already been discussed here godotengine/godot-cpp#877, but for some reason it was archived.

Steps to reproduce

N/A

Minimal reproduction project

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions