Re: [AD] depth buffer API |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sun, 13 May 2012 08:07:51 -0600
Trent Gamblin <trent@xxxxxxxxxx> wrote:
> On 2012-05-13, at 8:04 AM, Elias Pschernig wrote:
> > I updated it to this now:
> >
> > http://wiki.allegro.cc/index.php?title=RenderState
> >
> > So basically, still only one function called
> >
> > al_set_render_state
> >
> > but with no negative flags and more proper (OpenGL-like) naming. It
> > also supports separate color channels again and also alpha testing.
>
> Just a notice in case you forgot, there's an ALLEGRO_ALPHA_TEST
> bitmap flag. Not sure how you want to handle that.
>
Oh, interesting. Do you know what that flag does? The documentation
seems to suggest it's for memory bitmaps only.
Anyway, maybe we should call the new ones ALLEGRO_DEPTH_CHECK and
ALLEGRO_ALPHA_CHECK after all then? Or maybe another prefix, like
ALLEGRO_RENDER_DEPTH_TEST
ALLEGRO_RENDER_ALPHA_TEST