IMTLTextureViewPool.SetTextureViewFromBuffer 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.
[Foundation.Export("setTextureViewFromBuffer:descriptor:offset:bytesPerRow:atIndex:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.MTLResourceId SetTextureViewFromBuffer(Metal.IMTLBuffer buffer, Metal.MTLTextureDescriptor descriptor, UIntPtr offset, UIntPtr bytesPerRow, UIntPtr index);
[<Foundation.Export("setTextureViewFromBuffer:descriptor:offset:bytesPerRow:atIndex:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetTextureViewFromBuffer : Metal.IMTLBuffer * Metal.MTLTextureDescriptor * unativeint * unativeint * unativeint -> Metal.MTLResourceId
override this.SetTextureViewFromBuffer : Metal.IMTLBuffer * Metal.MTLTextureDescriptor * unativeint * unativeint * unativeint -> Metal.MTLResourceId
Parameters
- buffer
- IMTLBuffer
- descriptor
- MTLTextureDescriptor
- offset
-
UIntPtr
unativeint
- bytesPerRow
-
UIntPtr
unativeint
- index
-
UIntPtr
unativeint
Returns
- Attributes