Share via


IMTLAccelerationStructure Interface

Definition

This interface represents the Objective-C protocol MTLAccelerationStructure.

[Foundation.Protocol(Name="MTLAccelerationStructure", WrapperType=typeof(Metal.MTLAccelerationStructureWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="size", IsProperty=true, IsRequired=true, IsStatic=false, Name="Size", PropertyType=typeof(System.UIntPtr), Selector="size")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="gpuResourceID", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuResourceId", PropertyType=typeof(Metal.MTLResourceId), Selector="gpuResourceID")]
public interface IMTLAccelerationStructure : IDisposable, Metal.IMTLResource
[<Foundation.Protocol(Name="MTLAccelerationStructure", WrapperType=typeof(Metal.MTLAccelerationStructureWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="size", IsProperty=true, IsRequired=true, IsStatic=false, Name="Size", PropertyType=typeof(System.UIntPtr), Selector="size")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="gpuResourceID", IsProperty=true, IsRequired=true, IsStatic=false, Name="GpuResourceId", PropertyType=typeof(Metal.MTLResourceId), Selector="gpuResourceID")>]
type IMTLAccelerationStructure = interface
    interface INativeObject
    interface IDisposable
    interface IMTLAllocation
    interface IMTLResource
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
AllocatedSize

Returns the allocated size of the resource.

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

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
HazardTrackingMode (Inherited from IMTLResource)
Heap

Returns the heap that sub-allocated the resource.

(Inherited from IMTLResource)
HeapOffset (Inherited from IMTLResource)
IsAliasable

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

(Inherited from IMTLResource)
Label (Inherited from IMTLResource)
ResourceOptions (Inherited from IMTLResource)
Size
StorageMode

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

(Inherited from IMTLResource)

Methods

Name Description
MakeAliasable()

Makes the resource aliasable.

(Inherited from IMTLResource)
SetOwnerWithIdentity(UInt32) (Inherited from IMTLResource)
SetPurgeableState(MTLPurgeableState) (Inherited from IMTLResource)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to