[{"data":1,"prerenderedAt":572},["ShallowReactive",2],{"BELBwCQe7j":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":571,"_id":4},"VkDepthBiasInfoEXT","Structure specifying depth bias parameters","VK_EXT_depth_bias_control","structs",[],{"type":10,"children":11,"toc":569},"root",[12,28,301,378,435,481,563],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,144],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDepthBiasInfoEXT {\n VkStructureType sType;\n const void* pNext;\n float depthBiasConstantFactor;\n float depthBiasClamp;\n float depthBiasSlopeFactor;\n} VkDepthBiasInfoEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,122,135],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkDepthBiasInfoEXT {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," float",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," depthBiasConstantFactor;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113,117],{"type":13,"tag":45,"props":114,"children":115},{"style":52},[116],{"type":18,"value":103},{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," depthBiasClamp;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},6,[126,130],{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":103},{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134}," depthBiasSlopeFactor;\n",{"type":13,"tag":45,"props":136,"children":138},{"class":47,"line":137},7,[139],{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143},"} VkDepthBiasInfoEXT;\n",{"type":13,"tag":33,"props":145,"children":150},{"className":146,"code":147,"filename":148,"language":149,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DepthBiasInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n depth_bias_constant_factor: f32,\n depth_bias_clamp: f32,\n depth_bias_slope_factor: f32,\n}\n","Rust","rs",[151],{"type":13,"tag":21,"props":152,"children":153},{"__ignoreMap":39},[154,177,210,232,253,273,293],{"type":13,"tag":45,"props":155,"children":156},{"class":47,"line":48},[157,162,166,172],{"type":13,"tag":45,"props":158,"children":159},{"style":52},[160],{"type":18,"value":161},"pub",{"type":13,"tag":45,"props":163,"children":164},{"style":52},[165],{"type":18,"value":60},{"type":13,"tag":45,"props":167,"children":169},{"style":168},"--shiki-default:#953800;--shiki-dark:#FFA657",[170],{"type":18,"value":171}," DepthBiasInfoEXT",{"type":13,"tag":45,"props":173,"children":174},{"style":63},[175],{"type":18,"value":176}," {\n",{"type":13,"tag":45,"props":178,"children":179},{"class":47,"line":69},[180,185,190,195,200,205],{"type":13,"tag":45,"props":181,"children":182},{"style":63},[183],{"type":18,"value":184}," s_type",{"type":13,"tag":45,"props":186,"children":187},{"style":52},[188],{"type":18,"value":189},":",{"type":13,"tag":45,"props":191,"children":192},{"style":168},[193],{"type":18,"value":194}," vk",{"type":13,"tag":45,"props":196,"children":197},{"style":52},[198],{"type":18,"value":199},"::",{"type":13,"tag":45,"props":201,"children":202},{"style":168},[203],{"type":18,"value":204},"StructureType",{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":209},",\n",{"type":13,"tag":45,"props":211,"children":212},{"class":47,"line":78},[213,218,222,227],{"type":13,"tag":45,"props":214,"children":215},{"style":63},[216],{"type":18,"value":217}," p_next",{"type":13,"tag":45,"props":219,"children":220},{"style":52},[221],{"type":18,"value":189},{"type":13,"tag":45,"props":223,"children":224},{"style":52},[225],{"type":18,"value":226}," *const",{"type":13,"tag":45,"props":228,"children":229},{"style":63},[230],{"type":18,"value":231}," c_void,\n",{"type":13,"tag":45,"props":233,"children":234},{"class":47,"line":97},[235,240,244,249],{"type":13,"tag":45,"props":236,"children":237},{"style":63},[238],{"type":18,"value":239}," depth_bias_constant_factor",{"type":13,"tag":45,"props":241,"children":242},{"style":52},[243],{"type":18,"value":189},{"type":13,"tag":45,"props":245,"children":246},{"style":168},[247],{"type":18,"value":248}," f32",{"type":13,"tag":45,"props":250,"children":251},{"style":63},[252],{"type":18,"value":209},{"type":13,"tag":45,"props":254,"children":255},{"class":47,"line":111},[256,261,265,269],{"type":13,"tag":45,"props":257,"children":258},{"style":63},[259],{"type":18,"value":260}," depth_bias_clamp",{"type":13,"tag":45,"props":262,"children":263},{"style":52},[264],{"type":18,"value":189},{"type":13,"tag":45,"props":266,"children":267},{"style":168},[268],{"type":18,"value":248},{"type":13,"tag":45,"props":270,"children":271},{"style":63},[272],{"type":18,"value":209},{"type":13,"tag":45,"props":274,"children":275},{"class":47,"line":124},[276,281,285,289],{"type":13,"tag":45,"props":277,"children":278},{"style":63},[279],{"type":18,"value":280}," depth_bias_slope_factor",{"type":13,"tag":45,"props":282,"children":283},{"style":52},[284],{"type":18,"value":189},{"type":13,"tag":45,"props":286,"children":287},{"style":168},[288],{"type":18,"value":248},{"type":13,"tag":45,"props":290,"children":291},{"style":63},[292],{"type":18,"value":209},{"type":13,"tag":45,"props":294,"children":295},{"class":47,"line":137},[296],{"type":13,"tag":45,"props":297,"children":298},{"style":63},[299],{"type":18,"value":300},"}\n",{"type":13,"tag":302,"props":303,"children":304},"ul",{},[305,326,345,356,367],{"type":13,"tag":306,"props":307,"children":308},"li",{},[309,315,317,324],{"type":13,"tag":21,"props":310,"children":312},{"className":311},[],[313],{"type":18,"value":314},"sType",{"type":18,"value":316}," is a ",{"type":13,"tag":318,"props":319,"children":321},"a",{"href":320},"/man/VkStructureType",[322],{"type":18,"value":323},"VkStructureType",{"type":18,"value":325}," value identifying this structure.",{"type":13,"tag":306,"props":327,"children":328},{},[329,335,337,343],{"type":13,"tag":21,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":334},"pNext",{"type":18,"value":336}," is ",{"type":13,"tag":21,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":342},"NULL",{"type":18,"value":344}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":306,"props":346,"children":347},{},[348,354],{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":353},"depthBiasConstantFactor",{"type":18,"value":355}," is a scalar factor controlling the\nconstant depth value added to each fragment.",{"type":13,"tag":306,"props":357,"children":358},{},[359,365],{"type":13,"tag":21,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":364},"depthBiasClamp",{"type":18,"value":366}," is the maximum (or minimum) depth bias of a\nfragment.",{"type":13,"tag":306,"props":368,"children":369},{},[370,376],{"type":13,"tag":21,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"depthBiasSlopeFactor",{"type":18,"value":377}," is a scalar factor applied to a fragment’s\nslope in depth bias calculations.",{"type":13,"tag":14,"props":379,"children":380},{},[381,383,388,390,396,398,402,404,410,412,418,420,426,427,433],{"type":18,"value":382},"If ",{"type":13,"tag":21,"props":384,"children":386},{"className":385},[],[387],{"type":18,"value":334},{"type":18,"value":389}," does not contain a ",{"type":13,"tag":318,"props":391,"children":393},{"href":392},"/man/VkDepthBiasRepresentationInfoEXT",[394],{"type":18,"value":395},"VkDepthBiasRepresentationInfoEXT",{"type":18,"value":397},"\nstructure, then this command is equivalent to including a\n",{"type":13,"tag":318,"props":399,"children":400},{"href":392},[401],{"type":18,"value":395},{"type":18,"value":403}," with ",{"type":13,"tag":21,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":409},"depthBiasExact",{"type":18,"value":411}," set to\n",{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"VK_FALSE",{"type":18,"value":419}," and ",{"type":13,"tag":21,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":425},"depthBiasRepresentation",{"type":18,"value":411},{"type":13,"tag":21,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":432},"VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORMAT_EXT",{"type":18,"value":434},".",{"type":13,"tag":436,"props":437,"children":439},"validity-group",{"name":438},"Valid Usage",[440],{"type":13,"tag":441,"props":442,"children":444},"validity-field",{"name":443},"VUID-VkDepthBiasInfoEXT-depthBiasClamp-08950",[445],{"type":13,"tag":14,"props":446,"children":447},{},[448,450,459,461,466,468,473,475],{"type":18,"value":449},"If the ",{"type":13,"tag":318,"props":451,"children":453},{"href":452},"/man/VkPhysicalDeviceFeatures#features-depthBiasClamp",[454],{"type":13,"tag":21,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":364},{"type":18,"value":460}," feature is not\nenabled, ",{"type":13,"tag":21,"props":462,"children":464},{"className":463},[],[465],{"type":18,"value":364},{"type":18,"value":467}," ",{"type":13,"tag":469,"props":470,"children":472},"normative",{"type":471},"must",[],{"type":18,"value":474}," be ",{"type":13,"tag":21,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":480},"0.0",{"type":13,"tag":436,"props":482,"children":484},{"name":483},"Valid Usage (Implicit)",[485,508,536],{"type":13,"tag":441,"props":486,"children":488},{"name":487},"VUID-VkDepthBiasInfoEXT-sType-sType",[489],{"type":13,"tag":14,"props":490,"children":491},{},[492,497,498,501,502],{"type":13,"tag":21,"props":493,"children":495},{"className":494},[],[496],{"type":18,"value":314},{"type":18,"value":467},{"type":13,"tag":469,"props":499,"children":500},{"type":471},[],{"type":18,"value":474},{"type":13,"tag":21,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":507},"VK_STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXT",{"type":13,"tag":441,"props":509,"children":511},{"name":510},"VUID-VkDepthBiasInfoEXT-pNext-pNext",[512],{"type":13,"tag":14,"props":513,"children":514},{},[515,520,521,524,525,530,532],{"type":13,"tag":21,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":334},{"type":18,"value":467},{"type":13,"tag":469,"props":522,"children":523},{"type":471},[],{"type":18,"value":474},{"type":13,"tag":21,"props":526,"children":528},{"className":527},[],[529],{"type":18,"value":342},{"type":18,"value":531}," or a pointer to a valid instance of ",{"type":13,"tag":318,"props":533,"children":534},{"href":392},[535],{"type":18,"value":395},{"type":13,"tag":441,"props":537,"children":539},{"name":538},"VUID-VkDepthBiasInfoEXT-sType-unique",[540],{"type":13,"tag":14,"props":541,"children":542},{},[543,544,549,551,556,558,561],{"type":18,"value":19},{"type":13,"tag":21,"props":545,"children":547},{"className":546},[],[548],{"type":18,"value":314},{"type":18,"value":550}," value of each struct in the ",{"type":13,"tag":21,"props":552,"children":554},{"className":553},[],[555],{"type":18,"value":334},{"type":18,"value":557}," chain ",{"type":13,"tag":469,"props":559,"children":560},{"type":471},[],{"type":18,"value":562}," be unique",{"type":13,"tag":564,"props":565,"children":566},"style",{},[567],{"type":18,"value":568},"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":39,"searchDepth":69,"depth":69,"links":570},[],"markdown",1725732546360]