assmax
08-15-2006, 10:29 PM
hey,
i was wondering if the pixel format of the texture when it is generated using the "gen" func applies to the way it is stored on the gfx-card, or just as a flag.
the question is about caching textures of totaly different formats, like RGBA and LUMINANCE. whether or not they are translated to RGBA in the card's memory (= can i update a texture with a different format). i ask this because i try to avoid generating textures and instead update them.
moreover is it a gl spec or is it each driver's uniqe implementation?
thnx ;)
i was wondering if the pixel format of the texture when it is generated using the "gen" func applies to the way it is stored on the gfx-card, or just as a flag.
the question is about caching textures of totaly different formats, like RGBA and LUMINANCE. whether or not they are translated to RGBA in the card's memory (= can i update a texture with a different format). i ask this because i try to avoid generating textures and instead update them.
moreover is it a gl spec or is it each driver's uniqe implementation?
thnx ;)