Instance Method

imageFromTexture

Exports the texture data as a CoreGraphics image.

Declaration

- (CGImageRef)imageFromTexture;

Return Value

A CoreGraphics image object containing the texture’s pixel data, or nil if the texture data cannot be represented using CoreGraphics.

See Also

Exporting Textures

- writeToURL:

Exports the texture data to an image file at the specified URL.

- writeToURL:type:

Exports the texture data to an image file at the specified URL, of the specified type.