Edit

Share via


IMTLBuffer Interface

Definition

System protocol for raw data that is accessible in strides.

[Foundation.Protocol(Name="MTLBuffer", WrapperType=typeof(Metal.MTLBufferWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMTLBuffer : IDisposable, Metal.IMTLResource
type IMTLBuffer = interface
    interface INativeObject
    interface IDisposable
    interface IMTLResource
Attributes
Implements

Properties

Contents
CpuCacheMode (Inherited from IMTLResource)
Device (Inherited from IMTLResource)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Label (Inherited from IMTLResource)
Length

Methods

CreateTexture(MTLTextureDescriptor, nuint, nuint)
DidModify(NSRange)
SetPurgeableState(MTLPurgeableState) (Inherited from IMTLResource)

Extension Methods

AddDebugMarker(IMTLBuffer, String, NSRange)
CreateTexture(IMTLBuffer, MTLTextureDescriptor, nuint, nuint)
RemoveAllDebugMarkers(IMTLBuffer)
GetAllocatedSize(IMTLResource)

Returns the allocated size of the resource.

GetHeap(IMTLResource)

Returns the heap that sub-allocated the resource.

GetIsAliasable(IMTLResource)

Returns a Boolean value that tells whether future sub-allocations can alias the resource's memory.

GetStorageMode(IMTLResource)

Returns a description of the location and permissions of the resource.

MakeAliasable(IMTLResource)

Makes the resource aliasable.

Applies to