#NEWLINE# def __init__( self , wrap = GL_REPEAT , filter = GL_LINEAR , min_filter = None ) : #NEWLINE# #INDENT# if ( ( self . max_anisotropy == 0.0 ) and gl_info . have_extension ( 'GL_EXT_texture_filter_anisotropic' ) ) : #NEWLINE# #INDENT# v = c_float ( ) #NEWLINE# glGetFloatv ( GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT , byref ( v ) ) #NEWLINE# self . max_anisotropy = v . value #NEWLINE# #UNINDENT# if ( min_filter is None ) : #NEWLINE# #INDENT# min_filter = filter #NEWLINE# #UNINDENT# self . min_filter = min_filter #NEWLINE# self . mag_filter = filter #NEWLINE# self . min_lod = ( - 1000 ) #NEWLINE# self . max_lod = 1000 #NEWLINE# self . min_mipmap = 0 #NEWLINE# self . max_mipmap = 1000 #NEWLINE# self . wrap_s = wrap #NEWLINE# self . wrap_t = wrap #NEWLINE# self . wrap_r = wrap #NEWLINE# self . priority = 0 #NEWLINE# self . anisotropy = 1.0 #NEWLINE# self . border_colour = c_float4 ( 0.0 , 0.0 , 0.0 , 0.0 )