net9.0-ios
namespace ModelIO
{
[Protocol(Name = "MDLMeshBufferAllocator", WrapperType = typeof(MDLMeshBufferAllocatorWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CreateZone", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UIntPtr) }, ReturnType = typeof(IMDLMeshBufferZone), Selector = "newZone:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CreateZone", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSNumber[]), typeof(NSNumber[]) }, ReturnType = typeof(IMDLMeshBufferZone), Selector = "newZoneForBuffersWithSize:andType:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CreateBuffer", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIntPtr), typeof(MDLMeshBufferType) }, ReturnType = typeof(IMDLMeshBuffer), Selector = "newBuffer:type:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CreateBuffer", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NSData), typeof(MDLMeshBufferType) }, ReturnType = typeof(IMDLMeshBuffer), Selector = "newBufferWithData:type:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CreateBuffer", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMDLMeshBufferZone), typeof(UIntPtr), typeof(MDLMeshBufferType) }, ReturnType = typeof(IMDLMeshBuffer), Selector = "newBufferFromZone:length:type:")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "CreateBuffer", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(IMDLMeshBufferZone), typeof(NSData), typeof(MDLMeshBufferType) }, ReturnType = typeof(IMDLMeshBuffer), Selector = "newBufferFromZone:data:type:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("tvos")]
public interface IMDLMeshBufferAllocator : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("newBufferFromZone:data:type:")]
[Preserve(Conditional = true)]
IMDLMeshBuffer? CreateBuffer(IMDLMeshBufferZone? zone, NSData! data, MDLMeshBufferType type);
}
}
Assembly | Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
Help | Documentation |
.NET | 6.0-ios6.0-maccatalyst6.0-macos6.0-tvos7.0-ios7.0-maccatalyst7.0-macos7.0-tvos8.0-ios8.0-maccatalyst8.0-macos8.0-tvos9.0-ios9.0-maccatalyst9.0-macos9.0-tvos |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|