var searchIndex = {}; searchIndex["gfx"] = {"doc":"An efficient, low-level, bindless graphics API for Rust. See [the\nblog](http://gfx-rs.github.io/) for explanations and annotated examples.","items":[[0,"preset","gfx","State presets",null,null],[0,"blend","gfx::preset","Blending preset modes.",null,null],[17,"ADD","gfx::preset::blend","When combining two fragments, add their values together, saturating at 1.0",null,null],[17,"MULTIPLY","","When combining two fragments, multiply their values together.",null,null],[17,"ALPHA","","When combining two fragments, add the value of the source times its alpha channel with the\nvalue of the destination multiplied by the inverse of the source alpha channel. Has the\nusual transparency effect: mixes the two colors using a fraction of each one specified by\nthe alpha of the source.",null,null],[17,"INVERT","","When combining two fragments, subtract the destination color from a constant color\nusing the source color as weight. Has an invert effect with the constant color\nas base and source color controlling displacement from the base color.\nA white source color and a white value results in plain invert.\nThe output alpha is same as destination alpha.",null,null],[0,"depth","gfx::preset","Depth preset modes.",null,null],[17,"LESS_EQUAL_TEST","gfx::preset::depth",""<=" comparison with read-only depth",null,null],[17,"LESS_EQUAL_WRITE","",""<=" comparison with writable depth",null,null],[0,"state","gfx","Fixed-function hardware state.",null,null],[4,"FrontFace","gfx::state","The front face winding order of a set of vertices.",null,null],[13,"Clockwise","","Clockwise winding order.",0,null],[13,"CounterClockwise","","Counter-clockwise winding order.",0,null],[6,"LineWidth","","",null,null],[6,"OffsetSlope","","",null,null],[6,"OffsetUnits","","",null,null],[3,"Offset","","How to offset vertices in screen space, if at all.",null,null],[12,"0","","",1,null],[12,"1","","",1,null],[4,"CullFace","","Which face, if any, to cull.",null,null],[13,"Nothing","","",2,null],[13,"Front","","",2,null],[13,"Back","","",2,null],[4,"RasterMethod","","How to rasterize a primitive.",null,null],[13,"Point","","Rasterize as a point.",3,null],[13,"Line","","Rasterize as a line with the given width.",3,null],[13,"Fill","","Rasterize as a face.",3,null],[3,"MultiSample","","Multi-sampling rasterization mode",null,null],[3,"Rasterizer","","Primitive rasterization state. Note that GL allows different raster\nmethod to be used for front and back, while this abstraction does not.",null,null],[12,"front_face","","Which vertex winding is considered to be the front face for culling.",4,null],[12,"cull_face","","Which face should be culled.",4,null],[12,"method","","How to rasterize this primitive.",4,null],[12,"offset","","Any polygon offset to apply.",4,null],[12,"samples","","Multi-sampling mode.",4,null],[4,"Comparison","","A pixel-wise comparison function.",null,null],[13,"Never","","`false`",5,null],[13,"Less","","`x < y`",5,null],[13,"LessEqual","","`x <= y`",5,null],[13,"Equal","","`x == y`",5,null],[13,"GreaterEqual","","`x >= y`",5,null],[13,"Greater","","`x > y`",5,null],[13,"NotEqual","","`x != y`",5,null],[13,"Always","","`true`",5,null],[4,"StencilOp","","Stencil mask operation.",null,null],[13,"Keep","","Keep the current value in the stencil buffer (no change).",6,null],[13,"Zero","","Set the value in the stencil buffer to zero.",6,null],[13,"Replace","","Set the stencil buffer value to `value` from `StencilSide`",6,null],[13,"IncrementClamp","","Increment the stencil buffer value, clamping to its maximum value.",6,null],[13,"IncrementWrap","","Increment the stencil buffer value, wrapping around to 0 on overflow.",6,null],[13,"DecrementClamp","","Decrement the stencil buffer value, clamping to its minimum value.",6,null],[13,"DecrementWrap","","Decrement the stencil buffer value, wrapping around to the maximum value on overflow.",6,null],[13,"Invert","","Bitwise invert the current value in the stencil buffer.",6,null],[3,"StencilSide","","Complete stencil state for a given side of a face.",null,null],[12,"fun","","Comparison function to use to determine if the stencil test passes.",7,null],[12,"mask_read","","A mask that is ANDd with both the stencil buffer value and the reference value when they\nare read before doing the stencil test.",7,null],[12,"mask_write","","A mask that is ANDd with the stencil value before writing to the stencil buffer.",7,null],[12,"op_fail","","What operation to do if the stencil test fails.",7,null],[12,"op_depth_fail","","What operation to do if the stenil test passes but the depth test fails.",7,null],[12,"op_pass","","What operation to do if both the depth and stencil test pass.",7,null],[3,"Stencil","","Complete stencil state, specifying how to handle the front and back side of a face.",null,null],[12,"front","","",8,null],[12,"back","","",8,null],[3,"Depth","","Depth test state.",null,null],[12,"fun","","Comparison function to use.",9,null],[12,"write","","Specify whether to write to the depth buffer or not.",9,null],[4,"Equation","","",null,null],[13,"Add","","Adds source and destination.\nSource and destination are multiplied by blending parameters before addition.",10,null],[13,"Sub","","Subtracts destination from source.\nSource and destination are multiplied by blending parameters before subtraction.",10,null],[13,"RevSub","","Subtracts source from destination.\nSource and destination are multiplied by blending parameters before subtraction.",10,null],[13,"Min","","Component-wise minimum value of source and destination.\nBlending parameters are ignored.",10,null],[13,"Max","","Component-wise maximum value of source and destination.\nBlending parameters are ignored.",10,null],[4,"BlendValue","","",null,null],[13,"SourceColor","","",11,null],[13,"SourceAlpha","","",11,null],[13,"DestColor","","",11,null],[13,"DestAlpha","","",11,null],[13,"ConstColor","","",11,null],[13,"ConstAlpha","","",11,null],[4,"Factor","","",null,null],[13,"Zero","","",12,null],[13,"One","","",12,null],[13,"SourceAlphaSaturated","","",12,null],[13,"ZeroPlus","","",12,null],[13,"OneMinus","","",12,null],[3,"BlendChannel","","",null,null],[12,"equation","","",13,null],[12,"source","","",13,null],[12,"destination","","",13,null],[3,"Blend","","",null,null],[12,"color","","",14,null],[12,"alpha","","",14,null],[3,"ColorMask","","",null,null],[17,"RED","","",null,null],[17,"GREEN","","",null,null],[17,"BLUE","","",null,null],[17,"ALPHA","","",null,null],[17,"MASK_ALL","","",null,null],[17,"MASK_NONE","","",null,null],[3,"Color","","The state of an active color render target",null,null],[12,"mask","","Color mask to use.",15,null],[12,"blend","","Optional blending.",15,null],[3,"RefValues","","The complete set of the rasterizer reference values.\nSwitching these doesn't roll the hardware context.",null,null],[12,"stencil","","Stencil front and back values.",16,null],[12,"blend","","Constant blend color.",16,null],[8,"Device","gfx","A `Device` is responsible for submitting `CommandBuffer`s to the GPU.",null,null],[16,"Resources","","Associated `Resources` type.",17,null],[16,"CommandBuffer","","Associated `CommandBuffer` type. Every `Device` type can only work with one `CommandBuffer`\ntype.",17,null],[10,"get_capabilities","","Returns the capabilities of this `Ðevice`.",17,null],[10,"pin_submitted_resources","","Pin everything from this handle manager to live for a frame.",17,null],[10,"submit","","Submits a `CommandBuffer` to the GPU for execution.",17,null],[10,"cleanup","","Cleanup unused resources. This should be called between frames.",17,null],[8,"Resources","","Different types of a specific API.",null,null],[16,"Buffer","","",18,null],[16,"Shader","","",18,null],[16,"Program","","",18,null],[16,"PipelineStateObject","","",18,null],[16,"Texture","","",18,null],[16,"ShaderResourceView","","",18,null],[16,"UnorderedAccessView","","",18,null],[16,"RenderTargetView","","",18,null],[16,"DepthStencilView","","",18,null],[16,"Sampler","","",18,null],[16,"Fence","","",18,null],[4,"Primitive","","Describes what geometric primitives are created from vertex data.",null,null],[13,"PointList","","Each vertex represents a single point.",19,null],[13,"LineList","","Each pair of vertices represent a single line segment. For example, with `[a, b, c, d,\ne]`, `a` and `b` form a line, `c` and `d` form a line, and `e` is discarded.",19,null],[13,"LineStrip","","Every two consecutive vertices represent a single line segment. Visually forms a "path" of\nlines, as they are all connected. For example, with `[a, b, c]`, `a` and `b` form a line\nline, and `b` and `c` form a line.",19,null],[13,"TriangleList","","Each triplet of vertices represent a single triangle. For example, with `[a, b, c, d, e]`,\n`a`, `b`, and `c` form a triangle, `d` and `e` are discarded.",19,null],[13,"TriangleStrip","","Every three consecutive vertices represent a single triangle. For example, with `[a, b, c,\nd]`, `a`, `b`, and `c` form a triangle, and `b`, `c`, and `d` form a triangle.",19,null],[6,"VertexCount","","",null,null],[6,"InstanceCount","","",null,null],[4,"ShaderSet","","A complete set of shaders to link a program.",null,null],[13,"Simple","","Simple program: Vs-Ps",20,null],[13,"Geometry","","Geometry shader programs: Vs-Gs-Ps",20,null],[3,"VertexShader","","",null,null],[3,"HullShader","","",null,null],[3,"DomainShader","","",null,null],[3,"GeometryShader","","",null,null],[3,"PixelShader","","",null,null],[0,"format","","Universal format specification.\nApplicable to textures, views, and vertex buffers.",null,null],[4,"ChannelType","gfx::format","Type of a surface channel. This is how we interpret the\nstorage allocated with `SurfaceType`.",null,null],[13,"Int","","",21,null],[13,"Uint","","",21,null],[13,"Inorm","","",21,null],[13,"Unorm","","",21,null],[13,"Float","","",21,null],[13,"Srgb","","",21,null],[4,"Int","","",null,null],[4,"Uint","","",null,null],[4,"Inorm","","",null,null],[4,"Unorm","","",null,null],[4,"Float","","",null,null],[4,"Srgb","","",null,null],[4,"SurfaceType","","Type of the allocated texture surface. It is supposed to only\ncarry information about the number of bits per each channel.\nThe actual types are up to the views to decide and interpret.\nThe actual components are up to the swizzle to define.",null,null],[13,"R4_G4","","",22,null],[13,"R4_G4_B4_A4","","",22,null],[13,"R5_G5_B5_A1","","",22,null],[13,"R5_G6_B5","","",22,null],[13,"R8","","",22,null],[13,"R8_G8","","",22,null],[13,"R8_G8_B8_A8","","",22,null],[13,"R10_G10_B10_A2","","",22,null],[13,"R11_G11_B10","","",22,null],[13,"R16","","",22,null],[13,"R16_G16","","",22,null],[13,"R16_G16_B16","","",22,null],[13,"R16_G16_B16_A16","","",22,null],[13,"R32","","",22,null],[13,"R32_G32","","",22,null],[13,"R32_G32_B32","","",22,null],[13,"R32_G32_B32_A32","","",22,null],[13,"D16","","",22,null],[13,"D24","","",22,null],[13,"D24_S8","","",22,null],[13,"D32","","",22,null],[4,"R4_G4","","",null,null],[4,"R4_G4_B4_A4","","",null,null],[4,"R5_G5_B5_A1","","",null,null],[4,"R5_G6_B5","","",null,null],[4,"R8","","",null,null],[4,"R8_G8","","",null,null],[4,"R8_G8_B8_A8","","",null,null],[4,"R10_G10_B10_A2","","",null,null],[4,"R11_G11_B10","","",null,null],[4,"R16","","",null,null],[4,"R16_G16","","",null,null],[4,"R16_G16_B16","","",null,null],[4,"R16_G16_B16_A16","","",null,null],[4,"R32","","",null,null],[4,"R32_G32","","",null,null],[4,"R32_G32_B32","","",null,null],[4,"R32_G32_B32_A32","","",null,null],[4,"D16","","",null,null],[4,"D24","","",null,null],[4,"D24_S8","","",null,null],[4,"D32","","",null,null],[4,"ChannelSource","","Source channel in a swizzle configuration. Some may redirect onto\ndifferent physical channels, some may be hardcoded to 0 or 1.",null,null],[13,"Zero","","",23,null],[13,"One","","",23,null],[13,"X","","",23,null],[13,"Y","","",23,null],[13,"Z","","",23,null],[13,"W","","",23,null],[3,"Swizzle","","Channel swizzle configuration for the resource views.\nNote: It's not currently mirrored at compile-time,\nthus providing less safety and convenience.",null,null],[12,"0","","",24,null],[12,"1","","",24,null],[12,"2","","",24,null],[12,"3","","",24,null],[3,"Format","","Complete run-time surface format.",null,null],[12,"0","","",25,null],[12,"1","","",25,null],[8,"SurfaceTyped","","Compile-time surface type trait.",null,null],[16,"DataType","","The corresponding data type to be passed from CPU.",26,null],[10,"get_surface_type","","Return the run-time value of the type.",26,{"inputs":[],"output":{"name":"surfacetype"}}],[8,"BufferSurface","","An ability of a surface type to be used for vertex buffers.",null,null],[8,"TextureSurface","","An ability of a surface type to be used for textures.",null,null],[8,"RenderSurface","","An ability of a surface type to be used for render targets.",null,null],[8,"DepthSurface","","An ability of a surface type to be used for depth targets.",null,null],[8,"StencilSurface","","An ability of a surface type to be used for stencil targets.",null,null],[8,"ChannelTyped","","Compile-time channel type trait.",null,null],[16,"ShaderType","","Shader-visible type that corresponds to this channel.\nFor example, normalized integers are visible as floats.",27,null],[10,"get_channel_type","","Return the run-time value of the type.",27,{"inputs":[],"output":{"name":"channeltype"}}],[8,"TextureChannel","","An ability of a channel type to be used for textures.",null,null],[8,"RenderChannel","","An ability of a channel type to be used for render targets.",null,null],[8,"BlendChannel","","An ability of a channel type to be used for blended render targets.",null,null],[8,"Formatted","","Compile-time full format trait.",null,null],[16,"Surface","","Associated surface type.",28,null],[16,"Channel","","Associated channel type.",28,null],[16,"View","","Shader view type of this format.",28,null],[11,"get_format","","Return the run-time value of the type.",28,{"inputs":[],"output":{"name":"format"}}],[8,"BufferFormat","","Ability to be used for vertex buffers.",null,null],[8,"DepthFormat","","Ability to be used for depth targets.",null,null],[8,"StencilFormat","","Ability to be used for vertex buffers.",null,null],[8,"DepthStencilFormat","","Ability to be used for depth+stencil targets.",null,null],[8,"TextureFormat","","Ability to be used for textures.",null,null],[8,"RenderFormat","","Ability to be used for render targets.",null,null],[8,"BlendFormat","","Ability to be used for blended render targets.",null,null],[3,"U8Norm","","",null,null],[12,"0","","",29,null],[3,"I8Norm","","",null,null],[12,"0","","",30,null],[3,"U16Norm","","",null,null],[12,"0","","",31,null],[3,"I16Norm","","",null,null],[12,"0","","",32,null],[3,"F16","","",null,null],[12,"0","","",33,null],[6,"Vec1","","",null,null],[6,"Vec2","","",null,null],[6,"Vec3","","",null,null],[6,"Vec4","","",null,null],[6,"Rgba8","","",null,null],[6,"Srgba8","","",null,null],[6,"Rgb10a2F","","",null,null],[6,"Rgba16F","","",null,null],[6,"Rgba32F","","",null,null],[6,"Depth","","",null,null],[6,"DepthStencil","","",null,null],[6,"Depth32F","","",null,null],[0,"handle","gfx","Device resource handles",null,null],[3,"RawBuffer","gfx::handle","Raw (untyped) Buffer Handle",null,null],[3,"Buffer","","Type-safe buffer handle",null,null],[3,"Shader","","Shader Handle",null,null],[3,"Program","","Program Handle",null,null],[3,"RawPipelineState","","Raw Pipeline State Handle",null,null],[3,"RawTexture","","Raw texture object",null,null],[3,"Texture","","Typed texture object",null,null],[3,"RawShaderResourceView","","Raw Shader Resource View Handle",null,null],[3,"ShaderResourceView","","Type-safe Shader Resource View Handle",null,null],[3,"RawUnorderedAccessView","","Raw Unordered Access View Handle",null,null],[3,"UnorderedAccessView","","Type-safe Unordered Access View Handle",null,null],[3,"RawRenderTargetView","","Raw RTV",null,null],[3,"RawDepthStencilView","","Raw DSV",null,null],[3,"RenderTargetView","","Typed RTV",null,null],[3,"DepthStencilView","","Typed DSV",null,null],[3,"Sampler","","Sampler Handle",null,null],[3,"Fence","","Fence Handle",null,null],[3,"Manager","","Stores reference-counted resources used in a command buffer.\nSeals actual resource names behind the interface, automatically\nreferencing them both by the Factory on resource creation\nand the Renderer during CommandBuffer population.",null,null],[8,"Producer","","A service trait to be used by the device implementation",null,null],[10,"make_buffer","","",34,null],[10,"make_shader","","",34,null],[10,"make_program","","",34,null],[10,"make_pso","","",34,null],[10,"make_texture","","",34,null],[10,"make_buffer_srv","","",34,null],[10,"make_texture_srv","","",34,null],[10,"make_buffer_uav","","",34,null],[10,"make_texture_uav","","",34,null],[10,"make_rtv","","",34,null],[10,"make_dsv","","",34,null],[10,"make_sampler","","",34,null],[10,"make_fence","","",34,null],[10,"clean_with","","Walk through all the handles, keep ones that are reference elsewhere\nand call the provided delete function (resource-specific) for others",34,null],[0,"tex","gfx","Texture creation and modification.",null,null],[4,"Error","gfx::tex","Pure texture object creation error.",null,null],[13,"Format","","Failed to map a given format to the device.",35,null],[13,"Kind","","The kind doesn't support a particular operation.",35,null],[13,"Samples","","Failed to map a given multisampled kind to the device.",35,null],[13,"Size","","Unsupported size in one of the dimensions.",35,null],[13,"Data","","The given data has a different size than the target texture slice.",35,null],[6,"Size","","",null,null],[6,"Bits","","",null,null],[6,"NumSamples","","",null,null],[6,"NumFragments","","",null,null],[6,"Dimensions","","",null,null],[4,"AaMode","","Describes the configuration of samples inside each texel.",null,null],[13,"Single","","No additional sample information",36,null],[13,"Multi","","MultiSampled Anti-Aliasing (MSAA)",36,null],[13,"Coverage","","Coverage Sampling Anti-Aliasing (CSAA/EQAA)",36,null],[4,"FilterMethod","","How to [filter](https://en.wikipedia.org/wiki/Texture_filtering) the\ntexture when sampling. They correspond to increasing levels of quality,\nbut also cost. They "layer" on top of each other: it is not possible to\nhave bilinear filtering without mipmapping, for example.",null,null],[13,"Scale","","The dumbest filtering possible, nearest-neighbor interpolation.",37,null],[13,"Mipmap","","Add simple mipmapping.",37,null],[13,"Bilinear","","Sample multiple texels within a single mipmap level to increase\nquality.",37,null],[13,"Trilinear","","Sample multiple texels across two mipmap levels to increase quality.",37,null],[13,"Anisotropic","","Anisotropic filtering with a given "max", must be between 1 and 16,\ninclusive.",37,null],[4,"CubeFace","","The face of a cube texture to do an operation on.",null,null],[13,"PosX","","",38,null],[13,"NegX","","",38,null],[13,"PosY","","",38,null],[13,"NegY","","",38,null],[13,"PosZ","","",38,null],[13,"NegZ","","",38,null],[17,"CUBE_FACES","","A constant array of cube faces in the order they map to the hardware.",null,null],[4,"Kind","","Specifies the kind of a texture storage to be allocated.",null,null],[13,"D1","","A single row of texels.",39,null],[13,"D1Array","","An array of rows of texels. Equivalent to Texture2D except that texels\nin a different row are not sampled.",39,null],[13,"D2","","A traditional 2D texture, with rows arranged contiguously.",39,null],[13,"D2Array","","An array of 2D textures. Equivalent to Texture3D except that texels in\na different depth level are not sampled.",39,null],[13,"D3","","A volume texture, with each 2D layer arranged contiguously.",39,null],[13,"Cube","","A set of 6 2D textures, one for each face of a cube.",39,null],[13,"CubeArray","","An array of Cube textures.",39,null],[3,"ImageInfoCommon","","Describes a subvolume of a texture, which image data can be uploaded into.",null,null],[12,"xoffset","","",40,null],[12,"yoffset","","",40,null],[12,"zoffset","","",40,null],[12,"width","","",40,null],[12,"height","","",40,null],[12,"depth","","",40,null],[12,"format","","Format of each texel.",40,null],[12,"mipmap","","Which mipmap to select.",40,null],[6,"RawImageInfo","","",null,null],[6,"NewImageInfo","","",null,null],[4,"WrapMode","","Specifies how texture coordinates outside the range `[0, 1]` are handled.",null,null],[13,"Tile","","Tile the texture. That is, sample the coordinate modulo `1.0`. This is\nthe default.",41,null],[13,"Mirror","","Mirror the texture. Like tile, but uses abs(coord) before the modulo.",41,null],[13,"Clamp","","Clamp the texture to the value at `0.0` or `1.0` respectively.",41,null],[13,"Border","","Use border color.",41,null],[3,"Lod","","A wrapper for the LOD level of a texture.",null,null],[3,"PackedColor","","A wrapper for the 8bpp RGBA color, encoded as u32.",null,null],[12,"0","","",42,null],[3,"SamplerInfo","","Specifies how to sample from a texture.",null,null],[12,"filter","","Filter method to use.",43,null],[12,"wrap_mode","","Wrapping mode for each of the U, V, and W axis (S, T, and R in OpenGL\nspeak).",43,null],[12,"lod_bias","","This bias is added to every computed mipmap level (N + lod_bias). For\nexample, if it would select mipmap level 2 and lod_bias is 1, it will\nuse mipmap level 3.",43,null],[12,"lod_range","","This range is used to clamp LOD level used for sampling.",43,null],[12,"comparison","","Comparison mode, used primary for a shadow map.",43,null],[12,"border","","Border color is used when one of the wrap modes is set to border.",43,null],[3,"Descriptor","","Texture storage descriptor.",null,null],[12,"kind","","",44,null],[12,"levels","","",44,null],[12,"format","","",44,null],[12,"bind","","",44,null],[12,"usage","","",44,null],[3,"ResourceDesc","","Texture resource view descriptor.",null,null],[12,"channel","","",45,null],[12,"min","","",45,null],[12,"max","","",45,null],[12,"swizzle","","",45,null],[3,"RenderDesc","","Texture render view descriptor.",null,null],[12,"channel","","",46,null],[12,"level","","",46,null],[12,"layer","","",46,null],[3,"DepthStencilFlags","","Depth-stencil read-only flags",null,null],[17,"RO_DEPTH","","Depth is read-only in the view.",null,null],[17,"RO_STENCIL","","Stencil is read-only in the view.",null,null],[17,"RO_DEPTH_STENCIL","","Both depth and stencil are read-only.",null,null],[3,"DepthStencilDesc","","Texture depth-stencil view descriptor.",null,null],[12,"level","","",47,null],[12,"layer","","",47,null],[12,"flags","","",47,null],[6,"Level","","",null,null],[6,"Layer","","",null,null],[8,"Factory","gfx","A `Factory` is responsible for creating and managing resources for the context it was created\nwith. ",null,null],[16,"Mapper","","Associated mapper type",48,null],[10,"get_capabilities","","Returns the capabilities of this `Factory`. This usually depends on the graphics API being\nused.",48,null],[10,"create_buffer_raw","","",48,null],[10,"create_buffer_const_raw","","",48,null],[11,"create_buffer_const","","",48,null],[11,"create_buffer_dynamic","","",48,null],[11,"create_buffer_staging","","",48,null],[10,"create_pipeline_state_raw","","Creates a new `RawPipelineState`. To create a safely typed `PipelineState`, see the\n`FactoryExt` trait and `pso` module, both in the `gfx` crate.",48,null],[10,"create_program","","Creates a new shader `Program` for the supplied `ShaderSet`.",48,null],[10,"create_shader","","Compiles a shader source into a `Shader` object that can be used to create a shader\n`Program`.",48,null],[11,"create_shader_vertex","","Compiles a `VertexShader` from source.",48,null],[11,"create_shader_geometry","","Compiles a `GeometryShader` from source.",48,null],[11,"create_shader_pixel","","Compiles a `PixelShader` from source. This is the same as what some APIs call a fragment\nshader.",48,null],[10,"create_sampler","","",48,null],[10,"map_buffer_raw","","",48,null],[10,"unmap_buffer_raw","","",48,null],[10,"map_buffer_readable","","",48,null],[10,"map_buffer_writable","","",48,null],[10,"map_buffer_rw","","",48,null],[10,"create_texture_raw","","Create a new empty raw texture with no data. The channel type parameter is a hint,\nrequired to assist backends that have no concept of typeless formats (OpenGL).\nThe initial data, if given, has to be provided for all mip levels and slices:\nSlice0.Mip0, Slice0.Mip1, ..., Slice1.Mip0, ...",48,null],[10,"view_buffer_as_shader_resource_raw","","",48,null],[10,"view_buffer_as_unordered_access_raw","","",48,null],[10,"view_texture_as_shader_resource_raw","","",48,null],[10,"view_texture_as_unordered_access_raw","","",48,null],[10,"view_texture_as_render_target_raw","","",48,null],[10,"view_texture_as_depth_stencil_raw","","",48,null],[11,"create_texture","","",48,null],[11,"view_buffer_as_shader_resource","","",48,null],[11,"view_buffer_as_unordered_access","","",48,null],[11,"view_texture_as_shader_resource","","",48,null],[11,"view_texture_as_unordered_access","","",48,null],[11,"view_texture_as_render_target","","",48,null],[11,"view_texture_as_depth_stencil","","",48,null],[11,"view_texture_as_depth_stencil_trivial","","",48,null],[11,"create_texture_const_u8","","",48,null],[11,"create_texture_const","","",48,null],[11,"create_render_target","","",48,null],[11,"create_depth_stencil","","",48,null],[11,"create_depth_stencil_view_only","","",48,null],[8,"Typed","","A service trait used to get the raw data out of\nstrong types. Not meant for public use.",null,null],[16,"Raw","","The raw type behind the phantom.",49,null],[10,"new","","Crete a new phantom from the raw type.",49,null],[10,"raw","","Get an internal reference to the raw type.",49,null],[4,"Usage","","A hint as to how this buffer/texture will be used.",null,null],[13,"GpuOnly","","GPU: read + write, CPU: copy. Optimal for render targets.",50,null],[13,"Const","","GPU: read, CPU: none. Optimal for resourced textures/buffers.",50,null],[13,"Dynamic","","GPU: read, CPU: write.",50,null],[13,"CpuOnly","","GPU: copy, CPU: as specified. Used as a staging buffer,\nto be copied back and forth with on-GPU targets.",50,null],[3,"Bind","","Bind flags",null,null],[4,"MapAccess","","Specifies the access allowed to a buffer mapping.",null,null],[13,"Readable","","Only allow reads.",51,null],[13,"Writable","","Only allow writes.",51,null],[13,"RW","","Allow full access.",51,null],[4,"BufferRole","","Role of the memory buffer. GLES doesn't allow chaning bind points for buffers.",null,null],[13,"Vertex","","Generic vertex buffer",52,null],[13,"Index","","Index buffer",52,null],[13,"Uniform","","Uniform block buffer",52,null],[3,"BufferInfo","","An information block that is immutable and associated with each buffer.",null,null],[12,"role","","Role",53,null],[12,"usage","","Usage hint",53,null],[12,"bind","","Bind flags",53,null],[12,"size","","Size in bytes",53,null],[12,"stride","","Stride of a single element, in bytes. Only used for structured buffers\nthat you use via shader resource / unordered access views.",53,null],[4,"BufferError","","Error creating a buffer.",null,null],[13,"UnsupportedBind","","Some of the bind flags are not supported.",54,null],[13,"Other","","Unknown other error.",54,null],[4,"BufferUpdateError","","An error happening on buffer updates.",null,null],[13,"OutOfBounds","","Trying to change the contents outside of the allocation.",55,null],[4,"ResourceViewError","","Error creating either a ShaderResourceView, or UnorderedAccessView.",null,null],[13,"NoBindFlag","","The corresponding bind flag is not present in the texture.",56,null],[13,"Channel","","Selected channel type is not supported for this texture.",56,null],[13,"Unsupported","","The backend was refused for some reason.",56,null],[4,"TargetViewError","","Error creating either a RenderTargetView, or DepthStencilView.",null,null],[13,"NoBindFlag","","The `RENDER_TARGET`/`DEPTH_STENCIL` flag is not present in the texture.",57,null],[13,"BadLevel","","Selected mip level doesn't exist.",57,null],[13,"BadLayer","","Selected array layer doesn't exist.",57,null],[13,"Channel","","Selected channel type is not supported for this texture.",57,null],[13,"Unsupported","","The backend was refused for some reason.",57,null],[4,"CombinedError","","An error from creating textures with views at the same time.",null,null],[13,"Texture","","Failed to create the raw texture.",58,null],[13,"Resource","","Failed to create SRV or UAV.",58,null],[13,"Target","","Failed to create RTV or DSV.",58,null],[17,"RENDER_TARGET","","The resource can be rendered into.",null,null],[17,"DEPTH_STENCIL","","The resource can serve as a depth/stencil target.",null,null],[17,"SHADER_RESOURCE","","The resource can be bound to the shader for reading.",null,null],[17,"UNORDERED_ACCESS","","The resource can be bound to the shader for writing.",null,null],[5,"cast_slice","","Cast a slice from one POD type to another.",null,null],[8,"CommandBuffer","","An interface of the abstract command buffer. It collects commands in an\nefficient API-specific manner, to be ready for execution on the device.",null,null],[10,"clone_empty","","Clone as an empty buffer",59,null],[10,"reset","","Reset the command buffer contents, retain the allocated storage",59,null],[10,"bind_pipeline_state","","Bind a pipeline state object",59,null],[10,"bind_vertex_buffers","","Bind a complete set of vertex buffers",59,null],[10,"bind_constant_buffers","","Bind a complete set of constant buffers",59,null],[10,"bind_global_constant","","Bind a global constant",59,null],[10,"bind_resource_views","","Bind a complete set of shader resource views",59,null],[10,"bind_unordered_views","","Bind a complete set of unordered access views",59,null],[10,"bind_samplers","","Bind a complete set of samplers",59,null],[10,"bind_pixel_targets","","Bind a complete set of pixel targets, including multiple\ncolors views and an optional depth/stencil view.",59,null],[10,"bind_index","","Bind an index buffer",59,null],[10,"set_scissor","","Set scissor rectangle",59,null],[10,"set_ref_values","","Set reference values for the blending and stencil front/back",59,null],[10,"update_buffer","","Update a vertex/index/uniform buffer",59,null],[10,"update_texture","","Update a texture",59,null],[10,"generate_mipmap","","",59,null],[10,"clear_color","","Clear color target",59,null],[10,"clear_depth_stencil","","",59,null],[10,"call_draw","","Draw a primitive",59,null],[10,"call_draw_indexed","","Draw a primitive with index buffer",59,null],[6,"InstanceOption","","",null,null],[3,"ProgramInfo","","Metadata about a program.",null,null],[12,"vertex_attributes","","Attributes in the program",60,null],[12,"globals","","Global constants in the program",60,null],[12,"constant_buffers","","Constant buffers in the program",60,null],[12,"textures","","Textures in the program",60,null],[12,"unordereds","","Unordered access resources in the program",60,null],[12,"samplers","","Samplers in the program",60,null],[12,"outputs","","Output targets in the program",60,null],[12,"output_depth","","A flag indicating that the pixel shader manually assigns the depth.",60,null],[12,"knows_outputs","","A hacky flag to make sure the clients know we are\nunable to actually get the output variable info",60,null],[4,"UniformValue","","A value that can be uploaded to the device as a uniform.",null,null],[13,"I32","","",61,null],[13,"F32","","",61,null],[13,"I32Vector2","","",61,null],[13,"I32Vector3","","",61,null],[13,"I32Vector4","","",61,null],[13,"F32Vector2","","",61,null],[13,"F32Vector3","","",61,null],[13,"F32Vector4","","",61,null],[13,"F32Matrix2","","",61,null],[13,"F32Matrix3","","",61,null],[13,"F32Matrix4","","",61,null],[3,"Encoder","","Graphics Command Encoder",null,null],[3,"Slice","","A `Slice` dictates in which and in what order vertices get processed. It is required for\nprocessing a PSO.",null,null],[12,"start","","The start index of the index-buffer. Processing will start at this location in the\nindex-buffer. ",62,null],[12,"end","","The end index in the index-buffer. Processing will stop at this location (exclusive) in\nthe index buffer.",62,null],[12,"base_vertex","","This is the index of the first vertex in the `VertexBuffer`. This value will be added to\nevery index in the index-buffer, effectively moving the start of the `VertexBuffer` to this\nbase-vertex.",62,null],[12,"instances","","Instancing configuration.",62,null],[12,"buffer","","Represents the type of index-buffer used.",62,null],[4,"UpdateError","","An error occuring in buffer/texture updates.",null,null],[13,"OutOfBounds","","",63,null],[12,"target","gfx::UpdateError","",63,null],[12,"source","","",63,null],[13,"UnitCountMismatch","gfx","",63,null],[12,"target","gfx::UpdateError","",63,null],[12,"slice","","",63,null],[4,"PipelineStateError","gfx","Error creating a PipelineState",null,null],[13,"Program","","Shader program failed to link.",64,null],[13,"DescriptorInit","","Unable to create PSO descriptor due to mismatched formats.",64,null],[13,"DeviceCreate","","Device failed to create the handle give the descriptor.",64,null],[4,"IndexBuffer","","Type of index-buffer used in a Slice.",null,null],[13,"Auto","","Represents a hypothetical index-buffer from 0 to infinity. In other words, all vertices\nget processed in order.",65,null],[13,"Index16","","An index-buffer with unsigned 16 bit indices.",65,null],[13,"Index32","","An index-buffer with unsigned 32 bit indices.",65,null],[0,"traits","","public re-exported traits",null,null],[8,"Device","gfx::traits","A `Device` is responsible for submitting `CommandBuffer`s to the GPU.",null,null],[16,"Resources","","Associated `Resources` type.",17,null],[16,"CommandBuffer","","Associated `CommandBuffer` type. Every `Device` type can only work with one `CommandBuffer`\ntype.",17,null],[10,"get_capabilities","","Returns the capabilities of this `Ðevice`.",17,null],[10,"pin_submitted_resources","","Pin everything from this handle manager to live for a frame.",17,null],[10,"submit","","Submits a `CommandBuffer` to the GPU for execution.",17,null],[10,"cleanup","","Cleanup unused resources. This should be called between frames.",17,null],[8,"Factory","","A `Factory` is responsible for creating and managing resources for the context it was created\nwith. ",null,null],[16,"Mapper","","Associated mapper type",48,null],[10,"get_capabilities","","Returns the capabilities of this `Factory`. This usually depends on the graphics API being\nused.",48,null],[10,"create_buffer_raw","","",48,null],[10,"create_buffer_const_raw","","",48,null],[11,"create_buffer_const","","",48,null],[11,"create_buffer_dynamic","","",48,null],[11,"create_buffer_staging","","",48,null],[10,"create_pipeline_state_raw","","Creates a new `RawPipelineState`. To create a safely typed `PipelineState`, see the\n`FactoryExt` trait and `pso` module, both in the `gfx` crate.",48,null],[10,"create_program","","Creates a new shader `Program` for the supplied `ShaderSet`.",48,null],[10,"create_shader","","Compiles a shader source into a `Shader` object that can be used to create a shader\n`Program`.",48,null],[11,"create_shader_vertex","","Compiles a `VertexShader` from source.",48,null],[11,"create_shader_geometry","","Compiles a `GeometryShader` from source.",48,null],[11,"create_shader_pixel","","Compiles a `PixelShader` from source. This is the same as what some APIs call a fragment\nshader.",48,null],[10,"create_sampler","","",48,null],[10,"map_buffer_raw","","",48,null],[10,"unmap_buffer_raw","","",48,null],[10,"map_buffer_readable","","",48,null],[10,"map_buffer_writable","","",48,null],[10,"map_buffer_rw","","",48,null],[10,"create_texture_raw","","Create a new empty raw texture with no data. The channel type parameter is a hint,\nrequired to assist backends that have no concept of typeless formats (OpenGL).\nThe initial data, if given, has to be provided for all mip levels and slices:\nSlice0.Mip0, Slice0.Mip1, ..., Slice1.Mip0, ...",48,null],[10,"view_buffer_as_shader_resource_raw","","",48,null],[10,"view_buffer_as_unordered_access_raw","","",48,null],[10,"view_texture_as_shader_resource_raw","","",48,null],[10,"view_texture_as_unordered_access_raw","","",48,null],[10,"view_texture_as_render_target_raw","","",48,null],[10,"view_texture_as_depth_stencil_raw","","",48,null],[11,"create_texture","","",48,null],[11,"view_buffer_as_shader_resource","","",48,null],[11,"view_buffer_as_unordered_access","","",48,null],[11,"view_texture_as_shader_resource","","",48,null],[11,"view_texture_as_unordered_access","","",48,null],[11,"view_texture_as_render_target","","",48,null],[11,"view_texture_as_depth_stencil","","",48,null],[11,"view_texture_as_depth_stencil_trivial","","",48,null],[11,"create_texture_const_u8","","",48,null],[11,"create_texture_const","","",48,null],[11,"create_render_target","","",48,null],[11,"create_depth_stencil","","",48,null],[11,"create_depth_stencil_view_only","","",48,null],[8,"DeviceFence","","Extension to the Device that allows for submitting of commands\naround a fence",null,null],[10,"fenced_submit","","Submit a command buffer to the stream creating a fence\nthe fence is signaled after the GPU has executed all commands\nin the buffer",66,null],[10,"fence_wait","","Wait on the supplied fence stalling the current thread until\nthe fence is satisfied",66,null],[8,"FactoryExt","","This trait is responsible for creating and managing graphics resources, much like the `Factory`\ntrait in the `gfx` crate. Every `Factory` automatically implements `FactoryExt`. ",null,null],[11,"create_vertex_buffer","","Create a vertex buffer from the supplied data. A `Slice` will have to manually be\nconstructed.",67,null],[11,"create_vertex_buffer_with_slice","","Shorthand for creating a new vertex buffer from the supplied vertices, together with a\n`Slice` from the supplied indices.",67,null],[11,"create_constant_buffer","","Create a constant buffer for `num` identical elements of type `T`.",67,null],[11,"create_shader_set","","Creates a `ShaderSet` from the supplied vertex and pixel shader source code.",67,null],[11,"link_program","","Creates a basic shader `Program` from the supplied vertex and pixel shader source code.",67,null],[11,"create_pipeline_state","","Similar to `create_pipeline_from_program(..)`, but takes a `ShaderSet` as opposed to a\nshader `Program`. ",67,null],[11,"create_pipeline_from_program","","Creates a strongly typed `PipelineState` from its `Init` structure, a shader `Program`, a\nprimitive type and a `Rasterizer`.",67,null],[11,"create_pipeline_simple","","Creates a strongly typed `PipelineState` from its `Init` structure. Automatically creates a\nshader `Program` from a vertex and pixel shader source, as well as a `Rasterizer` capable\nof rendering triangle faces without culling.",67,null],[11,"create_sampler_linear","","Create a linear sampler with clamping to border.",67,null],[11,"eq","gfx","",63,null],[11,"ne","","",63,null],[11,"fmt","","",63,null],[11,"clone","","",63,null],[11,"fmt","","",63,null],[11,"description","","",63,null],[11,"from","","",68,{"inputs":[{"name":"c"}],"output":{"name":"encoder"}}],[11,"flush","","Submits the commands in this `Encoder`'s internal `CommandBuffer` to the GPU, so they can\nbe executed. ",68,null],[11,"clone_empty","","Clone the renderer shared data but ignore the commands.",68,null],[11,"update_buffer","","Update a buffer with a slice of data.",68,null],[11,"update_constant_buffer","","Update a buffer with a single structure.",68,null],[11,"update_texture","","Update the contents of a texture.",68,null],[11,"clear","","Clears the supplied `RenderTargetView` to the supplied `ClearColor`.",68,null],[11,"clear_depth","","Clear a depth view with a specified value.",68,null],[11,"clear_stencil","","Clear a stencil view with a specified value.",68,null],[11,"draw","","Draws a `slice::Slice` using a pipeline state object, and its matching `Data` structure.",68,null],[11,"create_vertex_buffer","gfx::traits","Create a vertex buffer from the supplied data. A `Slice` will have to manually be\nconstructed.",67,null],[11,"create_vertex_buffer_with_slice","","Shorthand for creating a new vertex buffer from the supplied vertices, together with a\n`Slice` from the supplied indices.",67,null],[11,"create_constant_buffer","","Create a constant buffer for `num` identical elements of type `T`.",67,null],[11,"create_shader_set","","Creates a `ShaderSet` from the supplied vertex and pixel shader source code.",67,null],[11,"link_program","","Creates a basic shader `Program` from the supplied vertex and pixel shader source code.",67,null],[11,"create_pipeline_state","","Similar to `create_pipeline_from_program(..)`, but takes a `ShaderSet` as opposed to a\nshader `Program`. ",67,null],[11,"create_pipeline_from_program","","Creates a strongly typed `PipelineState` from its `Init` structure, a shader `Program`, a\nprimitive type and a `Rasterizer`.",67,null],[11,"create_pipeline_simple","","Creates a strongly typed `PipelineState` from its `Init` structure. Automatically creates a\nshader `Program` from a vertex and pixel shader source, as well as a `Rasterizer` capable\nof rendering triangle faces without culling.",67,null],[11,"create_sampler_linear","","Create a linear sampler with clamping to border.",67,null],[11,"fmt","gfx","",64,null],[11,"eq","","",64,null],[11,"ne","","",64,null],[11,"clone","","",64,null],[11,"fmt","","",64,null],[11,"description","","",64,null],[11,"cause","","",64,null],[11,"from","","",64,{"inputs":[{"name":"programerror"}],"output":{"name":"self"}}],[11,"from","","",64,{"inputs":[{"name":"initerror"}],"output":{"name":"self"}}],[11,"from","","",64,{"inputs":[{"name":"creationerror"}],"output":{"name":"self"}}],[11,"eq","","",62,null],[11,"ne","","",62,null],[11,"fmt","","",62,null],[11,"clone","","",62,null],[11,"new_match_vertex_buffer","","Creates a new `Slice` to match the supplied vertex buffer, from start to end, in order.",62,{"inputs":[{"name":"buffer"}],"output":{"name":"self"}}],[11,"get_prim_count","","Calculates the number of primitives of the specified type in this `Slice`.",62,null],[11,"eq","","",65,null],[11,"ne","","",65,null],[11,"fmt","","",65,null],[11,"clone","","",65,null],[11,"default","","",65,{"inputs":[],"output":{"name":"self"}}],[11,"into_index_buffer","","",65,null],[11,"into_index_buffer","gfx::handle","",69,null],[11,"into_index_buffer","","",69,null],[0,"pso","gfx","A typed high-level graphics pipeline interface.",null,null],[3,"Descriptor","gfx::pso","All the information surrounding a shader program that is required\nfor PSO creation, including the formats of vertex buffers and pixel targets;",null,null],[12,"primitive","","Type of the primitive",70,null],[12,"rasterizer","","Rasterizer setup",70,null],[12,"scissor","","Enable scissor test",70,null],[12,"attributes","","Vertex attributes",70,null],[12,"color_targets","","Render target views (RTV)",70,null],[12,"depth_stencil","","Depth stencil view (DSV)",70,null],[3,"RawDataSet","","A complete set of raw data that needs to be specified at run-time\nwhenever we draw something with a PSO. This is what "data" struct\ngets transformed into when we call `encoder.draw(...)` with it.\nIt doesn't have any typing information, since PSO knows what\nformat and layout to expect from each resource.",null,null],[12,"vertex_buffers","","",71,null],[12,"constant_buffers","","",71,null],[12,"global_constants","","",71,null],[12,"resource_views","","",71,null],[12,"unordered_views","","",71,null],[12,"samplers","","",71,null],[12,"pixel_targets","","",71,null],[12,"ref_values","","",71,null],[12,"scissor","","",71,null],[3,"PipelineState","","A strongly typed Pipleline State Object. See the module documentation for more information.",null,null],[4,"InitError","","Failure to initilize the link between the shader and the data.",null,null],[13,"VertexImport","","Vertex attribute mismatch.",72,null],[13,"ConstantBuffer","","Constant buffer mismatch.",72,null],[13,"GlobalConstant","","Global constant mismatch.",72,null],[13,"ResourceView","","Shader resource view mismatch.",72,null],[13,"UnorderedView","","Unordered access view mismatch.",72,null],[13,"Sampler","","Sampler mismatch.",72,null],[13,"PixelExport","","Pixel target mismatch.",72,null],[0,"buffer","","Buffer components for a PSO.",null,null],[3,"Element","gfx::pso::buffer","A struct element descriptor.",null,null],[12,"format","","Element format",73,null],[12,"offset","","Offset from the beginning of the container, in bytes",73,null],[12,"stride","","Total container size, in bytes",73,null],[6,"ElemOffset","","",null,null],[6,"ElemStride","","",null,null],[6,"InstanceRate","","",null,null],[3,"VertexBufferCommon","","Service struct to simplify the implementations of `VertexBuffer` and `InstanceBuffer`.",null,null],[3,"RawVertexBuffer","","Raw vertex/instance buffer component.\n- init: ?\n- data: `RawBuffer`",null,null],[3,"ConstantBuffer","","Constant buffer component.\n- init: `&str` = name of the buffer\n- data: `Buffer<T>`",null,null],[3,"Global","","Global (uniform) constant component. Describes a free-standing value passed into\nthe shader, which is not enclosed into any constant buffer. Deprecated in DX10 and higher.\n- init: `&str` = name of the constant\n- data: `T` = value",null,null],[6,"VertexBuffer","","Vertex buffer component. Advanced per vertex.\n- init: `()`\n- data: `Buffer<T>`",null,null],[6,"InstanceBuffer","","Instance buffer component. Same as the vertex buffer but advances per instance.",null,null],[8,"Structure","","A trait to be implemented by any struct having the layout described\nin the graphics API, like a vertex buffer.",null,null],[10,"query","","Get the layout of an element by name.",74,{"inputs":[{"name":"str"}],"output":{"name":"option"}}],[11,"new","","",75,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",75,null],[11,"link_input","","",75,null],[11,"bind_to","","",75,null],[11,"new","","",76,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",76,null],[11,"link_input","","",76,null],[11,"bind_to","","",76,null],[11,"new","","",77,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",77,null],[11,"link_constant_buffer","","",77,null],[11,"bind_to","","",77,null],[11,"new","","",78,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",78,null],[11,"link_global_constant","","",78,null],[11,"bind_to","","",78,null],[0,"resource","gfx::pso","Resource components for a PSO.",null,null],[3,"ShaderResource","gfx::pso::resource","Shader resource component (SRV). Typically is a view into some texture,\nbut can also be a buffer.\n- init: `&str` = name of the resource\n- data: `ShaderResourceView<T>`",null,null],[3,"RawShaderResource","","Raw (untyped) shader resource (SRV).\n- init: `&str` = name of the resource. This may change in the future.\n- data: `RawShaderResourceView`",null,null],[3,"UnorderedAccess","","Unordered access component (UAV). A writable resource (texture/buffer)\nwith no defined access order across simultaneously executing shaders.\nSupported on DX10 and higher.\n- init: `&str` = name of the resource\n- data: `UnorderedAccessView<T>`",null,null],[3,"Sampler","","Sampler component.\n- init: `&str` = name of the sampler\n- data: `Sampler`",null,null],[3,"TextureSampler","","A convenience type for a texture paired with a sampler.\nIt only makes sense for DX9 class hardware, where every texture by default\nis bundled with a sampler, hence they are represented by the same name.\nIn DX10 and higher samplers are totally separated from the textures.\n- init: `&str` = name of the sampler/texture (assuming they match)\n- data: (`ShaderResourceView<T>`, `Sampler`)",null,null],[11,"new","","",79,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",79,null],[11,"link_resource_view","","",79,null],[11,"bind_to","","",79,null],[11,"new","","",80,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",80,null],[11,"link_resource_view","","",80,null],[11,"bind_to","","",80,null],[11,"new","","",81,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",81,null],[11,"link_unordered_view","","",81,null],[11,"bind_to","","",81,null],[11,"new","","",82,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",82,null],[11,"link_sampler","","",82,null],[11,"bind_to","","",82,null],[11,"new","","",83,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",83,null],[11,"link_resource_view","","",83,null],[11,"link_sampler","","",83,null],[11,"bind_to","","",83,null],[0,"target","gfx::pso","Render target components for a PSO.",null,null],[3,"RenderTarget","gfx::pso::target","Render target component. Typically points to a color-formatted texture.\n- init: `&str` = name of the target\n- data: `RenderTargetView<T>`",null,null],[3,"BlendTarget","","Render target component with active blending mode.\n- init: (`&str`, `ColorMask`, `Blend` = blending state)\n- data: `RenderTargetView<T>`",null,null],[3,"RawRenderTarget","","Raw (untyped) render target component with optional blending.\n- init: (`&str`, `Format`, `ColorMask`, `Option<Blend>`)\n- data: `RawRenderTargetView`",null,null],[3,"DepthTarget","","Depth target component.\n- init: `Depth` = depth state\n- data: `DepthStencilView<T>`",null,null],[3,"StencilTarget","","Stencil target component.\n- init: `Stencil` = stencil state\n- data: (`DepthStencilView<T>`, `(front, back)` = stencil reference values)",null,null],[3,"DepthStencilTarget","","Depth + stencil target component.\n- init: (`Depth` = depth state, `Stencil` = stencil state)\n- data: (`DepthStencilView<T>`, `(front, back)` = stencil reference values)",null,null],[3,"Scissor","","Scissor component. Sets up the scissor test for rendering.\n- init: `()`\n- data: `Rect` = target area",null,null],[3,"BlendRef","","Blend reference component. Sets up the reference color for blending.\n- init: `()`\n- data: `ColorValue`",null,null],[11,"new","","",84,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",84,null],[11,"link_output","","",84,null],[11,"bind_to","","",84,null],[11,"new","","",85,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",85,null],[11,"link_output","","",85,null],[11,"bind_to","","",85,null],[11,"new","","",86,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",86,null],[11,"link_output","","",86,null],[11,"bind_to","","",86,null],[11,"new","","",87,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",87,null],[11,"link_depth_stencil","","",87,null],[11,"bind_to","","",87,null],[11,"new","","",88,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",88,null],[11,"link_depth_stencil","","",88,null],[11,"bind_to","","",88,null],[11,"new","","",89,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",89,null],[11,"link_depth_stencil","","",89,null],[11,"bind_to","","",89,null],[11,"new","","",90,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",90,null],[11,"link_scissor","","",90,null],[11,"bind_to","","",90,null],[11,"new","","",91,{"inputs":[],"output":{"name":"self"}}],[11,"is_active","","",91,null],[11,"bind_to","","",91,null],[0,"bundle","gfx::pso","Combine slice data with pipeline state.",null,null],[3,"Bundle","gfx::pso::bundle","Slice-PSO bundle.",null,null],[12,"slice","","Slice",92,null],[12,"pso","","Pipeline state",92,null],[12,"data","","Pipeline data",92,null],[11,"new","","Create new Bundle",92,{"inputs":[{"name":"slice"},{"name":"pipelinestate"},{"name":"data"}],"output":{"name":"self"}}],[11,"encode","","Draw bundle using encoder.",92,null],[8,"PipelineInit","gfx::pso","A service trait implemented by the "init" structure of PSO.",null,null],[16,"Meta","","The associated "meta" struct.",93,null],[10,"link_to","","Attempt to map a PSO descriptor to a give shader program,\nrepresented by `ProgramInfo`. Returns an instance of the\n"meta" struct upon successful mapping.",93,null],[8,"PipelineData","","a service trait implemented the "data" structure of PSO.",null,null],[16,"Meta","","The associated "meta" struct.",94,null],[10,"bake_to","","Dump all the contained data into the raw data set,\ngiven the mapping ("meta"), and a handle manager.",94,null],[8,"DataLink","","The "link" logic portion of a PSO component.\nDefines the input data for the component.",null,null],[16,"Init","","The assotiated "init" type - a member of the PSO "init" struct.",95,null],[10,"new","","Create a new empty data link.",95,{"inputs":[],"output":{"name":"self"}}],[10,"is_active","","Check if this link is actually used by the shader.",95,null],[11,"link_input","","Attempt to link with a vertex attribute.",95,null],[11,"link_constant_buffer","","Attempt to link with a constant buffer.",95,null],[11,"link_global_constant","","Attempt to link with a global constant.",95,null],[11,"link_output","","Attempt to link with an output render target (RTV).",95,null],[11,"link_depth_stencil","","Attempt to link with a depth-stencil target (DSV).",95,null],[11,"link_resource_view","","Attempt to link with a shader resource (SRV).",95,null],[11,"link_unordered_view","","Attempt to link with an unordered access (UAV).",95,null],[11,"link_sampler","","Attempt to link with a sampler.",95,null],[11,"link_scissor","","Attempt to enable scissor test.",95,null],[8,"DataBind","","The "bind" logic portion of the PSO component.\nDefines how the user data translates into the raw data set.",null,null],[16,"Data","","The associated "data" type - a member of the PSO "data" struct.",96,null],[10,"bind_to","","Dump the given data into the raw data set.",96,null],[11,"fmt","","",71,null],[11,"new","","Create an empty data set.",71,{"inputs":[],"output":{"name":"rawdataset"}}],[11,"clear","","Clear all contained data.",71,null],[11,"fmt","","",72,null],[11,"eq","","",72,null],[11,"ne","","",72,null],[11,"clone","","",72,null],[11,"fmt","","",72,null],[11,"description","","",72,null],[11,"new","","Create a new PSO from a raw handle and the "meta" instance.",97,{"inputs":[{"name":"rawpipelinestate"},{"name":"primitive"},{"name":"m"}],"output":{"name":"pipelinestate"}}],[11,"get_handle","","Get a raw handle reference.",97,null],[11,"get_meta","","Get a "meta" struct reference. Can be used by the user to check\nwhat resources are actually used and what not.",97,null],[0,"shade","gfx","Shaders\nShader parameter handling.",null,null],[6,"ConstFormat","gfx::shade","",null,null],[8,"Formatted","","A trait that statically links simple data types to\nconstant formats.",null,null],[10,"get_format","","Get the associated constant format.",98,null],[3,"Usage","","Parameter usage flags.",null,null],[0,"core","","Shader handling.",null,null],[6,"Dimension","gfx::shade::core","",null,null],[4,"IsArray","","Whether the sampler samples an array texture.",null,null],[13,"Array","","",99,null],[13,"NoArray","","",99,null],[4,"IsComparison","","Whether the sampler compares the depth value upon sampling.",null,null],[13,"Compare","","",100,null],[13,"NoCompare","","",100,null],[4,"IsMultiSample","","Whether the sampler samples a multisample texture.",null,null],[13,"MultiSample","","",101,null],[13,"NoMultiSample","","",101,null],[4,"IsRect","","Whether the sampler samples a rectangle texture.",null,null],[13,"Rect","","",102,null],[13,"NoRect","","",102,null],[4,"MatrixFormat","","Whether the matrix is column or row major.",null,null],[13,"ColumnMajor","","",103,null],[13,"RowMajor","","",103,null],[4,"TextureType","","A type of the texture variable.\nThis has to match the actual data we bind to the shader.",null,null],[13,"Buffer","","Sample from a buffer.",104,null],[13,"D1","","Sample from a 1D texture",104,null],[13,"D2","","Sample from a 2D texture",104,null],[13,"D3","","Sample from a 3D texture",104,null],[13,"Cube","","Sample from a cubemap.",104,null],[3,"SamplerType","","A type of the sampler variable.",null,null],[12,"0","","",105,null],[12,"1","","",105,null],[4,"BaseType","","Base type of this shader parameter.",null,null],[13,"I32","","",106,null],[13,"U32","","",106,null],[13,"F32","","",106,null],[13,"F64","","",106,null],[13,"Bool","","",106,null],[4,"ContainerType","","Number of components this parameter represents.",null,null],[13,"Single","","Scalar value",107,null],[13,"Vector","","A vector with `Dimension` components.",107,null],[13,"Matrix","","A matrix.",107,null],[4,"Stage","","Which program stage this shader represents.",null,null],[13,"Vertex","","",108,null],[13,"Geometry","","",108,null],[13,"Pixel","","",108,null],[17,"STAGES","","A constant static array of all shader stages.",null,null],[6,"Location","","",null,null],[4,"UniformValue","","A value that can be uploaded to the device as a uniform.",null,null],[13,"I32","","",61,null],[13,"F32","","",61,null],[13,"I32Vector2","","",61,null],[13,"I32Vector3","","",61,null],[13,"I32Vector4","","",61,null],[13,"F32Vector2","","",61,null],[13,"F32Vector3","","",61,null],[13,"F32Vector4","","",61,null],[13,"F32Matrix2","","",61,null],[13,"F32Matrix3","","",61,null],[13,"F32Matrix4","","",61,null],[6,"ConstFormat","","",null,null],[8,"BaseTyped","","A trait that statically links simple data types to\nbase types of the shader constants.",null,null],[10,"get_base_type","","",109,{"inputs":[],"output":{"name":"basetype"}}],[8,"Formatted","","A trait that statically links simple data types to\nconstant formats.",null,null],[10,"get_format","","Get the associated constant format.",98,null],[3,"Usage","","Parameter usage flags.",null,null],[17,"VERTEX","","Used by the vertex shader",null,null],[17,"GEOMETRY","","Used by the geometry shader",null,null],[17,"PIXEL","","Used by the pixel shader",null,null],[3,"AttributeVar","","Vertex information that a shader takes as input.",null,null],[12,"name","","Name of this attribute.",110,null],[12,"slot","","Slot of the vertex attribute.",110,null],[12,"base_type","","Type that this attribute is composed of.",110,null],[12,"container","",""Scalarness" of this attribute.",110,null],[3,"ConstVar","","A constant in the shader - a bit of data that doesn't vary",null,null],[12,"name","","Name of this constant.",111,null],[12,"location","","Location of this constant in the program.",111,null],[12,"count","","Number of elements this constant represents.",111,null],[12,"base_type","","Type that this constant is composed of",111,null],[12,"container","",""Scalarness" of this constant.",111,null],[3,"ConstantBufferVar","","A constant buffer.",null,null],[12,"name","","Name of this constant buffer.",112,null],[12,"slot","","Slot of the constant buffer.",112,null],[12,"size","","Size (in bytes) of this buffer's data.",112,null],[12,"usage","","What program stage this buffer is used in.",112,null],[3,"TextureVar","","Texture shader parameter.",null,null],[12,"name","","Name of this texture variable.",113,null],[12,"slot","","Slot of this texture variable.",113,null],[12,"base_type","","Base type for the texture.",113,null],[12,"ty","","Type of this texture.",113,null],[12,"usage","","What program stage this texture is used in.",113,null],[3,"UnorderedVar","","Unordered access shader parameter.",null,null],[12,"name","","Name of this unordered variable.",114,null],[12,"slot","","Slot of this unordered variable.",114,null],[12,"usage","","What program stage this UAV is used in.",114,null],[3,"SamplerVar","","Sampler shader parameter.",null,null],[12,"name","","Name of this sampler variable.",115,null],[12,"slot","","Slot of this sampler variable.",115,null],[12,"ty","","Type of this sampler.",115,null],[12,"usage","","What program stage this texture is used in.",115,null],[3,"OutputVar","","Target output variable.",null,null],[12,"name","","Name of this output variable.",116,null],[12,"slot","","Output color target index.",116,null],[12,"base_type","","Type of the output component.",116,null],[12,"container","",""Scalarness" of this output.",116,null],[3,"ProgramInfo","","Metadata about a program.",null,null],[12,"vertex_attributes","","Attributes in the program",60,null],[12,"globals","","Global constants in the program",60,null],[12,"constant_buffers","","Constant buffers in the program",60,null],[12,"textures","","Textures in the program",60,null],[12,"unordereds","","Unordered access resources in the program",60,null],[12,"samplers","","Samplers in the program",60,null],[12,"outputs","","Output targets in the program",60,null],[12,"output_depth","","A flag indicating that the pixel shader manually assigns the depth.",60,null],[12,"knows_outputs","","A hacky flag to make sure the clients know we are\nunable to actually get the output variable info",60,null],[4,"CompatibilityError","","Error type for trying to store a UniformValue in a ConstVar.",null,null],[13,"ErrorArraySize","","Array sizes differ between the value and the var (trying to upload a vec2 as a vec4, etc)",117,null],[13,"ErrorBaseType","","Base types differ between the value and the var (trying to upload a f32 as a u16, etc)",117,null],[13,"ErrorContainer","","Container-ness differs between the value and the var (trying to upload a scalar as a vec4,\netc)",117,null],[4,"CreateShaderError","","An error type for creating shaders.",null,null],[13,"ModelNotSupported","","The device does not support the requested shader model.",118,null],[13,"StageNotSupported","","The device does not support the shader stage.",118,null],[13,"CompilationFailed","","The shader failed to compile.",118,null],[6,"CreateProgramError","","",null,null],[4,"ProgramError","gfx::shade","Program linking error",null,null],[13,"Vertex","","Unable to compile the vertex shader",119,null],[13,"Pixel","","Unable to compile the pixel shader",119,null],[13,"Link","","Unable to link",119,null],[8,"ToUniform","","",null,null],[10,"convert","","",120,null],[11,"fmt","","",119,null],[11,"eq","","",119,null],[11,"ne","","",119,null],[11,"clone","","",119,null],[11,"fmt","","",119,null],[11,"description","","",119,null],[11,"cause","","",119,null],[0,"macros","gfx","Convenience macros\nVarious helper macros.",null,null],[8,"IntoIndexBuffer","","A helper trait to create `IndexBuffers` from different kinds of data.",null,null],[10,"into_index_buffer","","Turns self into an `IndexBuffer`.",121,null],[14,"gfx_pipeline_inner!","","",null,null],[14,"gfx_pipeline_base!","","",null,null],[14,"gfx_pipeline!","","",null,null],[14,"gfx_impl_struct!","","",null,null],[14,"gfx_vertex_struct!","","",null,null],[14,"gfx_constant_struct!","","",null,null],[14,"gfx_format!","","",null,null],[14,"gfx_defines!","","Defines vertex, constant and pipeline formats in one block",null,null],[11,"fmt","gfx::state","",0,null],[11,"clone","","",0,null],[11,"hash","","",0,null],[11,"partial_cmp","","",0,null],[11,"eq","","",0,null],[11,"cmp","","",0,null],[11,"partial_cmp","","",1,null],[11,"lt","","",1,null],[11,"le","","",1,null],[11,"gt","","",1,null],[11,"ge","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"hash","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",1,null],[11,"cmp","","",2,null],[11,"partial_cmp","","",2,null],[11,"hash","","",2,null],[11,"fmt","","",2,null],[11,"eq","","",2,null],[11,"clone","","",2,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,"hash","","",3,null],[11,"fmt","","",3,null],[11,"clone","","",3,null],[11,"cmp","","",122,null],[11,"partial_cmp","","",122,null],[11,"hash","","",122,null],[11,"fmt","","",122,null],[11,"eq","","",122,null],[11,"clone","","",122,null],[11,"partial_cmp","","",4,null],[11,"lt","","",4,null],[11,"le","","",4,null],[11,"gt","","",4,null],[11,"ge","","",4,null],[11,"eq","","",4,null],[11,"ne","","",4,null],[11,"hash","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",4,null],[11,"new_fill","","Create a new filling rasterizer.",4,{"inputs":[],"output":{"name":"rasterizer"}}],[11,"with_cull_back","","Add back face culling.",4,null],[11,"with_offset","","Add polygon offset.",4,null],[11,"cmp","","",5,null],[11,"partial_cmp","","",5,null],[11,"hash","","",5,null],[11,"fmt","","",5,null],[11,"eq","","",5,null],[11,"clone","","",5,null],[11,"cmp","","",6,null],[11,"partial_cmp","","",6,null],[11,"hash","","",6,null],[11,"fmt","","",6,null],[11,"eq","","",6,null],[11,"clone","","",6,null],[11,"cmp","","",7,null],[11,"partial_cmp","","",7,null],[11,"lt","","",7,null],[11,"le","","",7,null],[11,"gt","","",7,null],[11,"ge","","",7,null],[11,"hash","","",7,null],[11,"fmt","","",7,null],[11,"eq","","",7,null],[11,"ne","","",7,null],[11,"clone","","",7,null],[11,"default","","",7,{"inputs":[],"output":{"name":"stencilside"}}],[11,"cmp","","",8,null],[11,"partial_cmp","","",8,null],[11,"lt","","",8,null],[11,"le","","",8,null],[11,"gt","","",8,null],[11,"ge","","",8,null],[11,"hash","","",8,null],[11,"fmt","","",8,null],[11,"eq","","",8,null],[11,"ne","","",8,null],[11,"clone","","",8,null],[11,"default","","",8,{"inputs":[],"output":{"name":"stencil"}}],[11,"new","","Create a new stencil state with a given function.",8,null],[11,"cmp","","",9,null],[11,"partial_cmp","","",9,null],[11,"lt","","",9,null],[11,"le","","",9,null],[11,"gt","","",9,null],[11,"ge","","",9,null],[11,"hash","","",9,null],[11,"fmt","","",9,null],[11,"eq","","",9,null],[11,"ne","","",9,null],[11,"clone","","",9,null],[11,"default","","",9,{"inputs":[],"output":{"name":"depth"}}],[11,"cmp","","",10,null],[11,"partial_cmp","","",10,null],[11,"hash","","",10,null],[11,"fmt","","",10,null],[11,"eq","","",10,null],[11,"clone","","",10,null],[11,"cmp","","",11,null],[11,"partial_cmp","","",11,null],[11,"hash","","",11,null],[11,"fmt","","",11,null],[11,"eq","","",11,null],[11,"clone","","",11,null],[11,"cmp","","",12,null],[11,"partial_cmp","","",12,null],[11,"lt","","",12,null],[11,"le","","",12,null],[11,"gt","","",12,null],[11,"ge","","",12,null],[11,"hash","","",12,null],[11,"fmt","","",12,null],[11,"eq","","",12,null],[11,"ne","","",12,null],[11,"clone","","",12,null],[11,"fmt","","",13,null],[11,"clone","","",13,null],[11,"hash","","",13,null],[11,"partial_cmp","","",13,null],[11,"lt","","",13,null],[11,"le","","",13,null],[11,"gt","","",13,null],[11,"ge","","",13,null],[11,"eq","","",13,null],[11,"ne","","",13,null],[11,"cmp","","",13,null],[11,"default","","",13,{"inputs":[],"output":{"name":"blendchannel"}}],[11,"eq","","",14,null],[11,"ne","","",14,null],[11,"partial_cmp","","",14,null],[11,"lt","","",14,null],[11,"le","","",14,null],[11,"gt","","",14,null],[11,"ge","","",14,null],[11,"hash","","",14,null],[11,"clone","","",14,null],[11,"default","","",14,{"inputs":[],"output":{"name":"blend"}}],[11,"new","","Create a new blend state with a given equation.",14,{"inputs":[{"name":"equation"},{"name":"factor"},{"name":"factor"}],"output":{"name":"blend"}}],[11,"fmt","","",14,null],[11,"hash","","",123,null],[11,"cmp","","",123,null],[11,"partial_cmp","","",123,null],[11,"lt","","",123,null],[11,"le","","",123,null],[11,"gt","","",123,null],[11,"ge","","",123,null],[11,"clone","","",123,null],[11,"eq","","",123,null],[11,"ne","","",123,null],[11,"fmt","","",123,null],[11,"empty","","Returns an empty set of flags.",123,{"inputs":[],"output":{"name":"colormask"}}],[11,"all","","Returns the set containing all flags.",123,{"inputs":[],"output":{"name":"colormask"}}],[11,"bits","","Returns the raw value of the flags currently stored.",123,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",123,{"inputs":[{"name":"u8"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",123,{"inputs":[{"name":"u8"}],"output":{"name":"colormask"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",123,null],[11,"is_all","","Returns `true` if all flags are currently set.",123,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",123,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",123,null],[11,"insert","","Inserts the specified flags in-place.",123,null],[11,"remove","","Removes the specified flags in-place.",123,null],[11,"toggle","","Toggles the specified flags in-place.",123,null],[11,"bitor","","Returns the union of the two sets of flags.",123,null],[11,"bitor_assign","","Adds the set of flags.",123,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",123,null],[11,"bitxor_assign","","Toggles the set of flags.",123,null],[11,"bitand","","Returns the intersection between the two sets of flags.",123,null],[11,"bitand_assign","","Disables all flags disabled in the set.",123,null],[11,"sub","","Returns the set difference of the two sets of flags.",123,null],[11,"sub_assign","","Disables all flags enabled in the set.",123,null],[11,"not","","Returns the complement of this set of flags.",123,null],[11,"from_iter","","",123,{"inputs":[{"name":"t"}],"output":{"name":"colormask"}}],[11,"partial_cmp","","",15,null],[11,"lt","","",15,null],[11,"le","","",15,null],[11,"gt","","",15,null],[11,"ge","","",15,null],[11,"eq","","",15,null],[11,"ne","","",15,null],[11,"hash","","",15,null],[11,"fmt","","",15,null],[11,"clone","","",15,null],[11,"default","","",15,{"inputs":[],"output":{"name":"color"}}],[11,"partial_cmp","","",16,null],[11,"lt","","",16,null],[11,"le","","",16,null],[11,"gt","","",16,null],[11,"ge","","",16,null],[11,"eq","","",16,null],[11,"ne","","",16,null],[11,"fmt","","",16,null],[11,"clone","","",16,null],[11,"default","","",16,{"inputs":[],"output":{"name":"refvalues"}}],[11,"fmt","gfx","",51,null],[11,"clone","","",51,null],[11,"hash","","",51,null],[11,"partial_cmp","","",51,null],[11,"eq","","",51,null],[11,"cmp","","",51,null],[11,"hash","","",124,null],[11,"cmp","","",124,null],[11,"partial_cmp","","",124,null],[11,"lt","","",124,null],[11,"le","","",124,null],[11,"gt","","",124,null],[11,"ge","","",124,null],[11,"clone","","",124,null],[11,"eq","","",124,null],[11,"ne","","",124,null],[11,"fmt","","",124,null],[11,"empty","","Returns an empty set of flags.",124,{"inputs":[],"output":{"name":"bind"}}],[11,"all","","Returns the set containing all flags.",124,{"inputs":[],"output":{"name":"bind"}}],[11,"bits","","Returns the raw value of the flags currently stored.",124,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",124,{"inputs":[{"name":"u8"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",124,{"inputs":[{"name":"u8"}],"output":{"name":"bind"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",124,null],[11,"is_all","","Returns `true` if all flags are currently set.",124,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",124,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",124,null],[11,"insert","","Inserts the specified flags in-place.",124,null],[11,"remove","","Removes the specified flags in-place.",124,null],[11,"toggle","","Toggles the specified flags in-place.",124,null],[11,"bitor","","Returns the union of the two sets of flags.",124,null],[11,"bitor_assign","","Adds the set of flags.",124,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",124,null],[11,"bitxor_assign","","Toggles the set of flags.",124,null],[11,"bitand","","Returns the intersection between the two sets of flags.",124,null],[11,"bitand_assign","","Disables all flags disabled in the set.",124,null],[11,"sub","","Returns the set difference of the two sets of flags.",124,null],[11,"sub_assign","","Disables all flags enabled in the set.",124,null],[11,"not","","Returns the complement of this set of flags.",124,null],[11,"extend","","",124,null],[11,"from_iter","","",124,{"inputs":[{"name":"t"}],"output":{"name":"bind"}}],[11,"eq","","",52,null],[11,"hash","","",52,null],[11,"fmt","","",52,null],[11,"clone","","",52,null],[11,"fmt","","",50,null],[11,"clone","","",50,null],[11,"hash","","",50,null],[11,"partial_cmp","","",50,null],[11,"lt","","",50,null],[11,"le","","",50,null],[11,"gt","","",50,null],[11,"ge","","",50,null],[11,"eq","","",50,null],[11,"ne","","",50,null],[11,"cmp","","",50,null],[11,"eq","","",53,null],[11,"ne","","",53,null],[11,"hash","","",53,null],[11,"fmt","","",53,null],[11,"clone","","",53,null],[11,"eq","","",54,null],[11,"ne","","",54,null],[11,"hash","","",54,null],[11,"fmt","","",54,null],[11,"clone","","",54,null],[11,"fmt","","",54,null],[11,"description","","",54,null],[11,"fmt","","",55,null],[11,"eq","","",55,null],[11,"clone","","",55,null],[11,"fmt","","",55,null],[11,"description","","",55,null],[11,"fmt","","",56,null],[11,"eq","","",56,null],[11,"ne","","",56,null],[11,"clone","","",56,null],[11,"fmt","","",56,null],[11,"description","","",56,null],[11,"fmt","","",57,null],[11,"eq","","",57,null],[11,"ne","","",57,null],[11,"clone","","",57,null],[11,"fmt","","",57,null],[11,"description","","",57,null],[11,"fmt","","",58,null],[11,"eq","","",58,null],[11,"ne","","",58,null],[11,"clone","","",58,null],[11,"fmt","","",58,null],[11,"description","","",58,null],[11,"cause","","",58,null],[11,"from","","",58,{"inputs":[{"name":"error"}],"output":{"name":"combinederror"}}],[11,"from","","",58,{"inputs":[{"name":"resourceviewerror"}],"output":{"name":"combinederror"}}],[11,"from","","",58,{"inputs":[{"name":"targetviewerror"}],"output":{"name":"combinederror"}}],[11,"fmt","gfx::format","",21,null],[11,"clone","","",21,null],[11,"hash","","",21,null],[11,"partial_cmp","","",21,null],[11,"eq","","",21,null],[11,"cmp","","",21,null],[11,"fmt","","",125,null],[11,"clone","","",125,null],[11,"hash","","",125,null],[11,"partial_cmp","","",125,null],[11,"eq","","",125,null],[11,"cmp","","",125,null],[11,"get_channel_type","","",125,{"inputs":[],"output":{"name":"channeltype"}}],[11,"fmt","","",126,null],[11,"clone","","",126,null],[11,"hash","","",126,null],[11,"partial_cmp","","",126,null],[11,"eq","","",126,null],[11,"cmp","","",126,null],[11,"get_channel_type","","",126,{"inputs":[],"output":{"name":"channeltype"}}],[11,"fmt","","",127,null],[11,"clone","","",127,null],[11,"hash","","",127,null],[11,"partial_cmp","","",127,null],[11,"eq","","",127,null],[11,"cmp","","",127,null],[11,"get_channel_type","","",127,{"inputs":[],"output":{"name":"channeltype"}}],[11,"fmt","","",128,null],[11,"clone","","",128,null],[11,"hash","","",128,null],[11,"partial_cmp","","",128,null],[11,"eq","","",128,null],[11,"cmp","","",128,null],[11,"get_channel_type","","",128,{"inputs":[],"output":{"name":"channeltype"}}],[11,"fmt","","",129,null],[11,"clone","","",129,null],[11,"hash","","",129,null],[11,"partial_cmp","","",129,null],[11,"eq","","",129,null],[11,"cmp","","",129,null],[11,"get_channel_type","","",129,{"inputs":[],"output":{"name":"channeltype"}}],[11,"fmt","","",130,null],[11,"clone","","",130,null],[11,"hash","","",130,null],[11,"partial_cmp","","",130,null],[11,"eq","","",130,null],[11,"cmp","","",130,null],[11,"get_channel_type","","",130,{"inputs":[],"output":{"name":"channeltype"}}],[11,"fmt","","",22,null],[11,"clone","","",22,null],[11,"hash","","",22,null],[11,"partial_cmp","","",22,null],[11,"eq","","",22,null],[11,"cmp","","",22,null],[11,"get_total_bits","","Return the total number of bits for this format.",22,null],[11,"get_alpha_stencil_bits","","Return the number of bits allocated for alpha and stencil.",22,null],[11,"fmt","","",131,null],[11,"clone","","",131,null],[11,"hash","","",131,null],[11,"partial_cmp","","",131,null],[11,"eq","","",131,null],[11,"cmp","","",131,null],[11,"get_surface_type","","",131,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",132,null],[11,"clone","","",132,null],[11,"hash","","",132,null],[11,"partial_cmp","","",132,null],[11,"eq","","",132,null],[11,"cmp","","",132,null],[11,"get_surface_type","","",132,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",133,null],[11,"clone","","",133,null],[11,"hash","","",133,null],[11,"partial_cmp","","",133,null],[11,"eq","","",133,null],[11,"cmp","","",133,null],[11,"get_surface_type","","",133,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",134,null],[11,"clone","","",134,null],[11,"hash","","",134,null],[11,"partial_cmp","","",134,null],[11,"eq","","",134,null],[11,"cmp","","",134,null],[11,"get_surface_type","","",134,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",135,null],[11,"clone","","",135,null],[11,"hash","","",135,null],[11,"partial_cmp","","",135,null],[11,"eq","","",135,null],[11,"cmp","","",135,null],[11,"get_surface_type","","",135,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",136,null],[11,"clone","","",136,null],[11,"hash","","",136,null],[11,"partial_cmp","","",136,null],[11,"eq","","",136,null],[11,"cmp","","",136,null],[11,"get_surface_type","","",136,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",137,null],[11,"clone","","",137,null],[11,"hash","","",137,null],[11,"partial_cmp","","",137,null],[11,"eq","","",137,null],[11,"cmp","","",137,null],[11,"get_surface_type","","",137,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",138,null],[11,"clone","","",138,null],[11,"hash","","",138,null],[11,"partial_cmp","","",138,null],[11,"eq","","",138,null],[11,"cmp","","",138,null],[11,"get_surface_type","","",138,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",139,null],[11,"clone","","",139,null],[11,"hash","","",139,null],[11,"partial_cmp","","",139,null],[11,"eq","","",139,null],[11,"cmp","","",139,null],[11,"get_surface_type","","",139,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",140,null],[11,"clone","","",140,null],[11,"hash","","",140,null],[11,"partial_cmp","","",140,null],[11,"eq","","",140,null],[11,"cmp","","",140,null],[11,"get_surface_type","","",140,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",141,null],[11,"clone","","",141,null],[11,"hash","","",141,null],[11,"partial_cmp","","",141,null],[11,"eq","","",141,null],[11,"cmp","","",141,null],[11,"get_surface_type","","",141,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",142,null],[11,"clone","","",142,null],[11,"hash","","",142,null],[11,"partial_cmp","","",142,null],[11,"eq","","",142,null],[11,"cmp","","",142,null],[11,"get_surface_type","","",142,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",143,null],[11,"clone","","",143,null],[11,"hash","","",143,null],[11,"partial_cmp","","",143,null],[11,"eq","","",143,null],[11,"cmp","","",143,null],[11,"get_surface_type","","",143,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",144,null],[11,"clone","","",144,null],[11,"hash","","",144,null],[11,"partial_cmp","","",144,null],[11,"eq","","",144,null],[11,"cmp","","",144,null],[11,"get_surface_type","","",144,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",145,null],[11,"clone","","",145,null],[11,"hash","","",145,null],[11,"partial_cmp","","",145,null],[11,"eq","","",145,null],[11,"cmp","","",145,null],[11,"get_surface_type","","",145,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",146,null],[11,"clone","","",146,null],[11,"hash","","",146,null],[11,"partial_cmp","","",146,null],[11,"eq","","",146,null],[11,"cmp","","",146,null],[11,"get_surface_type","","",146,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",147,null],[11,"clone","","",147,null],[11,"hash","","",147,null],[11,"partial_cmp","","",147,null],[11,"eq","","",147,null],[11,"cmp","","",147,null],[11,"get_surface_type","","",147,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",148,null],[11,"clone","","",148,null],[11,"hash","","",148,null],[11,"partial_cmp","","",148,null],[11,"eq","","",148,null],[11,"cmp","","",148,null],[11,"get_surface_type","","",148,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",149,null],[11,"clone","","",149,null],[11,"hash","","",149,null],[11,"partial_cmp","","",149,null],[11,"eq","","",149,null],[11,"cmp","","",149,null],[11,"get_surface_type","","",149,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",150,null],[11,"clone","","",150,null],[11,"hash","","",150,null],[11,"partial_cmp","","",150,null],[11,"eq","","",150,null],[11,"cmp","","",150,null],[11,"get_surface_type","","",150,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",151,null],[11,"clone","","",151,null],[11,"hash","","",151,null],[11,"partial_cmp","","",151,null],[11,"eq","","",151,null],[11,"cmp","","",151,null],[11,"get_surface_type","","",151,{"inputs":[],"output":{"name":"surfacetype"}}],[11,"fmt","","",23,null],[11,"clone","","",23,null],[11,"hash","","",23,null],[11,"partial_cmp","","",23,null],[11,"eq","","",23,null],[11,"cmp","","",23,null],[11,"fmt","","",24,null],[11,"clone","","",24,null],[11,"hash","","",24,null],[11,"partial_cmp","","",24,null],[11,"lt","","",24,null],[11,"le","","",24,null],[11,"gt","","",24,null],[11,"ge","","",24,null],[11,"eq","","",24,null],[11,"ne","","",24,null],[11,"cmp","","",24,null],[11,"new","","Create a new swizzle where each channel is unmapped.",24,{"inputs":[],"output":{"name":"swizzle"}}],[11,"fmt","","",25,null],[11,"clone","","",25,null],[11,"hash","","",25,null],[11,"partial_cmp","","",25,null],[11,"lt","","",25,null],[11,"le","","",25,null],[11,"gt","","",25,null],[11,"ge","","",25,null],[11,"eq","","",25,null],[11,"ne","","",25,null],[11,"cmp","","",25,null],[11,"fmt","","",29,null],[11,"clone","","",29,null],[11,"hash","","",29,null],[11,"partial_cmp","","",29,null],[11,"lt","","",29,null],[11,"le","","",29,null],[11,"gt","","",29,null],[11,"ge","","",29,null],[11,"eq","","",29,null],[11,"ne","","",29,null],[11,"cmp","","",29,null],[11,"from","","",29,{"inputs":[{"name":"u8"}],"output":{"name":"u8norm"}}],[11,"cast2","","Convert a 2-element slice.",29,null],[11,"cast3","","Convert a 3-element slice.",29,null],[11,"cast4","","Convert a 4-element slice.",29,null],[11,"cast_slice","","Convert a generic slice by transmutation.",29,null],[11,"fmt","","",30,null],[11,"clone","","",30,null],[11,"hash","","",30,null],[11,"partial_cmp","","",30,null],[11,"lt","","",30,null],[11,"le","","",30,null],[11,"gt","","",30,null],[11,"ge","","",30,null],[11,"eq","","",30,null],[11,"ne","","",30,null],[11,"cmp","","",30,null],[11,"from","","",30,{"inputs":[{"name":"i8"}],"output":{"name":"i8norm"}}],[11,"cast2","","Convert a 2-element slice.",30,null],[11,"cast3","","Convert a 3-element slice.",30,null],[11,"cast4","","Convert a 4-element slice.",30,null],[11,"cast_slice","","Convert a generic slice by transmutation.",30,null],[11,"fmt","","",31,null],[11,"clone","","",31,null],[11,"hash","","",31,null],[11,"partial_cmp","","",31,null],[11,"lt","","",31,null],[11,"le","","",31,null],[11,"gt","","",31,null],[11,"ge","","",31,null],[11,"eq","","",31,null],[11,"ne","","",31,null],[11,"cmp","","",31,null],[11,"from","","",31,{"inputs":[{"name":"u16"}],"output":{"name":"u16norm"}}],[11,"cast2","","Convert a 2-element slice.",31,null],[11,"cast3","","Convert a 3-element slice.",31,null],[11,"cast4","","Convert a 4-element slice.",31,null],[11,"cast_slice","","Convert a generic slice by transmutation.",31,null],[11,"fmt","","",32,null],[11,"clone","","",32,null],[11,"hash","","",32,null],[11,"partial_cmp","","",32,null],[11,"lt","","",32,null],[11,"le","","",32,null],[11,"gt","","",32,null],[11,"ge","","",32,null],[11,"eq","","",32,null],[11,"ne","","",32,null],[11,"cmp","","",32,null],[11,"from","","",32,{"inputs":[{"name":"i16"}],"output":{"name":"i16norm"}}],[11,"cast2","","Convert a 2-element slice.",32,null],[11,"cast3","","Convert a 3-element slice.",32,null],[11,"cast4","","Convert a 4-element slice.",32,null],[11,"cast_slice","","Convert a generic slice by transmutation.",32,null],[11,"fmt","","",33,null],[11,"clone","","",33,null],[11,"hash","","",33,null],[11,"partial_cmp","","",33,null],[11,"lt","","",33,null],[11,"le","","",33,null],[11,"gt","","",33,null],[11,"ge","","",33,null],[11,"eq","","",33,null],[11,"ne","","",33,null],[11,"cmp","","",33,null],[11,"from","","",33,{"inputs":[{"name":"u16"}],"output":{"name":"f16"}}],[11,"cast2","","Convert a 2-element slice.",33,null],[11,"cast3","","Convert a 3-element slice.",33,null],[11,"cast4","","Convert a 4-element slice.",33,null],[11,"cast_slice","","Convert a generic slice by transmutation.",33,null],[11,"eq","gfx::handle","",152,null],[11,"ne","","",152,null],[11,"hash","","",152,null],[11,"fmt","","",152,null],[11,"clone","","",152,null],[11,"get_info","","Get raw buffer info",152,null],[11,"eq","","",69,null],[11,"ne","","",69,null],[11,"hash","","",69,null],[11,"fmt","","",69,null],[11,"clone","","",69,null],[11,"new","","",69,{"inputs":[{"name":"rawbuffer"}],"output":{"name":"buffer"}}],[11,"raw","","",69,null],[11,"get_info","","Get the associated information about the buffer",69,null],[11,"len","","Get the number of elements in the buffer.",69,null],[11,"eq","","",153,null],[11,"ne","","",153,null],[11,"hash","","",153,null],[11,"fmt","","",153,null],[11,"clone","","",153,null],[11,"eq","","",154,null],[11,"ne","","",154,null],[11,"fmt","","",154,null],[11,"clone","","",154,null],[11,"get_info","","Get program info",154,null],[11,"eq","","",155,null],[11,"ne","","",155,null],[11,"fmt","","",155,null],[11,"clone","","",155,null],[11,"eq","","",156,null],[11,"ne","","",156,null],[11,"hash","","",156,null],[11,"fmt","","",156,null],[11,"clone","","",156,null],[11,"eq","","",157,null],[11,"ne","","",157,null],[11,"hash","","",157,null],[11,"fmt","","",157,null],[11,"clone","","",157,null],[11,"get_info","","Get texture descriptor",156,null],[11,"new","","",157,{"inputs":[{"name":"rawtexture"}],"output":{"name":"texture"}}],[11,"raw","","",157,null],[11,"get_info","","Get texture descriptor",157,null],[11,"eq","","",158,null],[11,"ne","","",158,null],[11,"hash","","",158,null],[11,"fmt","","",158,null],[11,"clone","","",158,null],[11,"eq","","",159,null],[11,"ne","","",159,null],[11,"hash","","",159,null],[11,"fmt","","",159,null],[11,"clone","","",159,null],[11,"new","","",159,{"inputs":[{"name":"rawshaderresourceview"}],"output":{"name":"shaderresourceview"}}],[11,"raw","","",159,null],[11,"eq","","",160,null],[11,"ne","","",160,null],[11,"hash","","",160,null],[11,"fmt","","",160,null],[11,"clone","","",160,null],[11,"eq","","",161,null],[11,"ne","","",161,null],[11,"hash","","",161,null],[11,"fmt","","",161,null],[11,"clone","","",161,null],[11,"new","","",161,{"inputs":[{"name":"rawunorderedaccessview"}],"output":{"name":"unorderedaccessview"}}],[11,"raw","","",161,null],[11,"eq","","",162,null],[11,"ne","","",162,null],[11,"hash","","",162,null],[11,"fmt","","",162,null],[11,"clone","","",162,null],[11,"get_dimensions","","Get target dimensions",162,null],[11,"eq","","",163,null],[11,"ne","","",163,null],[11,"hash","","",163,null],[11,"fmt","","",163,null],[11,"clone","","",163,null],[11,"get_dimensions","","Get target dimensions",163,null],[11,"eq","","",164,null],[11,"ne","","",164,null],[11,"hash","","",164,null],[11,"fmt","","",164,null],[11,"clone","","",164,null],[11,"get_dimensions","","Get target dimensions",164,null],[11,"new","","",164,{"inputs":[{"name":"rawrendertargetview"}],"output":{"name":"rendertargetview"}}],[11,"raw","","",164,null],[11,"eq","","",165,null],[11,"ne","","",165,null],[11,"hash","","",165,null],[11,"fmt","","",165,null],[11,"clone","","",165,null],[11,"get_dimensions","","Get target dimensions",165,null],[11,"new","","",165,{"inputs":[{"name":"rawdepthstencilview"}],"output":{"name":"depthstencilview"}}],[11,"raw","","",165,null],[11,"eq","","",166,null],[11,"ne","","",166,null],[11,"fmt","","",166,null],[11,"clone","","",166,null],[11,"get_info","","Get sampler info",166,null],[11,"eq","","",167,null],[11,"ne","","",167,null],[11,"fmt","","",167,null],[11,"clone","","",167,null],[11,"make_buffer","","",168,null],[11,"make_shader","","",168,null],[11,"make_program","","",168,null],[11,"make_pso","","",168,null],[11,"make_texture","","",168,null],[11,"make_buffer_srv","","",168,null],[11,"make_texture_srv","","",168,null],[11,"make_buffer_uav","","",168,null],[11,"make_texture_uav","","",168,null],[11,"make_rtv","","",168,null],[11,"make_dsv","","",168,null],[11,"make_sampler","","",168,null],[11,"make_fence","","",168,null],[11,"clean_with","","",168,null],[11,"new","","Create a new handle manager",168,{"inputs":[],"output":{"name":"manager"}}],[11,"clear","","Clear all references",168,null],[11,"extend","","Extend with all references of another handle manager",168,null],[11,"count","","Count the total number of referenced resources",168,null],[11,"ref_buffer","","Reference a buffer",168,null],[11,"ref_shader","","Reference a shader",168,null],[11,"ref_program","","Reference a program",168,null],[11,"ref_pso","","Reference a pipeline state object",168,null],[11,"ref_texture","","Reference a texture",168,null],[11,"ref_srv","","Reference a shader resource view",168,null],[11,"ref_uav","","Reference an unordered access view",168,null],[11,"ref_rtv","","Reference an RTV",168,null],[11,"ref_dsv","","Reference a DSV",168,null],[11,"ref_sampler","","Reference a sampler",168,null],[11,"ref_fence","","Reference a fence",168,null],[11,"eq","gfx::pso::buffer","",73,null],[11,"ne","","",73,null],[11,"hash","","",73,null],[11,"fmt","","",73,null],[11,"clone","","",73,null],[11,"eq","gfx::pso","",70,null],[11,"ne","","",70,null],[11,"hash","","",70,null],[11,"fmt","","",70,null],[11,"clone","","",70,null],[11,"new","","Create a new empty PSO descriptor.",70,{"inputs":[{"name":"primitive"},{"name":"rasterizer"}],"output":{"name":"descriptor"}}],[11,"fmt","gfx::shade::core","",99,null],[11,"eq","","",99,null],[11,"clone","","",99,null],[11,"fmt","","",100,null],[11,"eq","","",100,null],[11,"clone","","",100,null],[11,"fmt","","",101,null],[11,"eq","","",101,null],[11,"clone","","",101,null],[11,"fmt","","",102,null],[11,"eq","","",102,null],[11,"clone","","",102,null],[11,"fmt","","",103,null],[11,"eq","","",103,null],[11,"clone","","",103,null],[11,"fmt","","",104,null],[11,"eq","","",104,null],[11,"ne","","",104,null],[11,"clone","","",104,null],[11,"can_sample","","Check if this texture can be used with a sampler.",104,null],[11,"fmt","","",105,null],[11,"eq","","",105,null],[11,"ne","","",105,null],[11,"clone","","",105,null],[11,"fmt","","",106,null],[11,"eq","","",106,null],[11,"clone","","",106,null],[11,"fmt","","",107,null],[11,"eq","","",107,null],[11,"ne","","",107,null],[11,"clone","","",107,null],[11,"eq","","",108,null],[11,"hash","","",108,null],[11,"fmt","","",108,null],[11,"clone","","",108,null],[11,"clone","","",61,null],[11,"fmt","","",61,null],[11,"hash","","",169,null],[11,"cmp","","",169,null],[11,"partial_cmp","","",169,null],[11,"lt","","",169,null],[11,"le","","",169,null],[11,"gt","","",169,null],[11,"ge","","",169,null],[11,"clone","","",169,null],[11,"eq","","",169,null],[11,"ne","","",169,null],[11,"fmt","","",169,null],[11,"empty","","Returns an empty set of flags.",169,{"inputs":[],"output":{"name":"usage"}}],[11,"all","","Returns the set containing all flags.",169,{"inputs":[],"output":{"name":"usage"}}],[11,"bits","","Returns the raw value of the flags currently stored.",169,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",169,{"inputs":[{"name":"u8"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",169,{"inputs":[{"name":"u8"}],"output":{"name":"usage"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",169,null],[11,"is_all","","Returns `true` if all flags are currently set.",169,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",169,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",169,null],[11,"insert","","Inserts the specified flags in-place.",169,null],[11,"remove","","Removes the specified flags in-place.",169,null],[11,"toggle","","Toggles the specified flags in-place.",169,null],[11,"bitor","","Returns the union of the two sets of flags.",169,null],[11,"bitor_assign","","Adds the set of flags.",169,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",169,null],[11,"bitxor_assign","","Toggles the set of flags.",169,null],[11,"bitand","","Returns the intersection between the two sets of flags.",169,null],[11,"bitand_assign","","Disables all flags disabled in the set.",169,null],[11,"sub","","Returns the set difference of the two sets of flags.",169,null],[11,"sub_assign","","Disables all flags enabled in the set.",169,null],[11,"not","","Returns the complement of this set of flags.",169,null],[11,"extend","","",169,null],[11,"from_iter","","",169,{"inputs":[{"name":"t"}],"output":{"name":"usage"}}],[11,"from","","",169,{"inputs":[{"name":"stage"}],"output":{"name":"usage"}}],[11,"fmt","","",110,null],[11,"eq","","",110,null],[11,"ne","","",110,null],[11,"clone","","",110,null],[11,"fmt","","",111,null],[11,"eq","","",111,null],[11,"ne","","",111,null],[11,"clone","","",111,null],[11,"fmt","","",112,null],[11,"eq","","",112,null],[11,"ne","","",112,null],[11,"clone","","",112,null],[11,"fmt","","",113,null],[11,"eq","","",113,null],[11,"ne","","",113,null],[11,"clone","","",113,null],[11,"fmt","","",114,null],[11,"eq","","",114,null],[11,"ne","","",114,null],[11,"clone","","",114,null],[11,"fmt","","",115,null],[11,"eq","","",115,null],[11,"ne","","",115,null],[11,"clone","","",115,null],[11,"fmt","","",116,null],[11,"eq","","",116,null],[11,"ne","","",116,null],[11,"clone","","",116,null],[11,"fmt","","",60,null],[11,"eq","","",60,null],[11,"ne","","",60,null],[11,"clone","","",60,null],[11,"fmt","","",117,null],[11,"clone","","",117,null],[11,"fmt","","",117,null],[11,"description","","",117,null],[11,"is_compatible","","Whether a value is compatible with this variable. That is, whether the value can be stored\nin this variable.",111,null],[11,"fmt","","",118,null],[11,"eq","","",118,null],[11,"ne","","",118,null],[11,"clone","","",118,null],[11,"fmt","","",118,null],[11,"description","","",118,null],[11,"eq","gfx::tex","",35,null],[11,"ne","","",35,null],[11,"fmt","","",35,null],[11,"clone","","",35,null],[11,"fmt","","",35,null],[11,"description","","",35,null],[11,"fmt","","",36,null],[11,"clone","","",36,null],[11,"hash","","",36,null],[11,"partial_cmp","","",36,null],[11,"lt","","",36,null],[11,"le","","",36,null],[11,"gt","","",36,null],[11,"ge","","",36,null],[11,"eq","","",36,null],[11,"ne","","",36,null],[11,"cmp","","",36,null],[11,"from","","",36,{"inputs":[{"name":"u8"}],"output":{"name":"aamode"}}],[11,"get_num_fragments","","Return the number of actual data fragments stored per texel.",36,null],[11,"needs_resolve","","Return true if the surface has to be resolved before sampling.",36,null],[11,"fmt","","",37,null],[11,"clone","","",37,null],[11,"hash","","",37,null],[11,"partial_cmp","","",37,null],[11,"lt","","",37,null],[11,"le","","",37,null],[11,"gt","","",37,null],[11,"ge","","",37,null],[11,"eq","","",37,null],[11,"ne","","",37,null],[11,"cmp","","",37,null],[11,"fmt","","",38,null],[11,"clone","","",38,null],[11,"hash","","",38,null],[11,"partial_cmp","","",38,null],[11,"eq","","",38,null],[11,"cmp","","",38,null],[11,"fmt","","",39,null],[11,"clone","","",39,null],[11,"hash","","",39,null],[11,"partial_cmp","","",39,null],[11,"lt","","",39,null],[11,"le","","",39,null],[11,"gt","","",39,null],[11,"ge","","",39,null],[11,"eq","","",39,null],[11,"ne","","",39,null],[11,"cmp","","",39,null],[11,"get_dimensions","","Get texture dimensions, with 0 values where not applicable.",39,null],[11,"get_level_dimensions","","Get the dimensionality of a particular mipmap level.",39,null],[11,"get_num_levels","","Count the number of mipmap levels.",39,null],[11,"get_num_slices","","Return the number of slices for an array, or None for non-arrays.",39,null],[11,"is_cube","","Check if it's one of the cube kinds.",39,null],[11,"fmt","","",40,null],[11,"clone","","",40,null],[11,"hash","","",40,null],[11,"partial_cmp","","",40,null],[11,"lt","","",40,null],[11,"le","","",40,null],[11,"gt","","",40,null],[11,"ge","","",40,null],[11,"eq","","",40,null],[11,"ne","","",40,null],[11,"cmp","","",40,null],[11,"get_texel_count","","Get the total number of texels.",40,null],[11,"convert","","Convert into a differently typed format.",40,null],[11,"is_inside","","Check if it fits inside given dimensions.",40,null],[11,"fmt","","",41,null],[11,"clone","","",41,null],[11,"hash","","",41,null],[11,"partial_cmp","","",41,null],[11,"eq","","",41,null],[11,"cmp","","",41,null],[11,"partial_cmp","","",170,null],[11,"lt","","",170,null],[11,"le","","",170,null],[11,"gt","","",170,null],[11,"ge","","",170,null],[11,"eq","","",170,null],[11,"ne","","",170,null],[11,"hash","","",170,null],[11,"fmt","","",170,null],[11,"clone","","",170,null],[11,"from","","",170,{"inputs":[{"name":"f32"}],"output":{"name":"lod"}}],[11,"into","","",170,null],[11,"partial_cmp","","",42,null],[11,"lt","","",42,null],[11,"le","","",42,null],[11,"gt","","",42,null],[11,"ge","","",42,null],[11,"eq","","",42,null],[11,"ne","","",42,null],[11,"hash","","",42,null],[11,"fmt","","",42,null],[11,"clone","","",42,null],[11,"from","","",42,null],[11,"into","","",42,null],[11,"partial_cmp","","",43,null],[11,"lt","","",43,null],[11,"le","","",43,null],[11,"gt","","",43,null],[11,"ge","","",43,null],[11,"eq","","",43,null],[11,"ne","","",43,null],[11,"hash","","",43,null],[11,"fmt","","",43,null],[11,"clone","","",43,null],[11,"new","","Create a new sampler description with a given filter method and wrapping mode, using no LOD\nmodifications.",43,{"inputs":[{"name":"filtermethod"},{"name":"wrapmode"}],"output":{"name":"samplerinfo"}}],[11,"fmt","","",44,null],[11,"clone","","",44,null],[11,"hash","","",44,null],[11,"partial_cmp","","",44,null],[11,"lt","","",44,null],[11,"le","","",44,null],[11,"gt","","",44,null],[11,"ge","","",44,null],[11,"eq","","",44,null],[11,"ne","","",44,null],[11,"cmp","","",44,null],[11,"to_image_info","","Get image info for a given mip.",44,null],[11,"to_raw_image_info","","Get the raw image info for a given mip and a channel type.",44,null],[11,"fmt","","",45,null],[11,"clone","","",45,null],[11,"hash","","",45,null],[11,"partial_cmp","","",45,null],[11,"lt","","",45,null],[11,"le","","",45,null],[11,"gt","","",45,null],[11,"ge","","",45,null],[11,"eq","","",45,null],[11,"ne","","",45,null],[11,"cmp","","",45,null],[11,"fmt","","",46,null],[11,"clone","","",46,null],[11,"hash","","",46,null],[11,"partial_cmp","","",46,null],[11,"lt","","",46,null],[11,"le","","",46,null],[11,"gt","","",46,null],[11,"ge","","",46,null],[11,"eq","","",46,null],[11,"ne","","",46,null],[11,"cmp","","",46,null],[11,"hash","","",171,null],[11,"cmp","","",171,null],[11,"partial_cmp","","",171,null],[11,"lt","","",171,null],[11,"le","","",171,null],[11,"gt","","",171,null],[11,"ge","","",171,null],[11,"clone","","",171,null],[11,"eq","","",171,null],[11,"ne","","",171,null],[11,"fmt","","",171,null],[11,"empty","","Returns an empty set of flags.",171,{"inputs":[],"output":{"name":"depthstencilflags"}}],[11,"all","","Returns the set containing all flags.",171,{"inputs":[],"output":{"name":"depthstencilflags"}}],[11,"bits","","Returns the raw value of the flags currently stored.",171,null],[11,"from_bits","","Convert from underlying bit representation, unless that\nrepresentation contains bits that do not correspond to a flag.",171,{"inputs":[{"name":"u8"}],"output":{"name":"option"}}],[11,"from_bits_truncate","","Convert from underlying bit representation, dropping any bits\nthat do not correspond to flags.",171,{"inputs":[{"name":"u8"}],"output":{"name":"depthstencilflags"}}],[11,"is_empty","","Returns `true` if no flags are currently stored.",171,null],[11,"is_all","","Returns `true` if all flags are currently set.",171,null],[11,"intersects","","Returns `true` if there are flags common to both `self` and `other`.",171,null],[11,"contains","","Returns `true` all of the flags in `other` are contained within `self`.",171,null],[11,"insert","","Inserts the specified flags in-place.",171,null],[11,"remove","","Removes the specified flags in-place.",171,null],[11,"toggle","","Toggles the specified flags in-place.",171,null],[11,"bitor","","Returns the union of the two sets of flags.",171,null],[11,"bitor_assign","","Adds the set of flags.",171,null],[11,"bitxor","","Returns the left flags, but with all the right flags toggled.",171,null],[11,"bitxor_assign","","Toggles the set of flags.",171,null],[11,"bitand","","Returns the intersection between the two sets of flags.",171,null],[11,"bitand_assign","","Disables all flags disabled in the set.",171,null],[11,"sub","","Returns the set difference of the two sets of flags.",171,null],[11,"sub_assign","","Disables all flags enabled in the set.",171,null],[11,"not","","Returns the complement of this set of flags.",171,null],[11,"extend","","",171,null],[11,"from_iter","","",171,{"inputs":[{"name":"t"}],"output":{"name":"depthstencilflags"}}],[11,"fmt","","",47,null],[11,"clone","","",47,null],[11,"hash","","",47,null],[11,"partial_cmp","","",47,null],[11,"lt","","",47,null],[11,"le","","",47,null],[11,"gt","","",47,null],[11,"ge","","",47,null],[11,"eq","","",47,null],[11,"ne","","",47,null],[11,"cmp","","",47,null],[11,"from","","",47,{"inputs":[{"name":"renderdesc"}],"output":{"name":"depthstencildesc"}}],[11,"reference","gfx","",172,null],[11,"reference","","",173,null],[11,"reference","","",174,null],[11,"reference","","",175,null],[11,"reference","","",176,null],[11,"get_usage","","Return the aggregated stage usage for the set.",20,null],[11,"eq","","",19,null],[11,"hash","","",19,null],[11,"fmt","","",19,null],[11,"clone","","",19,null]],"paths":[[4,"FrontFace"],[3,"Offset"],[4,"CullFace"],[4,"RasterMethod"],[3,"Rasterizer"],[4,"Comparison"],[4,"StencilOp"],[3,"StencilSide"],[3,"Stencil"],[3,"Depth"],[4,"Equation"],[4,"BlendValue"],[4,"Factor"],[3,"BlendChannel"],[3,"Blend"],[3,"Color"],[3,"RefValues"],[8,"Device"],[8,"Resources"],[4,"Primitive"],[4,"ShaderSet"],[4,"ChannelType"],[4,"SurfaceType"],[4,"ChannelSource"],[3,"Swizzle"],[3,"Format"],[8,"SurfaceTyped"],[8,"ChannelTyped"],[8,"Formatted"],[3,"U8Norm"],[3,"I8Norm"],[3,"U16Norm"],[3,"I16Norm"],[3,"F16"],[8,"Producer"],[4,"Error"],[4,"AaMode"],[4,"FilterMethod"],[4,"CubeFace"],[4,"Kind"],[3,"ImageInfoCommon"],[4,"WrapMode"],[3,"PackedColor"],[3,"SamplerInfo"],[3,"Descriptor"],[3,"ResourceDesc"],[3,"RenderDesc"],[3,"DepthStencilDesc"],[8,"Factory"],[8,"Typed"],[4,"Usage"],[4,"MapAccess"],[4,"BufferRole"],[3,"BufferInfo"],[4,"BufferError"],[4,"BufferUpdateError"],[4,"ResourceViewError"],[4,"TargetViewError"],[4,"CombinedError"],[8,"CommandBuffer"],[3,"ProgramInfo"],[4,"UniformValue"],[3,"Slice"],[4,"UpdateError"],[4,"PipelineStateError"],[4,"IndexBuffer"],[8,"DeviceFence"],[8,"FactoryExt"],[3,"Encoder"],[3,"Buffer"],[3,"Descriptor"],[3,"RawDataSet"],[4,"InitError"],[3,"Element"],[8,"Structure"],[3,"VertexBufferCommon"],[3,"RawVertexBuffer"],[3,"ConstantBuffer"],[3,"Global"],[3,"ShaderResource"],[3,"RawShaderResource"],[3,"UnorderedAccess"],[3,"Sampler"],[3,"TextureSampler"],[3,"RenderTarget"],[3,"BlendTarget"],[3,"RawRenderTarget"],[3,"DepthTarget"],[3,"StencilTarget"],[3,"DepthStencilTarget"],[3,"Scissor"],[3,"BlendRef"],[3,"Bundle"],[8,"PipelineInit"],[8,"PipelineData"],[8,"DataLink"],[8,"DataBind"],[3,"PipelineState"],[8,"Formatted"],[4,"IsArray"],[4,"IsComparison"],[4,"IsMultiSample"],[4,"IsRect"],[4,"MatrixFormat"],[4,"TextureType"],[3,"SamplerType"],[4,"BaseType"],[4,"ContainerType"],[4,"Stage"],[8,"BaseTyped"],[3,"AttributeVar"],[3,"ConstVar"],[3,"ConstantBufferVar"],[3,"TextureVar"],[3,"UnorderedVar"],[3,"SamplerVar"],[3,"OutputVar"],[4,"CompatibilityError"],[4,"CreateShaderError"],[4,"ProgramError"],[8,"ToUniform"],[8,"IntoIndexBuffer"],[3,"MultiSample"],[3,"ColorMask"],[3,"Bind"],[4,"Int"],[4,"Uint"],[4,"Inorm"],[4,"Unorm"],[4,"Float"],[4,"Srgb"],[4,"R4_G4"],[4,"R4_G4_B4_A4"],[4,"R5_G5_B5_A1"],[4,"R5_G6_B5"],[4,"R8"],[4,"R8_G8"],[4,"R8_G8_B8_A8"],[4,"R10_G10_B10_A2"],[4,"R11_G11_B10"],[4,"R16"],[4,"R16_G16"],[4,"R16_G16_B16"],[4,"R16_G16_B16_A16"],[4,"R32"],[4,"R32_G32"],[4,"R32_G32_B32"],[4,"R32_G32_B32_A32"],[4,"D16"],[4,"D24"],[4,"D24_S8"],[4,"D32"],[3,"RawBuffer"],[3,"Shader"],[3,"Program"],[3,"RawPipelineState"],[3,"RawTexture"],[3,"Texture"],[3,"RawShaderResourceView"],[3,"ShaderResourceView"],[3,"RawUnorderedAccessView"],[3,"UnorderedAccessView"],[3,"RawRenderTargetView"],[3,"RawDepthStencilView"],[3,"RenderTargetView"],[3,"DepthStencilView"],[3,"Sampler"],[3,"Fence"],[3,"Manager"],[3,"Usage"],[3,"Lod"],[3,"DepthStencilFlags"],[3,"VertexShader"],[3,"HullShader"],[3,"DomainShader"],[3,"GeometryShader"],[3,"PixelShader"]]}; initSearch(searchIndex);