Class GradientMesh
[Guid("f292e401-c050-4cde-83d7-04962d3b23c2")]
public class GradientMesh : Resource
- Inheritance
-
GradientMesh
- Inherited Members
Constructors
GradientMesh(DeviceContext2, GradientMeshPatch[], int)
Initializes a new instance of the GradientMesh.
public GradientMesh(DeviceContext2 context2, GradientMeshPatch[] atchesRef, int patchesCount)
Parameters
context2
DeviceContext2atchesRef
GradientMeshPatch[]patchesCount
int
GradientMesh(nint)
public GradientMesh(nint nativePtr)
Parameters
nativePtr
nint
Properties
PatchCount
Returns the number of patches that make up this gradient mesh.
public int PatchCount { get; }
Property Value
Methods
GetPatches(int, GradientMeshPatch[], int)
Returns a subset of the patches that make up this gradient mesh.
public void GetPatches(int startIndex, GradientMeshPatch[] atchesRef, int patchesCount)
Parameters
startIndex
intIndex of the first patch to return.
atchesRef
GradientMeshPatch[]A reference to the array to be filled with the patch data.
patchesCount
intThe number of patches to be returned.
Operators
explicit operator GradientMesh(nint)
public static explicit operator GradientMesh(nint nativePtr)
Parameters
nativePtr
nint