exportTexture method
texture's memory as a NativeHandle of kind (the first of
shareableKinds by default), for another device or API to import —
DeviceFeature.sharedTextures. The handle is valid while texture
is.
Implementation
NativeHandle exportTexture(TextureHandle texture, {NativeHandleKind? kind}) =>
throw refuse(DeviceFeature.sharedTextures);