[{"data":1,"prerenderedAt":730},["ShallowReactive",2],{"7feLXN9mM8":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":729,"_id":4},"vkCmdSetExclusiveScissorEnableNV","Dynamically enable each exclusive scissor for a command buffer","VK_NV_scissor_exclusive",[8,9],"primary","secondary","both",[12],"graphics",[14],"state","protos",[],{"type":18,"children":19,"toc":727},"root",[20,37,309,365,391,463,525,675,721],{"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}," whether an exclusive scissor\nis enabled or not, call:",{"type":21,"tag":38,"props":39,"children":40},"code-group",{},[41,162],{"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 vkCmdSetExclusiveScissorEnableNV(\n VkCommandBuffer commandBuffer,\n uint32_t firstExclusiveScissor,\n uint32_t exclusiveScissorCount,\n const VkBool32* pExclusiveScissorEnables);\n","C","c","",[50],{"type":21,"tag":51,"props":52,"children":53},"code",{"__ignoreMap":48},[54,78,98,116,133],{"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}," vkCmdSetExclusiveScissorEnableNV",{"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],{"type":21,"tag":55,"props":103,"children":104},{"style":62},[105],{"type":26,"value":106}," uint32_t",{"type":21,"tag":55,"props":108,"children":109},{"style":89},[110],{"type":26,"value":111}," firstExclusiveScissor",{"type":21,"tag":55,"props":113,"children":114},{"style":74},[115],{"type":26,"value":97},{"type":21,"tag":55,"props":117,"children":119},{"class":57,"line":118},4,[120,124,129],{"type":21,"tag":55,"props":121,"children":122},{"style":62},[123],{"type":26,"value":106},{"type":21,"tag":55,"props":125,"children":126},{"style":89},[127],{"type":26,"value":128}," exclusiveScissorCount",{"type":21,"tag":55,"props":130,"children":131},{"style":74},[132],{"type":26,"value":97},{"type":21,"tag":55,"props":134,"children":136},{"class":57,"line":135},5,[137,142,147,152,157],{"type":21,"tag":55,"props":138,"children":139},{"style":62},[140],{"type":26,"value":141}," const",{"type":21,"tag":55,"props":143,"children":144},{"style":74},[145],{"type":26,"value":146}," VkBool32",{"type":21,"tag":55,"props":148,"children":149},{"style":62},[150],{"type":26,"value":151},"*",{"type":21,"tag":55,"props":153,"children":154},{"style":89},[155],{"type":26,"value":156}," pExclusiveScissorEnables",{"type":21,"tag":55,"props":158,"children":159},{"style":74},[160],{"type":26,"value":161},");\n",{"type":21,"tag":42,"props":163,"children":168},{"className":164,"code":165,"filename":166,"language":167,"meta":48,"style":48},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_set_exclusive_scissor_enable_nv(\n command_buffer: vk::CommandBuffer,\n first_exclusive_scissor: u32,\n exclusive_scissor_count: u32,\n p_exclusive_scissor_enables: *const vk::Bool32,\n);\n","Rust","rs",[169],{"type":21,"tag":51,"props":170,"children":171},{"__ignoreMap":48},[172,194,226,247,267,301],{"type":21,"tag":55,"props":173,"children":174},{"class":57,"line":58},[175,180,185,190],{"type":21,"tag":55,"props":176,"children":177},{"style":62},[178],{"type":26,"value":179},"pub",{"type":21,"tag":55,"props":181,"children":182},{"style":62},[183],{"type":26,"value":184}," fn",{"type":21,"tag":55,"props":186,"children":187},{"style":68},[188],{"type":26,"value":189}," cmd_set_exclusive_scissor_enable_nv",{"type":21,"tag":55,"props":191,"children":192},{"style":74},[193],{"type":26,"value":77},{"type":21,"tag":55,"props":195,"children":196},{"class":57,"line":80},[197,202,207,212,217,222],{"type":21,"tag":55,"props":198,"children":199},{"style":74},[200],{"type":26,"value":201}," command_buffer",{"type":21,"tag":55,"props":203,"children":204},{"style":62},[205],{"type":26,"value":206},":",{"type":21,"tag":55,"props":208,"children":209},{"style":89},[210],{"type":26,"value":211}," vk",{"type":21,"tag":55,"props":213,"children":214},{"style":62},[215],{"type":26,"value":216},"::",{"type":21,"tag":55,"props":218,"children":219},{"style":89},[220],{"type":26,"value":221},"CommandBuffer",{"type":21,"tag":55,"props":223,"children":224},{"style":74},[225],{"type":26,"value":97},{"type":21,"tag":55,"props":227,"children":228},{"class":57,"line":100},[229,234,238,243],{"type":21,"tag":55,"props":230,"children":231},{"style":74},[232],{"type":26,"value":233}," first_exclusive_scissor",{"type":21,"tag":55,"props":235,"children":236},{"style":62},[237],{"type":26,"value":206},{"type":21,"tag":55,"props":239,"children":240},{"style":89},[241],{"type":26,"value":242}," u32",{"type":21,"tag":55,"props":244,"children":245},{"style":74},[246],{"type":26,"value":97},{"type":21,"tag":55,"props":248,"children":249},{"class":57,"line":118},[250,255,259,263],{"type":21,"tag":55,"props":251,"children":252},{"style":74},[253],{"type":26,"value":254}," exclusive_scissor_count",{"type":21,"tag":55,"props":256,"children":257},{"style":62},[258],{"type":26,"value":206},{"type":21,"tag":55,"props":260,"children":261},{"style":89},[262],{"type":26,"value":242},{"type":21,"tag":55,"props":264,"children":265},{"style":74},[266],{"type":26,"value":97},{"type":21,"tag":55,"props":268,"children":269},{"class":57,"line":135},[270,275,279,284,288,292,297],{"type":21,"tag":55,"props":271,"children":272},{"style":74},[273],{"type":26,"value":274}," p_exclusive_scissor_enables",{"type":21,"tag":55,"props":276,"children":277},{"style":62},[278],{"type":26,"value":206},{"type":21,"tag":55,"props":280,"children":281},{"style":62},[282],{"type":26,"value":283}," *const",{"type":21,"tag":55,"props":285,"children":286},{"style":89},[287],{"type":26,"value":211},{"type":21,"tag":55,"props":289,"children":290},{"style":62},[291],{"type":26,"value":216},{"type":21,"tag":55,"props":293,"children":294},{"style":89},[295],{"type":26,"value":296},"Bool32",{"type":21,"tag":55,"props":298,"children":299},{"style":74},[300],{"type":26,"value":97},{"type":21,"tag":55,"props":302,"children":304},{"class":57,"line":303},6,[305],{"type":21,"tag":55,"props":306,"children":307},{"style":74},[308],{"type":26,"value":161},{"type":21,"tag":310,"props":311,"children":312},"ul",{},[313,324,335,346],{"type":21,"tag":314,"props":315,"children":316},"li",{},[317,322],{"type":21,"tag":51,"props":318,"children":320},{"className":319},[],[321],{"type":26,"value":92},{"type":26,"value":323}," is the command buffer into which the command will be\nrecorded.",{"type":21,"tag":314,"props":325,"children":326},{},[327,333],{"type":21,"tag":51,"props":328,"children":330},{"className":329},[],[331],{"type":26,"value":332},"firstExclusiveScissor",{"type":26,"value":334}," is the index of the first exclusive scissor\nrectangle whose state is updated by the command.",{"type":21,"tag":314,"props":336,"children":337},{},[338,344],{"type":21,"tag":51,"props":339,"children":341},{"className":340},[],[342],{"type":26,"value":343},"exclusiveScissorCount",{"type":26,"value":345}," is the number of exclusive scissor\nrectangles updated by the command.",{"type":21,"tag":314,"props":347,"children":348},{},[349,355,357,363],{"type":21,"tag":51,"props":350,"children":352},{"className":351},[],[353],{"type":26,"value":354},"pExclusiveScissorEnables",{"type":26,"value":356}," is a pointer to an array of\n",{"type":21,"tag":29,"props":358,"children":360},{"href":359},"/man/VkBool32",[361],{"type":26,"value":362},"VkBool32",{"type":26,"value":364}," values defining whether the exclusive scissor is\nenabled.",{"type":21,"tag":22,"props":366,"children":367},{},[368,370,375,377,382,384,389],{"type":26,"value":369},"The exclusive scissor enables taken from element i of\n",{"type":21,"tag":51,"props":371,"children":373},{"className":372},[],[374],{"type":26,"value":354},{"type":26,"value":376}," replace the current state for the scissor\nindex ",{"type":21,"tag":51,"props":378,"children":380},{"className":379},[],[381],{"type":26,"value":332},{"type":26,"value":383}," + i, for i in [0,\n",{"type":21,"tag":51,"props":385,"children":387},{"className":386},[],[388],{"type":26,"value":343},{"type":26,"value":390},").",{"type":21,"tag":22,"props":392,"children":393},{},[394,396,402,404,410,412,418,419,425,427,433,434,439,441,446,448,454,455,461],{"type":26,"value":395},"This command sets the exclusive scissor enable for subsequent drawing\ncommands\nwhen drawing using ",{"type":21,"tag":29,"props":397,"children":399},{"href":398},"/chapters/shaders#shaders-objects",[400],{"type":26,"value":401},"shader objects",{"type":26,"value":403},", or\nwhen the graphics pipeline is created with\n",{"type":21,"tag":51,"props":405,"children":407},{"className":406},[],[408],{"type":26,"value":409},"VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_ENABLE_NV",{"type":26,"value":411}," set in\n",{"type":21,"tag":29,"props":413,"children":415},{"href":414},"/man/VkPipelineDynamicStateCreateInfo",[416],{"type":26,"value":417},"VkPipelineDynamicStateCreateInfo",{"type":26,"value":216},{"type":21,"tag":51,"props":420,"children":422},{"className":421},[],[423],{"type":26,"value":424},"pDynamicStates",{"type":26,"value":426},".\nOtherwise, this state is implied by the\n",{"type":21,"tag":29,"props":428,"children":430},{"href":429},"/man/VkPipelineViewportExclusiveScissorStateCreateInfoNV",[431],{"type":26,"value":432},"VkPipelineViewportExclusiveScissorStateCreateInfoNV",{"type":26,"value":216},{"type":21,"tag":51,"props":435,"children":437},{"className":436},[],[438],{"type":26,"value":343},{"type":26,"value":440},"\nvalue used to create the currently active pipeline, where all\n",{"type":21,"tag":51,"props":442,"children":444},{"className":443},[],[445],{"type":26,"value":343},{"type":26,"value":447}," exclusive scissors are implicitly enabled and\nthe remainder up to ",{"type":21,"tag":51,"props":449,"children":451},{"className":450},[],[452],{"type":26,"value":453},"VkPhysicalDeviceLimits",{"type":26,"value":216},{"type":21,"tag":51,"props":456,"children":458},{"className":457},[],[459],{"type":26,"value":460},"maxViewports",{"type":26,"value":462}," are\nimplicitly disabled.",{"type":21,"tag":464,"props":465,"children":467},"validity-group",{"name":466},"Valid Usage",[468],{"type":21,"tag":469,"props":470,"children":472},"validity-field",{"name":471},"VUID-vkCmdSetExclusiveScissorEnableNV-exclusiveScissor-07853",[473],{"type":21,"tag":22,"props":474,"children":475},{},[476,478,488,490,495,497,500,502,508,510,516,518,523],{"type":26,"value":477},"The ",{"type":21,"tag":29,"props":479,"children":481},{"href":480},"/man/VkPhysicalDeviceExclusiveScissorFeaturesNV#features-exclusiveScissor",[482],{"type":21,"tag":51,"props":483,"children":485},{"className":484},[],[486],{"type":26,"value":487},"exclusiveScissor",{"type":26,"value":489}," feature ",{"type":21,"tag":491,"props":492,"children":494},"normative",{"type":493},"must",[],{"type":26,"value":496},"\nbe enabled, and the implementation ",{"type":21,"tag":491,"props":498,"children":499},{"type":493},[],{"type":26,"value":501}," support at least\n",{"type":21,"tag":51,"props":503,"children":505},{"className":504},[],[506],{"type":26,"value":507},"specVersion",{"type":26,"value":509}," ",{"type":21,"tag":51,"props":511,"children":513},{"className":512},[],[514],{"type":26,"value":515},"2",{"type":26,"value":517}," of the ",{"type":21,"tag":29,"props":519,"children":521},{"href":520},"/extensions/VK_NV_scissor_exclusive",[522],{"type":26,"value":6},{"type":26,"value":524}," extension",{"type":21,"tag":464,"props":526,"children":528},{"name":527},"Valid Usage (Implicit)",[529,555,585,609,637,651],{"type":21,"tag":469,"props":530,"children":532},{"name":531},"VUID-vkCmdSetExclusiveScissorEnableNV-commandBuffer-parameter",[533],{"type":21,"tag":22,"props":534,"children":535},{},[536,541,542,545,547,553],{"type":21,"tag":51,"props":537,"children":539},{"className":538},[],[540],{"type":26,"value":92},{"type":26,"value":509},{"type":21,"tag":491,"props":543,"children":544},{"type":493},[],{"type":26,"value":546}," be a valid ",{"type":21,"tag":29,"props":548,"children":550},{"href":549},"/man/VkCommandBuffer",[551],{"type":26,"value":552},"VkCommandBuffer",{"type":26,"value":554}," handle",{"type":21,"tag":469,"props":556,"children":558},{"name":557},"VUID-vkCmdSetExclusiveScissorEnableNV-pExclusiveScissorEnables-parameter",[559],{"type":21,"tag":22,"props":560,"children":561},{},[562,567,568,571,573,578,579,583],{"type":21,"tag":51,"props":563,"children":565},{"className":564},[],[566],{"type":26,"value":354},{"type":26,"value":509},{"type":21,"tag":491,"props":569,"children":570},{"type":493},[],{"type":26,"value":572}," be a valid pointer to an array of ",{"type":21,"tag":51,"props":574,"children":576},{"className":575},[],[577],{"type":26,"value":343},{"type":26,"value":509},{"type":21,"tag":29,"props":580,"children":581},{"href":359},[582],{"type":26,"value":362},{"type":26,"value":584}," values",{"type":21,"tag":469,"props":586,"children":588},{"name":587},"VUID-vkCmdSetExclusiveScissorEnableNV-commandBuffer-recording",[589],{"type":21,"tag":22,"props":590,"children":591},{},[592,597,598,601,603],{"type":21,"tag":51,"props":593,"children":595},{"className":594},[],[596],{"type":26,"value":92},{"type":26,"value":509},{"type":21,"tag":491,"props":599,"children":600},{"type":493},[],{"type":26,"value":602}," be in the ",{"type":21,"tag":29,"props":604,"children":606},{"href":605},"/chapters/commandbuffers#commandbuffers-lifecycle",[607],{"type":26,"value":608},"recording state",{"type":21,"tag":469,"props":610,"children":612},{"name":611},"VUID-vkCmdSetExclusiveScissorEnableNV-commandBuffer-cmdpool",[613],{"type":21,"tag":22,"props":614,"children":615},{},[616,617,623,625,630,632,635],{"type":26,"value":477},{"type":21,"tag":51,"props":618,"children":620},{"className":619},[],[621],{"type":26,"value":622},"VkCommandPool",{"type":26,"value":624}," that ",{"type":21,"tag":51,"props":626,"children":628},{"className":627},[],[629],{"type":26,"value":92},{"type":26,"value":631}," was allocated from ",{"type":21,"tag":491,"props":633,"children":634},{"type":493},[],{"type":26,"value":636}," support graphics operations",{"type":21,"tag":469,"props":638,"children":640},{"name":639},"VUID-vkCmdSetExclusiveScissorEnableNV-videocoding",[641],{"type":21,"tag":22,"props":642,"children":643},{},[644,646,649],{"type":26,"value":645},"This command ",{"type":21,"tag":491,"props":647,"children":648},{"type":493},[],{"type":26,"value":650}," only be called outside of a video coding scope",{"type":21,"tag":469,"props":652,"children":654},{"name":653},"VUID-vkCmdSetExclusiveScissorEnableNV-exclusiveScissorCount-arraylength",[655],{"type":21,"tag":22,"props":656,"children":657},{},[658,663,664,667,669],{"type":21,"tag":51,"props":659,"children":661},{"className":660},[],[662],{"type":26,"value":343},{"type":26,"value":509},{"type":21,"tag":491,"props":665,"children":666},{"type":493},[],{"type":26,"value":668}," be greater than ",{"type":21,"tag":51,"props":670,"children":672},{"className":671},[],[673],{"type":26,"value":674},"0",{"type":21,"tag":676,"props":677,"children":679},"validity-box",{"name":678},"Host Synchronization",[680],{"type":21,"tag":310,"props":681,"children":682},{},[683,699],{"type":21,"tag":314,"props":684,"children":685},{},[686,688,693,694,697],{"type":26,"value":687},"Host access to ",{"type":21,"tag":51,"props":689,"children":691},{"className":690},[],[692],{"type":26,"value":92},{"type":26,"value":509},{"type":21,"tag":491,"props":695,"children":696},{"type":493},[],{"type":26,"value":698}," be externally synchronized",{"type":21,"tag":314,"props":700,"children":701},{},[702,704,709,710,715,716,719],{"type":26,"value":703},"Host access to the ",{"type":21,"tag":51,"props":705,"children":707},{"className":706},[],[708],{"type":26,"value":622},{"type":26,"value":624},{"type":21,"tag":51,"props":711,"children":713},{"className":712},[],[714],{"type":26,"value":92},{"type":26,"value":631},{"type":21,"tag":491,"props":717,"children":718},{"type":493},[],{"type":26,"value":720}," be externally synchronized\n::",{"type":21,"tag":722,"props":723,"children":724},"style",{},[725],{"type":26,"value":726},"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":728},[],"markdown",1729612505225]