Axiom.RenderSystems.OpenGL.ATI.PixelShader.PixelShader C# (CSharp) Method

PixelShader() public method

public PixelShader ( ) : System
return System
		public PixelShader()
		{
			symbolTypeLib = PS_1_4_SymbolTypeLib;
			symbolTypeLibCount = PS_1_4_SymbolTypeLib.Length;

			rootRulePath = PS_1_x_RulePath;
			rulePathLibCount = PS_1_x_RulePath.Length;

			// tell compiler what the symbol id is for a numeric value
			valueID = Symbol.VALUE;

			// only need to initialize the rule database once
			if ( !libInitialized )
			{
				InitSymbolTypeLib();
				libInitialized = true;
			}

			// set initial context to recognize PS base instructions
			activeContexts = (uint)ContextKeyPattern.PS_BASE;
		}