Ejemplo n.º 1
0
void CCgUniform4i::update(const void* data, const SMaterial& material) const
{
	s32* Data = (s32*)data;
	cgSetParameter4i(Parameter, *Data, *(Data+1), *(Data+2), *(Data+3));
}
Ejemplo n.º 2
0
 //
 // SetInt4
 //
 void CCgUniform::SetInt4( 
                          GLint x, GLint y, GLint z, GLint w 
                          )
 {
     cgSetParameter4i( m_Parameter, x, y, z, w );
 }