Contents

sample

An option that enables sampling from the resource.

Declaration

static var sample: MTLResourceUsage { get }

Discussion

Specify this option only if the resource is a texture.