GLAF
OpenGL Advanced Functionality

Back to documentation index


Convolution Border Modes availability test

GLboolean glaf_IsConvolutionBorderModesSupported(void)

This function returns GL_TRUE if the feature is supported or GL_FALSE otherwise. Calling the functions of an unsupported feature or using its enumerants may crash the application, or generate OpenGL errors, or even undefined behaviour, so you should never use a feature without testing its availability first.
 

Convolution Border Modes support rules

  • If we're running in OpenGL 1.2 or higher, and GL_ARB_imaging is supported, the ARB imaging implementation is used.
  • Otherwise, if GL_HP_convolution_border_modes is supported, this extension is used.
  • Otherwise, the feature is unsupported.


Convolution Border Modes enumerants

(Add either a 'GLAF_' or 'GL_' prefix before each enumerant. GLAF enumerants are always defined, while GL ones depend on the version of your include files).

CONSTANT_BORDER 
REPLICATE_BORDER 
CONVOLUTION_BORDER_COLOR 
 

Convolution Border Modes functions

None.
 

Convolution Border Modes definitions in 'gl2glaf.h' (optional)

None.
 

Convolution Border Modes side effects

None.

Back to documentation index
 

Copyright (C) 2001 César Blecua Udías