Function Control.getIcon

Returns an icon from assigned Theme with given name and associated with Control of given type.

godot.d.reference.Ref!(godot.texture.Texture) getIcon (
  const(String) name,
  const(String) type = GodotStringLiteral().str()
) nothrow @nogc const;