ISCNProgramDelegate
BindValue(SCNProgram, String, UInt32, UInt32, SCNRenderer)
HandleError(SCNProgram, NSError)
IsProgramOpaque(SCNProgram)
UnbindValue(SCNProgram, String, UInt32, UInt32, SCNRenderer)
BindValue(ISCNProgramDelegate, SCNProgram, String, UInt32, UInt32, SCNRenderer)
HandleError(ISCNProgramDelegate, SCNProgram, NSError)
IsProgramOpaque(ISCNProgramDelegate, SCNProgram)
UnbindValue(ISCNProgramDelegate, SCNProgram, String, UInt32, UInt32, SCNRenderer)
net10.0-macos14.2
namespace SceneKit
{
[Protocol(Name = "SCNProgramDelegate", WrapperType = typeof(SCNProgramDelegateWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "UnbindValue", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(SCNProgram), typeof(string), typeof(uint), typeof(uint), typeof(SCNRenderer) }, Selector = "program:unbindValueForSymbol:atLocation:programID:renderer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "HandleError", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(SCNProgram), typeof(NSError) }, Selector = "program:handleError:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "BindValue", ParameterByRef = new[] { false, false, false, false, false }, ParameterType = new[] { typeof(SCNProgram), typeof(string), typeof(uint), typeof(uint), typeof(SCNRenderer) }, ReturnType = typeof(bool), Selector = "program:bindValueForSymbol:atLocation:programID:renderer:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "IsProgramOpaque", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(SCNProgram) }, ReturnType = typeof(bool), Selector = "programIsOpaque:")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("tvos")]
public interface ISCNProgramDelegate : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("programIsOpaque:")]
[ObsoletedOSPlatform("macos10.10", "Use the SCNProgram's Opaque property instead.")]
[OptionalMember]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("maccatalyst")]
virtual bool IsProgramOpaque(SCNProgram! program);
}
}
| .NET | 10.0 |
|---|---|
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
Information specific to net10.0-macos14.2 | |
| Assembly | Microsoft.macOS , Version=15.5.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Preview | The API is contained in a preview framework. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API