5.3.3. Mapping to External Image Formats
5.3.3. 映射到外部图像格式
OpenCL image objects can be created which share storage with image objects in external APIs such as DirectX and OpenGL when the corresponding OpenCL extensions are supported. When creating such OpenCL images, there are restrictions on the allowed formats. The tables in this section list, for each such external API, the supported image formats in that API and the corresponding OpenCL image format.
当支持相应的OpenCL扩展时,可以创建OpenCL图像对象,这些图像对象与外部API(如DirectX和OpenGL)中的图像对象共享存储。当创建这样的OpenCL图像时,对允许的格式有限制。本节中的表格列出了每个此类外部API、该API中支持的图像格式以及相应的OpenCL图像格式。