glGetSeparableFilter

get separable convolution filter kernel images

Signature

glGetSeparableFilter( GLenum ( target ) , GLenum ( format ) , GLenum ( type ) , GLvoid * ( row ) , GLvoid * ( column ) , GLvoid * ( span ) )-> void
glGetSeparableFilter( target , format , type , row , column , span )
Retrieve 2 1D convolution parameter "kernels" as pixel data

Parameters

VariablesDescription
target
The separable filter to be retrieved. Must be GL_SEPARABLE_2D .
format
Format of the output images. Must be one of GL_RED , GL_GREEN , GL_BLUE , GL_ALPHA , GL_RGB , GL_BGR GL_RGBA , GL_BGRA , GL_LUMINANCE , or GL_LUMINANCE_ALPHA .
type
Data type of components in the output images. Symbolic constants GL_UNSIGNED_BYTE , GL_BYTE , GL_BITMAP , GL_UNSIGNED_SHORT , GL_SHORT , GL_UNSIGNED_INT , GL_INT , GL_FLOAT , GL_UNSIGNED_BYTE_3_3_2 , GL_UNSIGNED_BYTE_2_3_3_REV , GL_UNSIGNED_SHORT_5_6_5 , GL_UNSIGNED_SHORT_5_6_5_REV , GL_UNSIGNED_SHORT_4_4_4_4 , GL_UNSIGNED_SHORT_4_4_4_4_REV , GL_UNSIGNED_SHORT_5_5_5_1 , GL_UNSIGNED_SHORT_1_5_5_5_REV , GL_UNSIGNED_INT_8_8_8_8 , GL_UNSIGNED_INT_8_8_8_8_REV , GL_UNSIGNED_INT_10_10_10_2 , and GL_UNSIGNED_INT_2_10_10_10_REV are accepted.
row
Pointer to storage for the row filter image.
column
Pointer to storage for the column filter image.
span
Pointer to storage for the span filter image (currently unused).