var searchIndex = {}; searchIndex["glium_graphics"] = {"doc":"A Piston 2D graphics back-end using Glium.","items":[[4,"OpenGL","glium_graphics","",null,null],[13,"V2_0","","",0,null],[13,"V2_1","","",0,null],[13,"V3_0","","",0,null],[13,"V3_1","","",0,null],[13,"V3_2","","",0,null],[13,"V3_3","","",0,null],[13,"V4_0","","",0,null],[13,"V4_1","","",0,null],[13,"V4_2","","",0,null],[13,"V4_3","","",0,null],[13,"V4_4","","",0,null],[13,"V4_5","","",0,null],[3,"GliumWindow","","A window struct for glium.",null,null],[12,"window","","Window.",1,null],[12,"context","","Glium context.",1,null],[12,"events","","Event loop state.",1,null],[3,"GlyphCache","","Caches characters for a font.",null,null],[3,"Glium2d","","The resources needed for rendering 2D.",null,null],[3,"GliumGraphics","","Graphics back-end.",null,null],[3,"Texture","","Wrapper for 2D texture.",null,null],[12,"0","","",2,null],[4,"Flip","","Flip settings.",null,null],[13,"None","","Does not flip.",3,null],[13,"Vertical","","Flips image vertically.",3,null],[11,"new","","Constructor for a GlyphCache.",4,{"inputs":[{"name":"p"},{"name":"f"}],"output":{"name":"result"}}],[11,"character","","",4,null],[11,"new","","Creates a new `Glium2d`.",5,{"inputs":[{"name":"opengl"},{"name":"w"}],"output":{"name":"glium2d"}}],[11,"draw","","Renders 2D graphics.",5,null],[11,"new","","Creates a new graphics object.",6,{"inputs":[{"name":"glium2d"},{"name":"s"}],"output":{"name":"gliumgraphics"}}],[11,"clear_color","","Clears background with a color.",6,null],[11,"clear_stencil","","",6,null],[11,"tri_list","","Renders list of 2d triangles.",6,null],[11,"tri_list_uv","","Renders list of 2d triangles.",6,null],[11,"deref","","",1,null],[11,"clone","","",1,null],[11,"build_from_window_settings","","",1,{"inputs":[{"name":"windowsettings"}],"output":{"name":"result"}}],[11,"new","","Creates new GliumWindow.",1,{"inputs":[{"name":"rc"}],"output":{"name":"result"}}],[11,"draw","","Returns new frame.",1,null],[11,"next","","Returns next event.",1,null],[11,"get_context","","",1,null],[11,"should_close","","",1,null],[11,"set_should_close","","",1,null],[11,"size","","",1,null],[11,"draw_size","","",1,null],[11,"swap_buffers","","",1,null],[11,"poll_event","","",1,null],[11,"get_title","","",1,null],[11,"set_title","","",1,null],[11,"get_exit_on_esc","","",1,null],[11,"set_exit_on_esc","","",1,null],[11,"set_capture_cursor","","",1,null],[11,"show","","",1,null],[11,"hide","","",1,null],[11,"get_position","","",1,null],[11,"set_position","","",1,null],[11,"set_ups","","",1,null],[11,"set_max_fps","","",1,null],[11,"set_swap_buffers","","",1,null],[11,"set_bench_mode","","",1,null],[11,"eq","","",3,null],[11,"clone","","",3,null],[11,"new","","Creates a new `Texture`.",2,{"inputs":[{"name":"srgbtexture2d"}],"output":{"name":"texture"}}],[11,"empty","","Returns empty texture.",2,{"inputs":[{"name":"f"}],"output":{"name":"result"}}],[11,"from_path","","Creates a texture from path.",2,{"inputs":[{"name":"f"},{"name":"p"},{"name":"flip"},{"name":"texturesettings"}],"output":{"name":"result"}}],[11,"from_image","","Creates a texture from image.",2,{"inputs":[{"name":"f"},{"name":"rgbaimage"},{"name":"texturesettings"}],"output":{"name":"result"}}],[11,"from_memory_alpha","","Creates texture from memory alpha.",2,null],[11,"update","","Updates texture with an image.",2,null],[11,"get_size","","",2,null],[11,"create","","",2,null],[11,"update","","",2,null],[11,"get_major_minor","","Gets the minor version of OpenGL.",0,null],[11,"to_glsl","","Gets GLSL version associated with OpenGL.",0,null],[11,"cmp","","",0,null],[11,"partial_cmp","","",0,null],[11,"eq","","",0,null],[11,"clone","","",0,null]],"paths":[[4,"OpenGL"],[3,"GliumWindow"],[3,"Texture"],[4,"Flip"],[3,"GlyphCache"],[3,"Glium2d"],[3,"GliumGraphics"]]}; initSearch(searchIndex);