dmFXIsGLExtensionSupported(3dm) dmFXIsGLExtensionSupported(3dm)
dmFXIsGLExtensionSupported - Find out if a GL Extension is supported
#include <dmedia/fx_buffer.h>
DMboolean dmFXIsGLExtensionSupported [Toc] [Back]
( PRX_ScanlineBuffer buffer,
const char *extension )
buffer The destination scanline buffer to query.
extension The GL extension to look for.
dmFXIsGLExtensionSupported checks to see if the given extension is
supported by the underlying GL context of the given scanline buffer.
It is legal to call dmFXIsGLExtensionSupported with a scanline buffer
which does not have a GL rendering context. In this case
dmFXIsGLExtensionSupported will return DM_FALSE.
DM_FALSE is returned if the given GL extension is not
supported by the given scanline buffer, or if the scanline buffer
does not have a GL rendering context.
DM_TRUE is returned if the given extension is supported
by the scanline buffer.
glGetString(3G), dmFXDrawPixels(3dm), dmFXTexImage2D(3dm),
dmFXAllocateImageBuffers(3dm)
PPPPaaaaggggeeee 1111 [ Back ]
|