Searched refs:mipmap_width (Results 1 – 1 of 1) sorted by relevance
9621 const unsigned int mipmap_width = m_texture_width >> n_mipmap; in initTextures() local9622 …unsigned char* data = new unsigned char[mipmap_width * mipmap_height * m_texture_n_components]; in initTextures()9634 unsigned char* row_data_ptr = data + mipmap_width * y * pixel_size; in initTextures()9636 for (unsigned int x = 0; x < mipmap_width; ++x) in initTextures()9638 const float lerp_factor = float(x) / float(mipmap_width); in initTextures()9653 mipmap_width, mipmap_height, GL_RGBA, GL_UNSIGNED_BYTE, data); in initTextures()10054 const unsigned int mipmap_width = m_texture_width >> n_mipmap; in initTextures() local10056 for (unsigned int n_texel = 0; n_texel < mipmap_height * mipmap_width; ++n_texel) in initTextures()