IMTLTexture.GetBytes 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 |
|---|---|
| GetBytes(IntPtr, UIntPtr, MTLRegion, UIntPtr) | |
| GetBytes(IntPtr, UIntPtr, UIntPtr, MTLRegion, UIntPtr, UIntPtr) |
GetBytes(IntPtr, UIntPtr, MTLRegion, UIntPtr)
[Foundation.Export("getBytes:bytesPerRow:fromRegion:mipmapLevel:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void GetBytes(IntPtr pixelBytes, UIntPtr bytesPerRow, Metal.MTLRegion region, UIntPtr level);
[<Foundation.Export("getBytes:bytesPerRow:fromRegion:mipmapLevel:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBytes : nativeint * unativeint * Metal.MTLRegion * unativeint -> unit
override this.GetBytes : nativeint * unativeint * Metal.MTLRegion * unativeint -> unit
Parameters
- pixelBytes
-
IntPtr
nativeint
- bytesPerRow
-
UIntPtr
unativeint
- region
- MTLRegion
- level
-
UIntPtr
unativeint
- Attributes
Applies to
GetBytes(IntPtr, UIntPtr, UIntPtr, MTLRegion, UIntPtr, UIntPtr)
[Foundation.Export("getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void GetBytes(IntPtr pixelBytes, UIntPtr bytesPerRow, UIntPtr bytesPerImage, Metal.MTLRegion region, UIntPtr level, UIntPtr slice);
[<Foundation.Export("getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBytes : nativeint * unativeint * unativeint * Metal.MTLRegion * unativeint * unativeint -> unit
override this.GetBytes : nativeint * unativeint * unativeint * Metal.MTLRegion * unativeint * unativeint -> unit
Parameters
- pixelBytes
-
IntPtr
nativeint
- bytesPerRow
-
UIntPtr
unativeint
- bytesPerImage
-
UIntPtr
unativeint
- region
- MTLRegion
- level
-
UIntPtr
unativeint
- slice
-
UIntPtr
unativeint
- Attributes