makeTextureResource(descriptor:)
Creates a texture resource from the given descriptor.
Declaration
func makeTextureResource(descriptor: LowLevelTextureResource.Descriptor) throws -> LowLevelTextureResourceParameters
- descriptor:
The texture type, pixel format, dimensions, and usage flags.
Return Value
A newly created LowLevelTextureResource.