Searched refs:iSize (Results 1 – 3 of 3) sorted by relevance
82 const int32_t iSize ) in CompileShader() argument84 if( source == NULL || iSize <= 0 ) in CompileShader()88 …glShaderSource( *shader, 1, &source, &iSize ); //Not specifying 3rd parameter (size) could be trou… in CompileShader()123 int32_t iSize = data.size(); in CompileShader() local124 return shader::CompileShader( shader, type, source, iSize ); in CompileShader()
71 const int32_t iSize );
180 int32_t iSize = teapot_x_ * teapot_y_ * teapot_z_ in Init() local182 float* pBuffer = new float[iSize]; in Init()190 glBufferData( GL_UNIFORM_BUFFER, iSize * sizeof(float), pBuffer, GL_DYNAMIC_DRAW ); in Init()