Ejemplo n.º 1
0
	//------------------------------------------------------------------------------------
	// 
	//------------------------------------------------------------------------------------
	bool ShaderGL::SetConstant(ShaderHandle Handler, const int* Values, u32 Count)
	{
		cgSetParameterValueir((CGparameter)Handler, Count, Values);
		checkForCgError("cgSetParameterValueic");
		return true;

	} // SetVarible
Ejemplo n.º 2
0
 //
 // SetIntArray
 //
 void CCgUniform::SetIntArray( 
                              GLsizei Dimension, GLsizei Count, 
                              const GLint *Array 
                              )
 {
     cgSetParameterValueir( m_Parameter, Dimension * Count, Array ); // ???
 }