pub type SCNBindingBlock = *mut Block<dyn Fn(c_uint, c_uint, *mut SCNNode, NonNull<SCNRenderer>)>;Available on crate features
SCNNode and SCNRenderer and SCNShadable and block2 only.Expand description
Signature for the block to execute to bind or unbind a uniform of an OpenGL or OpenGLES based program.
Parameter programID: The id of the program object to bind/unbind values for.
Parameter location: The location of the symbol within the program object to bind/unbind values for.
Parameter renderedNode: The node currently being rendered.
Parameter renderer: The renderer that is currently rendering the scene.
See also Appleās documentation