text: //
  //  CCEffectColorChannelOffset.h
  //  cocos2d-ios
  //
  //  Created by Thayer J Andrews on 8/19/14.
  //
  //
  
  #import "CCEffect.h"
  
  /**
   * CCEffectColorChannelOffset shifts the color channels of the sprite or effect node it is attached to.
   */
  
  @interface CCEffectColorChannelOffset : CCEffect
  
  /// -----------------------------------------------------------------------
  /// @name Accessing Effect Attributes
  /// -----------------------------------------------------------------------
  
  /** The offset, in points, of the red color channel. 
   */
  @property (nonatomic, assign) GLKVector2 redOffset;
  
  /** The offset, in points, of the green color channel.
   */
  @property (nonatomic, assign) GLKVector2 greenOffset;
  
  /** The offset, in points, of the blue color channel.
   */
  @property (nonatomic, assign) GLKVector2 blueOffset;
  
  
  /// -----------------------------------------------------------------------
  /// @name Initializing a CCEffectColorChannelOffset object
  /// -----------------------------------------------------------------------
  
  /**
   *  Initializes a CCEffectColorChannelOffset object with zero length color channel offsets.
   *
   *  @return The CCEffectColorChannelOffset object.
   */
  -(id)init;
  
  /**
   *  Initializes a CCEffectColorChannelOffset object with the supplied color channel offsets.
   *
   *  @param redOffset The red color channel ofset.
   *  @param greenOffset The green color channel ofset.
   *  @param blueOffset The blue color channel ofset.
   *
   *  @return The CCEffectColorChannelOffset object.
   */
  -(id)initWithRedOffset:(GLKVector2)redOffset greenOffset:(GLKVector2)greenOffset blueOffset:(GLKVector2)blueOffset;
  
  
  /// -----------------------------------------------------------------------
  /// @name Initializing a CCEffectColorChannelOffset object
  /// -----------------------------------------------------------------------
  
  /**
   *  Creates a CCEffectColorChannelOffset object with the supplied color channel offsets.
   *
   *  @param redOffset The red color channel ofset.
   *  @param greenOffset The green color channel ofset.
   *  @param blueOffset The blue color channel ofset.
   *
   *  @return The CCEffectColorChannelOffset object.
   */
  +(id)effectWithRedOffset:(GLKVector2)redOffset greenOffset:(GLKVector2)greenOffset blueOffset:(GLKVector2)blueOffset;
  
  @end
  