Editar

Compartilhar via


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_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)
GetWeakShaderModifiers(ISCNShadable)
HandleBinding(ISCNShadable, String, SCNBindingHandler)
HandleUnbinding(ISCNShadable, String, SCNBindingHandler)
SetProgram(ISCNShadable, SCNProgram)
SetWeakShaderModifiers(ISCNShadable, NSDictionary)

Applies to