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
| Name | Description |
|---|---|
| SetSamplePositions(MTLSamplePosition[]) |
Sets the programmable sample postions with data from |
| SetSamplePositions(IntPtr, UIntPtr) |
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, UIntPtr)
[Foundation.Export("setSamplePositions:count:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetSamplePositions(IntPtr positions, UIntPtr count);
[<Foundation.Export("setSamplePositions:count:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetSamplePositions : nativeint * unativeint -> unit
override this.SetSamplePositions : nativeint * unativeint -> unit
Parameters
- positions
-
IntPtr
nativeint
- count
-
UIntPtr
unativeint
- Attributes