SCNShadable_Extensions SCNShadable_Extensions Class

Definition

Extension methods to the ISCNShadable interface to support all the methods from the SCNShadable protocol.

public static class SCNShadable_Extensions
type SCNShadable_Extensions = class
Inheritance
SCNShadable_ExtensionsSCNShadable_Extensions

Remarks

The extension methods for ISCNShadable allow developers to treat instances of the interface as having all the optional methods of the original SCNShadable protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetProgram(ISCNShadable) GetProgram(ISCNShadable)
GetWeakShaderModifiers(ISCNShadable) GetWeakShaderModifiers(ISCNShadable)
HandleBinding(ISCNShadable, String, SCNBindingHandler) HandleBinding(ISCNShadable, String, SCNBindingHandler)
HandleUnbinding(ISCNShadable, String, SCNBindingHandler) HandleUnbinding(ISCNShadable, String, SCNBindingHandler)
SetProgram(ISCNShadable, SCNProgram) SetProgram(ISCNShadable, SCNProgram)
SetWeakShaderModifiers(ISCNShadable, NSDictionary) SetWeakShaderModifiers(ISCNShadable, NSDictionary)

Applies to