[{"data":1,"prerenderedAt":477},["ShallowReactive",2],{"mWkg960w4y":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":13,"type":15,"xrefs":16,"body":17,"_type":476,"_id":4},"vkCmdSetDepthBias2EXT","Set depth bias factors and clamp dynamically for a command buffer","VK_EXT_depth_bias_control",[8,9],"primary","secondary","both",[12],"graphics",[14],"state","protos",[],{"type":18,"children":19,"toc":474},"root",[20,37,233,267,296,422,468],{"type":21,"tag":22,"props":23,"children":24},"element","p",{},[25,28,35],{"type":26,"value":27},"text","To ",{"type":21,"tag":29,"props":30,"children":32},"a",{"href":31},"/chapters/pipelines#pipelines-dynamic-state",[33],{"type":26,"value":34},"dynamically set",{"type":26,"value":36}," the depth bias parameters,\ncall:",{"type":21,"tag":38,"props":39,"children":40},"code-group",{},[41,127],{"type":21,"tag":42,"props":43,"children":49},"pre",{"className":44,"code":45,"filename":46,"language":47,"meta":48,"style":48},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdSetDepthBias2EXT(\n VkCommandBuffer commandBuffer,\n const VkDepthBiasInfoEXT* pDepthBiasInfo);\n","C","c","",[50],{"type":21,"tag":51,"props":52,"children":53},"code",{"__ignoreMap":48},[54,78,98],{"type":21,"tag":55,"props":56,"children":59},"span",{"class":57,"line":58},"line",1,[60,66,72],{"type":21,"tag":55,"props":61,"children":63},{"style":62},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[64],{"type":26,"value":65},"void",{"type":21,"tag":55,"props":67,"children":69},{"style":68},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[70],{"type":26,"value":71}," vkCmdSetDepthBias2EXT",{"type":21,"tag":55,"props":73,"children":75},{"style":74},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[76],{"type":26,"value":77},"(\n",{"type":21,"tag":55,"props":79,"children":81},{"class":57,"line":80},2,[82,87,93],{"type":21,"tag":55,"props":83,"children":84},{"style":74},[85],{"type":26,"value":86}," VkCommandBuffer ",{"type":21,"tag":55,"props":88,"children":90},{"style":89},"--shiki-default:#953800;--shiki-dark:#FFA657",[91],{"type":26,"value":92},"commandBuffer",{"type":21,"tag":55,"props":94,"children":95},{"style":74},[96],{"type":26,"value":97},",\n",{"type":21,"tag":55,"props":99,"children":101},{"class":57,"line":100},3,[102,107,112,117,122],{"type":21,"tag":55,"props":103,"children":104},{"style":62},[105],{"type":26,"value":106}," const",{"type":21,"tag":55,"props":108,"children":109},{"style":74},[110],{"type":26,"value":111}," VkDepthBiasInfoEXT",{"type":21,"tag":55,"props":113,"children":114},{"style":62},[115],{"type":26,"value":116},"*",{"type":21,"tag":55,"props":118,"children":119},{"style":89},[120],{"type":26,"value":121}," pDepthBiasInfo",{"type":21,"tag":55,"props":123,"children":124},{"style":74},[125],{"type":26,"value":126},");\n",{"type":21,"tag":42,"props":128,"children":133},{"className":129,"code":130,"filename":131,"language":132,"meta":48,"style":48},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_set_depth_bias2_ext(\n command_buffer: vk::CommandBuffer,\n p_depth_bias_info: *const vk::DepthBiasInfoEXT,\n);\n","Rust","rs",[134],{"type":21,"tag":51,"props":135,"children":136},{"__ignoreMap":48},[137,159,191,225],{"type":21,"tag":55,"props":138,"children":139},{"class":57,"line":58},[140,145,150,155],{"type":21,"tag":55,"props":141,"children":142},{"style":62},[143],{"type":26,"value":144},"pub",{"type":21,"tag":55,"props":146,"children":147},{"style":62},[148],{"type":26,"value":149}," fn",{"type":21,"tag":55,"props":151,"children":152},{"style":68},[153],{"type":26,"value":154}," cmd_set_depth_bias2_ext",{"type":21,"tag":55,"props":156,"children":157},{"style":74},[158],{"type":26,"value":77},{"type":21,"tag":55,"props":160,"children":161},{"class":57,"line":80},[162,167,172,177,182,187],{"type":21,"tag":55,"props":163,"children":164},{"style":74},[165],{"type":26,"value":166}," command_buffer",{"type":21,"tag":55,"props":168,"children":169},{"style":62},[170],{"type":26,"value":171},":",{"type":21,"tag":55,"props":173,"children":174},{"style":89},[175],{"type":26,"value":176}," vk",{"type":21,"tag":55,"props":178,"children":179},{"style":62},[180],{"type":26,"value":181},"::",{"type":21,"tag":55,"props":183,"children":184},{"style":89},[185],{"type":26,"value":186},"CommandBuffer",{"type":21,"tag":55,"props":188,"children":189},{"style":74},[190],{"type":26,"value":97},{"type":21,"tag":55,"props":192,"children":193},{"class":57,"line":100},[194,199,203,208,212,216,221],{"type":21,"tag":55,"props":195,"children":196},{"style":74},[197],{"type":26,"value":198}," p_depth_bias_info",{"type":21,"tag":55,"props":200,"children":201},{"style":62},[202],{"type":26,"value":171},{"type":21,"tag":55,"props":204,"children":205},{"style":62},[206],{"type":26,"value":207}," *const",{"type":21,"tag":55,"props":209,"children":210},{"style":89},[211],{"type":26,"value":176},{"type":21,"tag":55,"props":213,"children":214},{"style":62},[215],{"type":26,"value":181},{"type":21,"tag":55,"props":217,"children":218},{"style":89},[219],{"type":26,"value":220},"DepthBiasInfoEXT",{"type":21,"tag":55,"props":222,"children":223},{"style":74},[224],{"type":26,"value":97},{"type":21,"tag":55,"props":226,"children":228},{"class":57,"line":227},4,[229],{"type":21,"tag":55,"props":230,"children":231},{"style":74},[232],{"type":26,"value":126},{"type":21,"tag":234,"props":235,"children":236},"ul",{},[237,248],{"type":21,"tag":238,"props":239,"children":240},"li",{},[241,246],{"type":21,"tag":51,"props":242,"children":244},{"className":243},[],[245],{"type":26,"value":92},{"type":26,"value":247}," is the command buffer into which the command will be\nrecorded.",{"type":21,"tag":238,"props":249,"children":250},{},[251,257,259,265],{"type":21,"tag":51,"props":252,"children":254},{"className":253},[],[255],{"type":26,"value":256},"pDepthBiasInfo",{"type":26,"value":258}," is a pointer to a ",{"type":21,"tag":29,"props":260,"children":262},{"href":261},"/man/VkDepthBiasInfoEXT",[263],{"type":26,"value":264},"VkDepthBiasInfoEXT",{"type":26,"value":266},"\nstructure specifying depth bias parameters.",{"type":21,"tag":22,"props":268,"children":269},{},[270,272,278,280,286,288,294],{"type":26,"value":271},"This command is functionally identical to ",{"type":21,"tag":29,"props":273,"children":275},{"href":274},"/man/vkCmdSetDepthBias",[276],{"type":26,"value":277},"vkCmdSetDepthBias",{"type":26,"value":279},", but\nincludes extensible sub-structures that include ",{"type":21,"tag":51,"props":281,"children":283},{"className":282},[],[284],{"type":26,"value":285},"sType",{"type":26,"value":287}," and ",{"type":21,"tag":51,"props":289,"children":291},{"className":290},[],[292],{"type":26,"value":293},"pNext",{"type":26,"value":295},"\nparameters, allowing them to be more easily extended.",{"type":21,"tag":297,"props":298,"children":300},"validity-group",{"name":299},"Valid Usage (Implicit)",[301,331,355,379,408],{"type":21,"tag":302,"props":303,"children":305},"validity-field",{"name":304},"VUID-vkCmdSetDepthBias2EXT-commandBuffer-parameter",[306],{"type":21,"tag":22,"props":307,"children":308},{},[309,314,316,321,323,329],{"type":21,"tag":51,"props":310,"children":312},{"className":311},[],[313],{"type":26,"value":92},{"type":26,"value":315}," ",{"type":21,"tag":317,"props":318,"children":320},"normative",{"type":319},"must",[],{"type":26,"value":322}," be a valid ",{"type":21,"tag":29,"props":324,"children":326},{"href":325},"/man/VkCommandBuffer",[327],{"type":26,"value":328},"VkCommandBuffer",{"type":26,"value":330}," handle",{"type":21,"tag":302,"props":332,"children":334},{"name":333},"VUID-vkCmdSetDepthBias2EXT-pDepthBiasInfo-parameter",[335],{"type":21,"tag":22,"props":336,"children":337},{},[338,343,344,347,349,353],{"type":21,"tag":51,"props":339,"children":341},{"className":340},[],[342],{"type":26,"value":256},{"type":26,"value":315},{"type":21,"tag":317,"props":345,"children":346},{"type":319},[],{"type":26,"value":348}," be a valid pointer to a valid ",{"type":21,"tag":29,"props":350,"children":351},{"href":261},[352],{"type":26,"value":264},{"type":26,"value":354}," structure",{"type":21,"tag":302,"props":356,"children":358},{"name":357},"VUID-vkCmdSetDepthBias2EXT-commandBuffer-recording",[359],{"type":21,"tag":22,"props":360,"children":361},{},[362,367,368,371,373],{"type":21,"tag":51,"props":363,"children":365},{"className":364},[],[366],{"type":26,"value":92},{"type":26,"value":315},{"type":21,"tag":317,"props":369,"children":370},{"type":319},[],{"type":26,"value":372}," be in the ",{"type":21,"tag":29,"props":374,"children":376},{"href":375},"/chapters/commandbuffers#commandbuffers-lifecycle",[377],{"type":26,"value":378},"recording state",{"type":21,"tag":302,"props":380,"children":382},{"name":381},"VUID-vkCmdSetDepthBias2EXT-commandBuffer-cmdpool",[383],{"type":21,"tag":22,"props":384,"children":385},{},[386,388,394,396,401,403,406],{"type":26,"value":387},"The ",{"type":21,"tag":51,"props":389,"children":391},{"className":390},[],[392],{"type":26,"value":393},"VkCommandPool",{"type":26,"value":395}," that ",{"type":21,"tag":51,"props":397,"children":399},{"className":398},[],[400],{"type":26,"value":92},{"type":26,"value":402}," was allocated from ",{"type":21,"tag":317,"props":404,"children":405},{"type":319},[],{"type":26,"value":407}," support graphics operations",{"type":21,"tag":302,"props":409,"children":411},{"name":410},"VUID-vkCmdSetDepthBias2EXT-videocoding",[412],{"type":21,"tag":22,"props":413,"children":414},{},[415,417,420],{"type":26,"value":416},"This command ",{"type":21,"tag":317,"props":418,"children":419},{"type":319},[],{"type":26,"value":421}," only be called outside of a video coding scope",{"type":21,"tag":423,"props":424,"children":426},"validity-box",{"name":425},"Host Synchronization",[427],{"type":21,"tag":234,"props":428,"children":429},{},[430,446],{"type":21,"tag":238,"props":431,"children":432},{},[433,435,440,441,444],{"type":26,"value":434},"Host access to ",{"type":21,"tag":51,"props":436,"children":438},{"className":437},[],[439],{"type":26,"value":92},{"type":26,"value":315},{"type":21,"tag":317,"props":442,"children":443},{"type":319},[],{"type":26,"value":445}," be externally synchronized",{"type":21,"tag":238,"props":447,"children":448},{},[449,451,456,457,462,463,466],{"type":26,"value":450},"Host access to the ",{"type":21,"tag":51,"props":452,"children":454},{"className":453},[],[455],{"type":26,"value":393},{"type":26,"value":395},{"type":21,"tag":51,"props":458,"children":460},{"className":459},[],[461],{"type":26,"value":92},{"type":26,"value":402},{"type":21,"tag":317,"props":464,"children":465},{"type":319},[],{"type":26,"value":467}," be externally synchronized\n::",{"type":21,"tag":469,"props":470,"children":471},"style",{},[472],{"type":26,"value":473},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":48,"searchDepth":80,"depth":80,"links":475},[],"markdown",1725732608276]