var searchIndex = {}; searchIndex["gfx_device_gl"] = {"doc":"OpenGL implementation of a device, striving to support OpenGL 2.0 with at\nleast VAOs, but using newer extensions when available.","items":[[3,"CommandBuffer","gfx_device_gl","",null,null],[12,"buf","","",0,null],[12,"data","","",0,null],[3,"Factory","","GL resource factory.",null,null],[3,"Info","","OpenGL implementation information",null,null],[12,"platform_name","","The platform identifier",1,null],[12,"version","","The OpenGL API vesion number",1,null],[12,"shading_language","","The GLSL vesion number",1,null],[12,"extensions","","The extensions supported by the implementation",1,null],[3,"PlatformName","","A unique platform identifier that does not change between releases",null,null],[12,"vendor","","The company responsible for the OpenGL implementation",2,null],[12,"renderer","","The name of the renderer",2,null],[3,"Version","","A version number for a specific component of an OpenGL implementation",null,null],[12,"major","","",3,null],[12,"minor","","",3,null],[12,"revision","","",3,null],[12,"vendor_info","","",3,null],[3,"Fence","","",null,null],[3,"OutputMerger","","",null,null],[12,"draw_mask","","",4,null],[12,"stencil","","",4,null],[12,"depth","","",4,null],[12,"colors","","",4,null],[3,"PipelineState","","",null,null],[3,"ResourceView","","",null,null],[3,"FatSampler","","",null,null],[3,"Device","","An OpenGL device with GLSL shaders.",null,null],[4,"Resources","","",null,null],[4,"NewTexture","","",null,null],[13,"Surface","","",5,null],[13,"Texture","","",5,null],[4,"TargetView","","",null,null],[13,"Surface","","",6,null],[13,"Texture","","",6,null],[13,"TextureLayer","","",6,null],[4,"Error","","",null,null],[13,"NoError","","",7,null],[13,"InvalidEnum","","",7,null],[13,"InvalidValue","","",7,null],[13,"InvalidOperation","","",7,null],[13,"InvalidFramebufferOperation","","",7,null],[13,"OutOfMemory","","",7,null],[13,"UnknownError","","",7,null],[5,"create","","Create a new device with a factory.",null,null],[5,"create_main_targets_raw","","Create the proxy target views (RTV and DSV) for the attachments of the\nmain framebuffer. These have GL names equal to 0.\nNot supposed to be used by the users directly.",null,null],[11,"new","","",0,{"inputs":[{"name":"framebuffer"}],"output":{"name":"commandbuffer"}}],[11,"clone_empty","","",0,null],[11,"reset","","",0,null],[11,"bind_pipeline_state","","",0,null],[11,"bind_vertex_buffers","","",0,null],[11,"bind_constant_buffers","","",0,null],[11,"bind_global_constant","","",0,null],[11,"bind_resource_views","","",0,null],[11,"bind_unordered_views","","",0,null],[11,"bind_samplers","","",0,null],[11,"bind_pixel_targets","","",0,null],[11,"bind_index","","",0,null],[11,"set_scissor","","",0,null],[11,"set_ref_values","","",0,null],[11,"update_buffer","","",0,null],[11,"update_texture","","",0,null],[11,"generate_mipmap","","",0,null],[11,"clear_color","","",0,null],[11,"clear_depth_stencil","","",0,null],[11,"call_draw","","",0,null],[11,"call_draw_indexed","","",0,null],[11,"clone","","",8,null],[11,"new","","Create a new `Factory`.",8,{"inputs":[{"name":"rc"}],"output":{"name":"factory"}}],[11,"create_command_buffer","","",8,null],[11,"get_capabilities","","",8,null],[11,"create_buffer_raw","","",8,null],[11,"create_buffer_const_raw","","",8,null],[11,"create_shader","","",8,null],[11,"create_program","","",8,null],[11,"create_pipeline_state_raw","","",8,null],[11,"create_texture_raw","","",8,null],[11,"view_buffer_as_shader_resource_raw","","",8,null],[11,"view_buffer_as_unordered_access_raw","","",8,null],[11,"view_texture_as_shader_resource_raw","","",8,null],[11,"view_texture_as_unordered_access_raw","","",8,null],[11,"view_texture_as_render_target_raw","","",8,null],[11,"view_texture_as_depth_stencil_raw","","",8,null],[11,"create_sampler","","",8,null],[11,"map_buffer_raw","","",8,null],[11,"unmap_buffer_raw","","",8,null],[11,"map_buffer_readable","","",8,null],[11,"map_buffer_writable","","",8,null],[11,"map_buffer_rw","","",8,null],[11,"partial_cmp","","",3,null],[11,"lt","","",3,null],[11,"le","","",3,null],[11,"gt","","",3,null],[11,"ge","","",3,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"cmp","","",3,null],[11,"clone","","",3,null],[11,"new","","Create a new OpenGL version number",3,{"inputs":[{"name":"u32"},{"name":"u32"},{"name":"option"},{"name":"str"}],"output":{"name":"version"}}],[11,"parse","","According to the OpenGL specification, the version information is\nexpected to follow the following syntax:",3,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","","",3,null],[11,"fmt","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"clone","","",2,null],[11,"fmt","","",1,null],[11,"is_version_supported","","",1,null],[11,"is_extension_supported","","Returns `true` if the implementation supports the extension",1,null],[11,"is_version_or_extension_supported","","",1,null],[6,"Buffer","","",null,null],[6,"ArrayBuffer","","",null,null],[6,"Shader","","",null,null],[6,"Program","","",null,null],[6,"FrameBuffer","","",null,null],[6,"Surface","","",null,null],[6,"Texture","","",null,null],[6,"Sampler","","",null,null],[11,"fmt","","",9,null],[11,"hash","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"clone","","",9,null],[11,"eq","","",10,null],[11,"hash","","",10,null],[11,"fmt","","",10,null],[11,"clone","","",10,null],[11,"fmt","","",4,null],[11,"hash","","",4,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"clone","","",4,null],[11,"fmt","","",11,null],[11,"hash","","",11,null],[11,"eq","","",11,null],[11,"ne","","",11,null],[11,"clone","","",11,null],[11,"fmt","","",5,null],[11,"hash","","",5,null],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"clone","","",5,null],[11,"fmt","","",12,null],[11,"hash","","",12,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"clone","","",12,null],[11,"new_texture","","",12,{"inputs":[{"name":"texture"},{"name":"kind"}],"output":{"name":"resourceview"}}],[11,"new_buffer","","",12,{"inputs":[{"name":"texture"}],"output":{"name":"resourceview"}}],[11,"fmt","","",13,null],[11,"hash","","",13,null],[11,"eq","","",13,null],[11,"ne","","",13,null],[11,"clone","","",13,null],[11,"fmt","","",6,null],[11,"hash","","",6,null],[11,"eq","","",6,null],[11,"ne","","",6,null],[11,"clone","","",6,null],[11,"fmt","","",7,null],[11,"eq","","",7,null],[11,"clone","","",7,null],[11,"from_error_code","","",7,{"inputs":[{"name":"glenum"}],"output":{"name":"error"}}],[11,"with_gl","","Access the OpenGL directly via a closure. OpenGL types and enumerations\ncan be found in the `gl` crate.",14,null],[11,"get_info","","Get the OpenGL-specific driver information",14,null],[11,"get_capabilities","","",14,null],[11,"pin_submitted_resources","","",14,null],[11,"submit","","",14,null],[11,"cleanup","","",14,null],[11,"fenced_submit","","",14,null],[11,"fence_wait","","",14,null]],"paths":[[3,"CommandBuffer"],[3,"Info"],[3,"PlatformName"],[3,"Version"],[3,"OutputMerger"],[4,"NewTexture"],[4,"TargetView"],[4,"Error"],[3,"Factory"],[3,"Fence"],[4,"Resources"],[3,"PipelineState"],[3,"ResourceView"],[3,"FatSampler"],[3,"Device"]]}; initSearch(searchIndex);