15class MetalDeviceQueue;
19 explicit MetalDeviceGraphicsInterop(MetalDeviceQueue *queue);
21 MetalDeviceGraphicsInterop(
const MetalDeviceGraphicsInterop &other) =
delete;
22 MetalDeviceGraphicsInterop(MetalDeviceGraphicsInterop &&other)
noexcept =
delete;
24 ~MetalDeviceGraphicsInterop()
override;
26 MetalDeviceGraphicsInterop &
operator=(
const MetalDeviceGraphicsInterop &other) =
delete;
27 MetalDeviceGraphicsInterop &
operator=(MetalDeviceGraphicsInterop &&other) =
delete;
29 void set_buffer(GraphicsInteropBuffer &interop_buffer)
override;
32 void unmap()
override;
35 MetalDeviceQueue *queue_ =
nullptr;
36 MetalDevice *device_ =
nullptr;
39 MetalDevice::MetalMem mem_;
43 bool need_zero_ =
false;
btGeneric6DofConstraint & operator=(btGeneric6DofConstraint &other)
#define CCL_NAMESPACE_END