metal.texture

Undocumented in source.

Members

Classes

MTLSamplerDescriptor
class MTLSamplerDescriptor

An object that you use to configure a texture sampler.

MTLTextureDescriptor
class MTLTextureDescriptor

An object that you use to configure new Metal texture objects.

Enums

MTLCompareFunction
enum MTLCompareFunction

Options used to specify how a sample compare operation should be performed on a depth texture.

MTLSamplerAddressMode
enum MTLSamplerAddressMode

Modes that determine the texture coordinate at each pixel when a fetch falls outside the bounds of a texture.

MTLSamplerBorderColor
enum MTLSamplerBorderColor

Values that determine the border color for clamped texture values when the sampler address mode is MTLSamplerAddressModeClampToBorderColor.

MTLSamplerMinMagFilter
enum MTLSamplerMinMagFilter

Filtering options for determining which pixel value is returned within a mipmap level.

MTLSamplerMipFilter
enum MTLSamplerMipFilter

Filtering options for determining what pixel value is returned with multiple mipmap levels.

MTLTextureCompressionType
enum MTLTextureCompressionType
Undocumented in source but is binding to Objective-C. You might be able to learn more by searching the web for its name.
MTLTextureSwizzle
enum MTLTextureSwizzle

A set of options to choose from when creating a texture swizzle pattern.

MTLTextureType
enum MTLTextureType

The dimension of each image, including whether multiple images are arranged into an array or a cube.

MTLTextureUsage
enum MTLTextureUsage

An enumeration for the various options that determine how you can use a texture.

Functions

MTLTextureSwizzleChannelsMake
MTLTextureSwizzleChannels MTLTextureSwizzleChannelsMake(MTLTextureSwizzle r, MTLTextureSwizzle g, MTLTextureSwizzle b, MTLTextureSwizzle a)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Interfaces

MTLSamplerState
interface MTLSamplerState

An object that defines how a texture should be sampled.

MTLTexture
interface MTLTexture

A resource that holds formatted image data.

Structs

MTLTextureSwizzleChannels
struct MTLTextureSwizzleChannels

A pattern that modifies the data read or sampled from a texture by rearranging or duplicating the elements of a vector.

Meta