MTLRenderPassDescriptor.SetSamplePositions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetSamplePositions(MTLSamplePosition[]) |
Sets the programmable sample postions with data from |
SetSamplePositions(IntPtr, nuint) |
Sets the programmable sample postions with |
SetSamplePositions(MTLSamplePosition[])
Sets the programmable sample postions with data from positions
.
public void SetSamplePositions (Metal.MTLSamplePosition[] positions);
member this.SetSamplePositions : Metal.MTLSamplePosition[] -> unit
Parameters
- positions
- MTLSamplePosition[]
The positions to set.
Applies to
SetSamplePositions(IntPtr, nuint)
Sets the programmable sample postions with count
data from positions
.
[Foundation.Export("setSamplePositions:count:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetSamplePositions (IntPtr positions, nuint count);
abstract member SetSamplePositions : nativeint * nuint -> unit
override this.SetSamplePositions : nativeint * nuint -> unit
Parameters
- count
- System.System.UIntPtr System.unativeint
The number of postions to set.
- Attributes