MethodBind

gdext.internal.engine.MethodBind
object MethodBind

Resolves and caches engine MethodBind pointers.

classdb_get_method_bind(class, method, hash) is a dictionary lookup; the returned bind is stable for the process. get is the cold path: generated engine-class wrappers keep one null-checked bind field per method in their companion and call it once, and hand-written callers hold a CachedBind. The (class, method, hash) hash uniquely identifies an ABI-compatible method version, which is how Godot keeps GDExtensions working across point releases.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
MethodBind.type

Members list

Value members

Concrete methods

def get(className: String, methodName: String, hash: Long): GDExtensionMethodBindPtr