Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metal: expose MTLDevice #97309

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

kroketio
Copy link
Contributor

@kroketio kroketio commented Sep 22, 2024

expose MTLDevice

The equivalent over at Vulkan is

uint64_t RenderingDeviceDriverVulkan::get_resource_native_handle(DriverResource p_type, ID p_driver_id) {
switch (p_type) {
case DRIVER_RESOURCE_LOGICAL_DEVICE: {
return (uint64_t)vk_device;
}

loosely related to #97304

Copy link
Contributor

@stuartcarnie stuartcarnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM – thanks!

Copy link
Member

@adamscott adamscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@stuartcarnie approved.

@adamscott adamscott modified the milestones: 4.x, 4.4 Oct 7, 2024
@adamscott adamscott requested a review from clayjohn October 7, 2024 13:38
@clayjohn clayjohn merged commit e7c39ef into godotengine:master Oct 7, 2024
19 checks passed
@clayjohn
Copy link
Member

clayjohn commented Oct 7, 2024

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants