[Bf-committers] Viewport FX Design

Brecht Van Lommel brechtvanlommel at pandora.be
Fri Jun 1 16:18:00 CEST 2012


On Fri, Jun 1, 2012 at 4:05 PM, Brecht Van Lommel
<brechtvanlommel at pandora.be> wrote:
> gpuImmediateBegin(GPU_TEX_COORD|GPU_VERTEX_COLOR)
> gpuBegin(..)
> ...
> gpuEnd(..)
> gpuImmediateEnd()

To be more specific, the call may be something like this:
gpuImmediateBegin(GPU_TEX_COORD_3F|GPU_COLOR_4UB);

For the more complex mesh drawing cases, specifying the attributes
could integrate with GPUVertexAttribs/DMVertexAttribs somehow.

Brecht.


More information about the Bf-committers mailing list