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,"Factory","gfx_device_gl","GL resource factory.",null,null],[3,"Info","","OpenGL implementation information",null,null],[12,"platform_name","","The platform identifier",0,null],[12,"version","","The OpenGL API vesion number",0,null],[12,"shading_language","","The GLSL vesion number",0,null],[12,"extensions","","The extensions supported by the implementation",0,null],[3,"PlatformName","","A unique platform identifier that does not change between releases",null,null],[12,"vendor","","The company responsible for the OpenGL implementation",1,null],[12,"renderer","","The name of the renderer",1,null],[3,"Version","","A version number for a specific component of an OpenGL implementation",null,null],[12,"major","","",2,null],[12,"minor","","",2,null],[12,"revision","","",2,null],[12,"vendor_info","","",2,null],[3,"Fence","","",null,null],[3,"OutputMerger","","",null,null],[12,"draw_mask","","",3,null],[12,"stencil","","",3,null],[12,"depth","","",3,null],[12,"colors","","",3,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","","",4,null],[13,"Texture","","",4,null],[4,"TargetView","","",null,null],[13,"Surface","","",5,null],[13,"Texture","","",5,null],[13,"TextureLayer","","",5,null],[4,"Error","","",null,null],[13,"NoError","","",6,null],[13,"InvalidEnum","","",6,null],[13,"InvalidValue","","",6,null],[13,"InvalidOperation","","",6,null],[13,"InvalidFramebufferOperation","","",6,null],[13,"OutOfMemory","","",6,null],[13,"UnknownError","","",6,null],[5,"create","","Create a new device with a factory.",null,null],[5,"create_main_targets","","Create the proxy target views (RTV and DSV) for the attachments of the\nmain framebuffer. These have GL names equal to 0.",null,null],[0,"command","","",null,null],[3,"CommandBuffer","gfx_device_gl::command","",null,null],[12,"buf","","",7,null],[4,"Command","","Serialized device command.",null,null],[13,"BindProgram","","",8,null],[13,"BindConstantBuffers","","",8,null],[13,"BindResourceViews","","",8,null],[13,"BindUnorderedViews","","",8,null],[13,"BindSamplers","","",8,null],[13,"BindPixelTargets","","",8,null],[13,"BindAttribute","","",8,null],[13,"BindIndex","","",8,null],[13,"BindFrameBuffer","","",8,null],[13,"BindUniform","","",8,null],[13,"SetDrawColorBuffers","","",8,null],[13,"SetRasterizer","","",8,null],[13,"SetViewport","","",8,null],[13,"SetScissor","","",8,null],[13,"SetDepthState","","",8,null],[13,"SetStencilState","","",8,null],[13,"SetBlendState","","",8,null],[13,"SetBlendColor","","",8,null],[13,"UpdateBuffer","","",8,null],[13,"UpdateTexture","","",8,null],[13,"Clear","","",8,null],[13,"Draw","","",8,null],[13,"DrawIndexed","","",8,null],[13,"Blit","","",8,null],[6,"Access","","",null,null],[17,"COLOR_DEFAULT","","",null,null],[17,"RESET","","",null,null],[11,"fmt","","",8,null],[11,"clone","","",8,null],[11,"new","","",7,{"inputs":[{"name":"framebuffer"}],"output":{"name":"commandbuffer"}}],[11,"clone_empty","","",7,null],[11,"reset","","",7,null],[11,"bind_pipeline_state","","",7,null],[11,"bind_vertex_buffers","","",7,null],[11,"bind_constant_buffers","","",7,null],[11,"bind_global_constant","","",7,null],[11,"bind_resource_views","","",7,null],[11,"bind_unordered_views","","",7,null],[11,"bind_samplers","","",7,null],[11,"bind_pixel_targets","","",7,null],[11,"bind_index","","",7,null],[11,"set_scissor","","",7,null],[11,"set_ref_values","","",7,null],[11,"update_buffer","","",7,null],[11,"update_texture","","",7,null],[11,"clear","","",7,null],[11,"call_draw","","",7,null],[11,"call_draw_indexed","","",7,null],[11,"clone","gfx_device_gl","",9,null],[11,"new","","Create a new `Factory`.",9,{"inputs":[{"name":"rc"}],"output":{"name":"factory"}}],[11,"create_program_raw","","",9,null],[11,"get_capabilities","","",9,null],[11,"create_command_buffer","","",9,null],[11,"create_buffer_raw","","",9,null],[11,"create_buffer_static_raw","","",9,null],[11,"create_shader","","",9,null],[11,"create_program","","",9,null],[11,"create_pipeline_state_raw","","",9,null],[11,"create_texture_raw","","",9,null],[11,"view_buffer_as_shader_resource_raw","","",9,null],[11,"view_buffer_as_unordered_access_raw","","",9,null],[11,"view_texture_as_shader_resource_raw","","",9,null],[11,"view_texture_as_unordered_access_raw","","",9,null],[11,"view_texture_as_render_target_raw","","",9,null],[11,"view_texture_as_depth_stencil_raw","","",9,null],[11,"create_sampler","","",9,null],[11,"update_buffer_raw","","",9,null],[11,"update_texture_raw","","",9,null],[11,"generate_mipmap_raw","","",9,null],[11,"map_buffer_raw","","",9,null],[11,"unmap_buffer_raw","","",9,null],[11,"map_buffer_readable","","",9,null],[11,"map_buffer_writable","","",9,null],[11,"map_buffer_rw","","",9,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"clone","","",2,null],[11,"cmp","","",2,null],[11,"partial_cmp","","",2,null],[11,"new","","Create a new OpenGL version number",2,{"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:",2,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"fmt","","",2,null],[11,"fmt","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"clone","","",1,null],[11,"fmt","","",0,null],[11,"is_version_supported","","",0,null],[11,"is_extension_supported","","Returns `true` if the implementation supports the extension",0,null],[11,"is_version_or_extension_supported","","",0,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","","",10,null],[11,"hash","","",10,null],[11,"eq","","",10,null],[11,"ne","","",10,null],[11,"clone","","",10,null],[11,"eq","","",11,null],[11,"hash","","",11,null],[11,"fmt","","",11,null],[11,"clone","","",11,null],[11,"fmt","","",3,null],[11,"hash","","",3,null],[11,"eq","","",3,null],[11,"ne","","",3,null],[11,"clone","","",3,null],[11,"fmt","","",12,null],[11,"hash","","",12,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"clone","","",12,null],[11,"fmt","","",4,null],[11,"hash","","",4,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"clone","","",4,null],[11,"fmt","","",13,null],[11,"hash","","",13,null],[11,"eq","","",13,null],[11,"ne","","",13,null],[11,"clone","","",13,null],[11,"new_texture","","",13,{"inputs":[{"name":"texture"},{"name":"kind"}],"output":{"name":"resourceview"}}],[11,"new_buffer","","",13,{"inputs":[{"name":"texture"}],"output":{"name":"resourceview"}}],[11,"fmt","","",14,null],[11,"hash","","",14,null],[11,"eq","","",14,null],[11,"ne","","",14,null],[11,"clone","","",14,null],[11,"fmt","","",5,null],[11,"hash","","",5,null],[11,"eq","","",5,null],[11,"ne","","",5,null],[11,"clone","","",5,null],[11,"fmt","","",6,null],[11,"eq","","",6,null],[11,"clone","","",6,null],[11,"from_error_code","","",6,{"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.",15,null],[11,"get_info","","Get the OpenGL-specific driver information",15,null],[11,"get_capabilities","","",15,null],[11,"reset_state","","",15,null],[11,"submit","","",15,null],[11,"cleanup","","",15,null],[11,"fenced_submit","","",15,null],[11,"fence_wait","","",15,null]],"paths":[[3,"Info"],[3,"PlatformName"],[3,"Version"],[3,"OutputMerger"],[4,"NewTexture"],[4,"TargetView"],[4,"Error"],[3,"CommandBuffer"],[4,"Command"],[3,"Factory"],[3,"Fence"],[4,"Resources"],[3,"PipelineState"],[3,"ResourceView"],[3,"FatSampler"],[3,"Device"]]}; initSearch(searchIndex);