importTexture method

TextureHandle importTexture(
  1. NativeHandle handle,
  2. TextureDescriptor descriptor
)
inherited

A texture shaped like descriptor over the memory handle names, which another device or API made and keeps — DeviceFeature.sharedTextures. Released like any texture; the memory stays its maker's.

Implementation

TextureHandle importTexture(
  NativeHandle handle,
  TextureDescriptor descriptor,
) => throw refuse(DeviceFeature.sharedTextures);