public class

StringShaderSource

extends Object
implements IShaderSource
package org.andengine.opengl.shader.source;

import org.andengine.opengl.util.GLState;

/**
 * (c) Zynga 2011
 *
 * @author Nicolas Gramlich <ngramlich@zynga.com>
 * @since 16:26:08 - 10.10.2011
 */
public class StringShaderSource implements IShaderSource {
	// ===========================================================
	// Constants
	// ===========================================================

	// ===========================================================
	// Fields
	// ===========================================================

	private final String mShaderSource;

	// ===========================================================
	// Constructors
	// ===========================================================
	
	public StringShaderSource(final String pShaderSource) {
		this.mShaderSource = pShaderSource;
	}

	// ===========================================================
	// Getter & Setter
	// ===========================================================

	// ===========================================================
	// Methods for/from SuperClass/Interfaces
	// ===========================================================
	
	@Override
	public String getShaderSource(final GLState pGLState) {
		return this.mShaderSource;
	}

	// ===========================================================
	// Methods
	// ===========================================================

	// ===========================================================
	// Inner and Anonymous Classes
	// ===========================================================
}