Contents

makeTexture(descriptor:)

Creates a new texture instance.

Declaration

func makeTexture(descriptor: MTLTextureDescriptor) -> (any MTLTexture)?

Parameters

Mentioned in

Return Value

A new MTLTexture instance if the method completed successfully; otherwise nil.

See Also

Creating textures