var searchIndex = {}; searchIndex["piston_window"] = {"doc":"The official Piston window back-end for the Piston game engine","items":[[4,"OpenGL","piston_window","",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],[4,"Error","","An enum to represent various possible run-time errors that may occur.",null,null],[13,"Texture","","An error happened when creating a gfx texture.",1,null],[13,"Freetype","","An error happened with the FreeType library.",1,null],[3,"Texture","","Represents a texture.",null,null],[3,"TextureSettings","","Texture creation parameters.",null,null],[4,"Flip","","Flip settings.",null,null],[13,"None","","Does not flip.",2,null],[13,"Vertical","","Flips image vertically.",2,null],[3,"PistonWindow","","Contains everything required for controlling window, graphics, event loop.",null,null],[12,"window","","The window.",3,null],[12,"stream","","GFX stream.",3,null],[12,"device","","GFX device.",3,null],[12,"g2d","","Gfx2d.",3,null],[12,"events","","The event loop.",3,null],[12,"event","","The event.",3,null],[12,"app","","Application structure.",3,null],[12,"factory","","The factory that was created along with the device.",3,null],[5,"empty_app","","Creates a new empty application.",null,{"inputs":[],"output":{"name":"rc"}}],[6,"GfxStream","","Actual gfx::Stream implementation carried by the window.",null,null],[6,"Glyphs","","Glyph cache.",null,null],[6,"G2d","","2D graphics.",null,null],[11,"build_from_window_settings","","",3,{"inputs":[{"name":"windowsettings"}],"output":{"name":"result"}}],[11,"clone","","",3,null],[11,"new","","Creates a new piston object.",3,{"inputs":[{"name":"rc"},{"name":"rc"}],"output":{"name":"self"}}],[11,"app","","Changes application structure.",3,null],[11,"app_by_value","","Changes application structure.",3,null],[11,"draw_2d","","Renders 2D graphics.",3,null],[11,"draw_3d","","Renders 3D graphics.",3,null],[11,"next","","",3,null],[11,"event_id","","",3,null],[11,"with_args","","",3,null],[11,"from_args","","",3,{"inputs":[{"name":"eventid"},{"name":"any"},{"name":"self"}],"output":{"name":"option"}}],[11,"should_close","","",3,null],[11,"set_should_close","","",3,null],[11,"size","","",3,null],[11,"draw_size","","",3,null],[11,"swap_buffers","","",3,null],[11,"poll_event","","",3,null],[11,"get_title","","",3,null],[11,"set_title","","",3,null],[11,"get_exit_on_esc","","",3,null],[11,"set_exit_on_esc","","",3,null],[11,"set_capture_cursor","","",3,null],[11,"set_ups","","",3,null],[11,"set_max_fps","","",3,null],[11,"set_swap_buffers","","",3,null],[11,"set_bench_mode","","",3,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],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"from","","",1,{"inputs":[{"name":"textureerror"}],"output":{"name":"error"}}],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"error"}}],[11,"handle","","Gets a handle to the Gfx texture.",4,null],[11,"empty","","Returns empty texture.",4,{"inputs":[{"name":"f"}],"output":{"name":"result"}}],[11,"from_path","","Creates a texture from path.",4,{"inputs":[{"name":"f"},{"name":"p"},{"name":"flip"},{"name":"texturesettings"}],"output":{"name":"result"}}],[11,"from_image","","Creates a texture from image.",4,{"inputs":[{"name":"f"},{"name":"imagebuffer"},{"name":"texturesettings"}],"output":{"name":"result"}}],[11,"from_memory_alpha","","Creates texture from memory alpha.",4,null],[11,"update","","Updates the texture with an image.",4,null],[11,"eq","","",2,null],[11,"clone","","",2,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[11,"create","","",4,null],[11,"update","","",4,null],[11,"get_size","","",4,null],[11,"new","","Create default settings.",5,{"inputs":[],"output":{"name":"texturesettings"}}],[11,"get_convert_gamma","","Gets whether to convert gamma, treated as sRGB color space.",5,null],[11,"set_convert_gamma","","Sets convert gamma.",5,null],[11,"convert_gamma","","Sets convert gamma.",5,null],[11,"get_compress","","Gets wheter compress on the GPU.",5,null],[11,"set_compress","","Sets compress.",5,null],[11,"compress","","Sets compress.",5,null],[11,"get_generate_mipmap","","Gets generate mipmap.",5,null],[11,"set_generate_mipmap","","Sets generate mipmap.",5,null],[11,"generate_mipmap","","Sets generate mipmap.",5,null]],"paths":[[4,"OpenGL"],[4,"Error"],[4,"Flip"],[3,"PistonWindow"],[3,"Texture"],[3,"TextureSettings"]]}; initSearch(searchIndex);