MetalPerformanceShaders Structures

No overview available.

Topics

Structures

MPSAxisAlignedBoundingBox

An axis-aligned bounding box.

MPSCustomKernelArgumentCount

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

MPSIntegerDivisionParams

Parameters that define the parts of a division operation.

MPSIntersectionDistance

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

MPSIntersectionDistancePrimitiveIndex

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

MPSIntersectionDistancePrimitiveIndexCoordinates

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

MPSIntersectionDistancePrimitiveIndexInstanceIndex

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

MPSIntersectionDistancePrimitiveIndexInstanceIndexCoordinates

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

MPSMatrixCopyOffsets

A description of matrix copy operations.

MPSMatrixOffset

A description of row and column offsets into a matrix.

MPSPackedFloat3

A packed three-element vector.

MPSRayOriginDirection

A 3D ray with an origin and a direction.

MPSRayOriginMaskDirectionMaxDistance

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

MPSRayOriginMinDistanceDirectionMaxDistance

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

MPSStateTextureInfo

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