[{"data":1,"prerenderedAt":517},["ShallowReactive",2],{"3dJQhOckRv":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":516,"_id":4},"vkCmdSetCoverageToColorLocationNV","Specify the coverage to color location dynamically for a command buffer","VK_EXT_extended_dynamic_state3, VK_EXT_shader_object",[8,9],"primary","secondary","both",[12],"graphics",[14],"state","protos",[],{"type":18,"children":19,"toc":514},"root",[20,46,218,250,307,392,416,444,458,462,508],{"type":21,"tag":22,"props":23,"children":24},"element","p",{},[25,28,35,37,44],{"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\n",{"type":21,"tag":38,"props":39,"children":41},"code",{"className":40},[],[42],{"type":26,"value":43},"coverageToColorLocation",{"type":26,"value":45}," state, call:",{"type":21,"tag":47,"props":48,"children":49},"code-group",{},[50,125],{"type":21,"tag":51,"props":52,"children":58},"pre",{"className":53,"code":54,"filename":55,"language":56,"meta":57,"style":57},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdSetCoverageToColorLocationNV(\n VkCommandBuffer commandBuffer,\n uint32_t coverageToColorLocation);\n","C","c","",[59],{"type":21,"tag":38,"props":60,"children":61},{"__ignoreMap":57},[62,86,106],{"type":21,"tag":63,"props":64,"children":67},"span",{"class":65,"line":66},"line",1,[68,74,80],{"type":21,"tag":63,"props":69,"children":71},{"style":70},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[72],{"type":26,"value":73},"void",{"type":21,"tag":63,"props":75,"children":77},{"style":76},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[78],{"type":26,"value":79}," vkCmdSetCoverageToColorLocationNV",{"type":21,"tag":63,"props":81,"children":83},{"style":82},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[84],{"type":26,"value":85},"(\n",{"type":21,"tag":63,"props":87,"children":89},{"class":65,"line":88},2,[90,95,101],{"type":21,"tag":63,"props":91,"children":92},{"style":82},[93],{"type":26,"value":94}," VkCommandBuffer ",{"type":21,"tag":63,"props":96,"children":98},{"style":97},"--shiki-default:#953800;--shiki-dark:#FFA657",[99],{"type":26,"value":100},"commandBuffer",{"type":21,"tag":63,"props":102,"children":103},{"style":82},[104],{"type":26,"value":105},",\n",{"type":21,"tag":63,"props":107,"children":109},{"class":65,"line":108},3,[110,115,120],{"type":21,"tag":63,"props":111,"children":112},{"style":70},[113],{"type":26,"value":114}," uint32_t",{"type":21,"tag":63,"props":116,"children":117},{"style":97},[118],{"type":26,"value":119}," coverageToColorLocation",{"type":21,"tag":63,"props":121,"children":122},{"style":82},[123],{"type":26,"value":124},");\n",{"type":21,"tag":51,"props":126,"children":131},{"className":127,"code":128,"filename":129,"language":130,"meta":57,"style":57},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_set_coverage_to_color_location_nv(\n command_buffer: vk::CommandBuffer,\n coverage_to_color_location: u32,\n);\n","Rust","rs",[132],{"type":21,"tag":38,"props":133,"children":134},{"__ignoreMap":57},[135,157,189,210],{"type":21,"tag":63,"props":136,"children":137},{"class":65,"line":66},[138,143,148,153],{"type":21,"tag":63,"props":139,"children":140},{"style":70},[141],{"type":26,"value":142},"pub",{"type":21,"tag":63,"props":144,"children":145},{"style":70},[146],{"type":26,"value":147}," fn",{"type":21,"tag":63,"props":149,"children":150},{"style":76},[151],{"type":26,"value":152}," cmd_set_coverage_to_color_location_nv",{"type":21,"tag":63,"props":154,"children":155},{"style":82},[156],{"type":26,"value":85},{"type":21,"tag":63,"props":158,"children":159},{"class":65,"line":88},[160,165,170,175,180,185],{"type":21,"tag":63,"props":161,"children":162},{"style":82},[163],{"type":26,"value":164}," command_buffer",{"type":21,"tag":63,"props":166,"children":167},{"style":70},[168],{"type":26,"value":169},":",{"type":21,"tag":63,"props":171,"children":172},{"style":97},[173],{"type":26,"value":174}," vk",{"type":21,"tag":63,"props":176,"children":177},{"style":70},[178],{"type":26,"value":179},"::",{"type":21,"tag":63,"props":181,"children":182},{"style":97},[183],{"type":26,"value":184},"CommandBuffer",{"type":21,"tag":63,"props":186,"children":187},{"style":82},[188],{"type":26,"value":105},{"type":21,"tag":63,"props":190,"children":191},{"class":65,"line":108},[192,197,201,206],{"type":21,"tag":63,"props":193,"children":194},{"style":82},[195],{"type":26,"value":196}," coverage_to_color_location",{"type":21,"tag":63,"props":198,"children":199},{"style":70},[200],{"type":26,"value":169},{"type":21,"tag":63,"props":202,"children":203},{"style":97},[204],{"type":26,"value":205}," u32",{"type":21,"tag":63,"props":207,"children":208},{"style":82},[209],{"type":26,"value":105},{"type":21,"tag":63,"props":211,"children":213},{"class":65,"line":212},4,[214],{"type":21,"tag":63,"props":215,"children":216},{"style":82},[217],{"type":26,"value":124},{"type":21,"tag":219,"props":220,"children":221},"ul",{},[222,233],{"type":21,"tag":223,"props":224,"children":225},"li",{},[226,231],{"type":21,"tag":38,"props":227,"children":229},{"className":228},[],[230],{"type":26,"value":100},{"type":26,"value":232}," is the command buffer into which the command will be\nrecorded.",{"type":21,"tag":223,"props":234,"children":235},{},[236,241,243,248],{"type":21,"tag":38,"props":237,"children":239},{"className":238},[],[240],{"type":26,"value":43},{"type":26,"value":242}," specifies the\n",{"type":21,"tag":38,"props":244,"children":246},{"className":245},[],[247],{"type":26,"value":43},{"type":26,"value":249}," state.",{"type":21,"tag":22,"props":251,"children":252},{},[253,255,260,262,268,270,276,278,284,285,291,293,299,300,305],{"type":26,"value":254},"This command sets the ",{"type":21,"tag":38,"props":256,"children":258},{"className":257},[],[259],{"type":26,"value":43},{"type":26,"value":261}," state for subsequent\ndrawing commands\nwhen drawing using ",{"type":21,"tag":29,"props":263,"children":265},{"href":264},"/chapters/shaders#shaders-objects",[266],{"type":26,"value":267},"shader objects",{"type":26,"value":269},", or\nwhen the graphics pipeline is created with\n",{"type":21,"tag":38,"props":271,"children":273},{"className":272},[],[274],{"type":26,"value":275},"VK_DYNAMIC_STATE_COVERAGE_TO_COLOR_LOCATION_NV",{"type":26,"value":277}," set in\n",{"type":21,"tag":29,"props":279,"children":281},{"href":280},"/man/VkPipelineDynamicStateCreateInfo",[282],{"type":26,"value":283},"VkPipelineDynamicStateCreateInfo",{"type":26,"value":179},{"type":21,"tag":38,"props":286,"children":288},{"className":287},[],[289],{"type":26,"value":290},"pDynamicStates",{"type":26,"value":292},".\nOtherwise, this state is specified by the\n",{"type":21,"tag":29,"props":294,"children":296},{"href":295},"/man/VkPipelineCoverageToColorStateCreateInfoNV",[297],{"type":26,"value":298},"VkPipelineCoverageToColorStateCreateInfoNV",{"type":26,"value":179},{"type":21,"tag":38,"props":301,"children":303},{"className":302},[],[304],{"type":26,"value":43},{"type":26,"value":306},"\nvalue used to create the currently active pipeline.",{"type":21,"tag":308,"props":309,"children":311},"validity-group",{"name":310},"Valid Usage",[312,361],{"type":21,"tag":313,"props":314,"children":316},"validity-field",{"name":315},"VUID-vkCmdSetCoverageToColorLocationNV-None-09423",[317,341],{"type":21,"tag":22,"props":318,"children":319},{},[320,322,327,329,339],{"type":26,"value":321},"At least one of the following ",{"type":21,"tag":323,"props":324,"children":326},"normative",{"type":325},"must",[],{"type":26,"value":328}," be true:- The ",{"type":21,"tag":29,"props":330,"children":332},{"href":331},"/man/VkPhysicalDeviceExtendedDynamicState3FeaturesEXT#features-extendedDynamicState3CoverageToColorLocation",[333],{"type":21,"tag":38,"props":334,"children":336},{"className":335},[],[337],{"type":26,"value":338},"extendedDynamicState3CoverageToColorLocation",{"type":26,"value":340}," feature is\nenabled",{"type":21,"tag":219,"props":342,"children":343},{},[344],{"type":21,"tag":223,"props":345,"children":346},{},[347,349,359],{"type":26,"value":348},"The ",{"type":21,"tag":29,"props":350,"children":352},{"href":351},"/man/VkPhysicalDeviceShaderObjectFeaturesEXT#features-shaderObject",[353],{"type":21,"tag":38,"props":354,"children":356},{"className":355},[],[357],{"type":26,"value":358},"shaderObject",{"type":26,"value":360}," feature is enabled\n::",{"type":21,"tag":308,"props":362,"children":364},{"name":363},"Valid Usage (Implicit)",[365],{"type":21,"tag":313,"props":366,"children":368},{"name":367},"VUID-vkCmdSetCoverageToColorLocationNV-commandBuffer-parameter",[369],{"type":21,"tag":22,"props":370,"children":371},{},[372,377,379,382,384,390],{"type":21,"tag":38,"props":373,"children":375},{"className":374},[],[376],{"type":26,"value":100},{"type":26,"value":378}," ",{"type":21,"tag":323,"props":380,"children":381},{"type":325},[],{"type":26,"value":383}," be a valid ",{"type":21,"tag":29,"props":385,"children":387},{"href":386},"/man/VkCommandBuffer",[388],{"type":26,"value":389},"VkCommandBuffer",{"type":26,"value":391}," handle",{"type":21,"tag":313,"props":393,"children":395},{"name":394},"VUID-vkCmdSetCoverageToColorLocationNV-commandBuffer-recording",[396],{"type":21,"tag":22,"props":397,"children":398},{},[399,404,405,408,410],{"type":21,"tag":38,"props":400,"children":402},{"className":401},[],[403],{"type":26,"value":100},{"type":26,"value":378},{"type":21,"tag":323,"props":406,"children":407},{"type":325},[],{"type":26,"value":409}," be in the ",{"type":21,"tag":29,"props":411,"children":413},{"href":412},"/chapters/commandbuffers#commandbuffers-lifecycle",[414],{"type":26,"value":415},"recording state",{"type":21,"tag":313,"props":417,"children":419},{"name":418},"VUID-vkCmdSetCoverageToColorLocationNV-commandBuffer-cmdpool",[420],{"type":21,"tag":22,"props":421,"children":422},{},[423,424,430,432,437,439,442],{"type":26,"value":348},{"type":21,"tag":38,"props":425,"children":427},{"className":426},[],[428],{"type":26,"value":429},"VkCommandPool",{"type":26,"value":431}," that ",{"type":21,"tag":38,"props":433,"children":435},{"className":434},[],[436],{"type":26,"value":100},{"type":26,"value":438}," was allocated from ",{"type":21,"tag":323,"props":440,"children":441},{"type":325},[],{"type":26,"value":443}," support graphics operations",{"type":21,"tag":313,"props":445,"children":447},{"name":446},"VUID-vkCmdSetCoverageToColorLocationNV-videocoding",[448],{"type":21,"tag":22,"props":449,"children":450},{},[451,453,456],{"type":26,"value":452},"This command ",{"type":21,"tag":323,"props":454,"children":455},{"type":325},[],{"type":26,"value":457}," only be called outside of a video coding scope",{"type":21,"tag":22,"props":459,"children":460},{},[461],{"type":26,"value":179},{"type":21,"tag":463,"props":464,"children":466},"validity-box",{"name":465},"Host Synchronization",[467],{"type":21,"tag":219,"props":468,"children":469},{},[470,486],{"type":21,"tag":223,"props":471,"children":472},{},[473,475,480,481,484],{"type":26,"value":474},"Host access to ",{"type":21,"tag":38,"props":476,"children":478},{"className":477},[],[479],{"type":26,"value":100},{"type":26,"value":378},{"type":21,"tag":323,"props":482,"children":483},{"type":325},[],{"type":26,"value":485}," be externally synchronized",{"type":21,"tag":223,"props":487,"children":488},{},[489,491,496,497,502,503,506],{"type":26,"value":490},"Host access to the ",{"type":21,"tag":38,"props":492,"children":494},{"className":493},[],[495],{"type":26,"value":429},{"type":26,"value":431},{"type":21,"tag":38,"props":498,"children":500},{"className":499},[],[501],{"type":26,"value":100},{"type":26,"value":438},{"type":21,"tag":323,"props":504,"children":505},{"type":325},[],{"type":26,"value":507}," be externally synchronized\n::",{"type":21,"tag":509,"props":510,"children":511},"style",{},[512],{"type":26,"value":513},"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":57,"searchDepth":88,"depth":88,"links":515},[],"markdown",1729612504456]