MetalPerformanceShaders Structures

No overview available.

Topics

Structures

struct MPSAccelerationStructureUsage

Options that describe how an acceleration structure will be used.

struct MPSCNNBatchNormalizationFlags

Options that define how statistics are calculated during batch normalization.

struct MPSCNNConvolutionGradientOption

Options that control which gradient to compute during backward propagation.

struct MPSCustomKernelArgumentCount

A structure that contains the number of destination, source, and broadcaset textures used by a custom kernel.

struct MPSImageType

Options that define a Metal Performance Shaders image type.

struct MPSIntegerDivisionParams

Parameters that define the parts of a division operation.

struct MPSIntersectionDistance

An intersection result that contains the distance from the ray origin to the intersection point.

struct MPSIntersectionDistancePrimitiveIndex

An intersection result that contains the distance from the ray origin to the intersection point, and the index of the intersected primitive.

struct MPSIntersectionDistancePrimitiveIndexCoordinates

An intersection result that contains the origin-intersection distance, intersected primitive index, and intersection point coordinates.

struct MPSIntersectionDistancePrimitiveIndexInstanceIndex

An intersection result that contains the origin-intersection distance, and intersected primitive and instance indices.

struct MPSIntersectionDistancePrimitiveIndexInstanceIndexCoordinates

An intersection result that contains the origin-intersection distance, intersected primitive and instance indices, and intersection point coordinates.

struct MPSMatrixCopyOffsets

A description of matrix copy operations.

struct MPSMatrixOffset

A description of row and column offsets into a matrix.

struct MPSNNConvolutionAccumulatorPrecisionOption

Options that specify convolution accumulator precision.

struct MPSNNTrainingStyle

Options that control how graph nodes are trained.

struct MPSRayMaskOptions

Options for ray intersector mask options.

struct MPSRayOriginDirection

A 3D ray with an origin and a direction.

struct MPSRayOriginMaskDirectionMaxDistance

A 3D ray with an origin, a direction, and a mask to filter out intersections.

struct MPSRayOriginMinDistanceDirectionMaxDistance

A 3D ray with an origin, a direction, and an intersection distance range from the origin.

struct MPSStateTextureInfo

An encapsulation of a texture's dimensions, format, type, and usage.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software