Upravit

Sdílet prostřednictvím


MTLSamplePosition Struct

Definition

A sample position.

public struct MTLSamplePosition
type MTLSamplePosition = struct
Inheritance
MTLSamplePosition

Constructors

MTLSamplePosition(Single, Single)

Creates a new normalized sample position.

Fields

X

The X value, in the range [0.0, 1.0).

Y

The Y value, in the range [0.0, 1.0).

Applies to