Home › Forums › PowerVR Insider Graphics › How much memory does GL_ALPHA use?
This topic contains 2 replies, has 2 voices, and was last updated by lefty 7 years, 7 months ago.
Just a quicky question 😉
How much texture memory per pixel does it use when you use GL_ALPHA:
glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, Width, Height, 0, GL_ALPHA, GL_UNSIGNED_BYTE, pData);
Thanks for any info.
On pretty much any implementation (certainly on MBX and SGX) it should be one byte per pixel, though most hardware has certain stride requirements affecting small textures, e.g. width may be rounded up to a multiple of 16 or so.
Thanks for the info 😉