#NEWLINE# def bind_to( self , target ) : #NEWLINE# #INDENT# ' Binds all inputs of this UBO to the given target, which may be\n        either a RenderTarget or a NodePath ' #NEWLINE# for ( pta_name , pta_handle ) in iteritems ( self . ptas ) : #NEWLINE# #INDENT# if self . use_ubo : #NEWLINE# #INDENT# target . set_shader_input ( ( ( self . name + '_UBO.' ) + pta_name ) , pta_handle ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# target . set_shader_input ( ( ( pta_handle . name + '.' ) + pta_name ) , pta_handle )