textureOrder
The order in which textures are applied to rendered primitives.
Declaration
var textureOrder: [GLKEffectPropertyTexture]? { get set }Discussion
The value of this property should be an array whose contents are all GLKEffectPropertyTexture objects provided by the effect. The order of these objects in the array determines the order in which the textures are applied in the shader. For example, to reverse the order that the textures are applied to a scene, your application would use the following code:
baseEffect.textureOrder = [NSArray arrayWithObjects: baseEffect.texture2d1, baseEffect.texture2d0, nil];The default value is an array that executes the texture stages in increasing order, skipping any texture stages that are not enabled.