[{"data":1,"prerenderedAt":517},["ShallowReactive",2],{"o0gUcBDG1M":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":516,"_id":4},"VkPipelineViewportWScalingStateCreateInfoNV","Structure specifying parameters of a newly created pipeline viewport W scaling state","VK_NV_clip_space_w_scaling","structs",[],{"type":10,"children":11,"toc":514},"root",[12,28,329,453,508],{"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\nas:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,150],{"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 VkPipelineViewportWScalingStateCreateInfoNV {\n VkStructureType sType;\n const void* pNext;\n VkBool32 viewportWScalingEnable;\n uint32_t viewportCount;\n const VkViewportWScalingNV* pViewportWScalings;\n} VkPipelineViewportWScalingStateCreateInfoNV;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,118,141],{"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}," VkPipelineViewportWScalingStateCreateInfoNV {\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],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkBool32 viewportWScalingEnable;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,113],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":112}," uint32_t",{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," viewportCount;\n",{"type":13,"tag":45,"props":119,"children":121},{"class":47,"line":120},6,[122,126,131,136],{"type":13,"tag":45,"props":123,"children":124},{"style":52},[125],{"type":18,"value":84},{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130}," VkViewportWScalingNV",{"type":13,"tag":45,"props":132,"children":133},{"style":52},[134],{"type":18,"value":135},"*",{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140}," pViewportWScalings;\n",{"type":13,"tag":45,"props":142,"children":144},{"class":47,"line":143},7,[145],{"type":13,"tag":45,"props":146,"children":147},{"style":63},[148],{"type":18,"value":149},"} VkPipelineViewportWScalingStateCreateInfoNV;\n",{"type":13,"tag":33,"props":151,"children":156},{"className":152,"code":153,"filename":154,"language":155,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineViewportWScalingStateCreateInfoNV {\n s_type: vk::StructureType,\n p_next: *const c_void,\n viewport_w_scaling_enable: vk::Bool32,\n viewport_count: u32,\n p_viewport_w_scalings: *const vk::ViewportWScalingNV,\n}\n","Rust","rs",[157],{"type":13,"tag":21,"props":158,"children":159},{"__ignoreMap":39},[160,183,216,238,267,288,321],{"type":13,"tag":45,"props":161,"children":162},{"class":47,"line":48},[163,168,172,178],{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167},"pub",{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":60},{"type":13,"tag":45,"props":173,"children":175},{"style":174},"--shiki-default:#953800;--shiki-dark:#FFA657",[176],{"type":18,"value":177}," PipelineViewportWScalingStateCreateInfoNV",{"type":13,"tag":45,"props":179,"children":180},{"style":63},[181],{"type":18,"value":182}," {\n",{"type":13,"tag":45,"props":184,"children":185},{"class":47,"line":69},[186,191,196,201,206,211],{"type":13,"tag":45,"props":187,"children":188},{"style":63},[189],{"type":18,"value":190}," s_type",{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":195},":",{"type":13,"tag":45,"props":197,"children":198},{"style":174},[199],{"type":18,"value":200}," vk",{"type":13,"tag":45,"props":202,"children":203},{"style":52},[204],{"type":18,"value":205},"::",{"type":13,"tag":45,"props":207,"children":208},{"style":174},[209],{"type":18,"value":210},"StructureType",{"type":13,"tag":45,"props":212,"children":213},{"style":63},[214],{"type":18,"value":215},",\n",{"type":13,"tag":45,"props":217,"children":218},{"class":47,"line":78},[219,224,228,233],{"type":13,"tag":45,"props":220,"children":221},{"style":63},[222],{"type":18,"value":223}," p_next",{"type":13,"tag":45,"props":225,"children":226},{"style":52},[227],{"type":18,"value":195},{"type":13,"tag":45,"props":229,"children":230},{"style":52},[231],{"type":18,"value":232}," *const",{"type":13,"tag":45,"props":234,"children":235},{"style":63},[236],{"type":18,"value":237}," c_void,\n",{"type":13,"tag":45,"props":239,"children":240},{"class":47,"line":97},[241,246,250,254,258,263],{"type":13,"tag":45,"props":242,"children":243},{"style":63},[244],{"type":18,"value":245}," viewport_w_scaling_enable",{"type":13,"tag":45,"props":247,"children":248},{"style":52},[249],{"type":18,"value":195},{"type":13,"tag":45,"props":251,"children":252},{"style":174},[253],{"type":18,"value":200},{"type":13,"tag":45,"props":255,"children":256},{"style":52},[257],{"type":18,"value":205},{"type":13,"tag":45,"props":259,"children":260},{"style":174},[261],{"type":18,"value":262},"Bool32",{"type":13,"tag":45,"props":264,"children":265},{"style":63},[266],{"type":18,"value":215},{"type":13,"tag":45,"props":268,"children":269},{"class":47,"line":106},[270,275,279,284],{"type":13,"tag":45,"props":271,"children":272},{"style":63},[273],{"type":18,"value":274}," viewport_count",{"type":13,"tag":45,"props":276,"children":277},{"style":52},[278],{"type":18,"value":195},{"type":13,"tag":45,"props":280,"children":281},{"style":174},[282],{"type":18,"value":283}," u32",{"type":13,"tag":45,"props":285,"children":286},{"style":63},[287],{"type":18,"value":215},{"type":13,"tag":45,"props":289,"children":290},{"class":47,"line":120},[291,296,300,304,308,312,317],{"type":13,"tag":45,"props":292,"children":293},{"style":63},[294],{"type":18,"value":295}," p_viewport_w_scalings",{"type":13,"tag":45,"props":297,"children":298},{"style":52},[299],{"type":18,"value":195},{"type":13,"tag":45,"props":301,"children":302},{"style":52},[303],{"type":18,"value":232},{"type":13,"tag":45,"props":305,"children":306},{"style":174},[307],{"type":18,"value":200},{"type":13,"tag":45,"props":309,"children":310},{"style":52},[311],{"type":18,"value":205},{"type":13,"tag":45,"props":313,"children":314},{"style":174},[315],{"type":18,"value":316},"ViewportWScalingNV",{"type":13,"tag":45,"props":318,"children":319},{"style":63},[320],{"type":18,"value":215},{"type":13,"tag":45,"props":322,"children":323},{"class":47,"line":143},[324],{"type":13,"tag":45,"props":325,"children":326},{"style":63},[327],{"type":18,"value":328},"}\n",{"type":13,"tag":330,"props":331,"children":332},"ul",{},[333,354,373,392,422],{"type":13,"tag":334,"props":335,"children":336},"li",{},[337,343,345,352],{"type":13,"tag":21,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":342},"sType",{"type":18,"value":344}," is a ",{"type":13,"tag":346,"props":347,"children":349},"a",{"href":348},"/man/VkStructureType",[350],{"type":18,"value":351},"VkStructureType",{"type":18,"value":353}," value identifying this structure.",{"type":13,"tag":334,"props":355,"children":356},{},[357,363,365,371],{"type":13,"tag":21,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"pNext",{"type":18,"value":364}," is ",{"type":13,"tag":21,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":370},"NULL",{"type":18,"value":372}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":334,"props":374,"children":375},{},[376,382,384,390],{"type":13,"tag":21,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"viewportWScalingEnable",{"type":18,"value":383}," controls whether viewport ",{"type":13,"tag":385,"props":386,"children":387},"em",{},[388],{"type":18,"value":389},"W",{"type":18,"value":391}," scaling is\nenabled.",{"type":13,"tag":334,"props":393,"children":394},{},[395,401,403,407,409,414,416,420],{"type":13,"tag":21,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":400},"viewportCount",{"type":18,"value":402}," is the number of viewports used by ",{"type":13,"tag":385,"props":404,"children":405},{},[406],{"type":18,"value":389},{"type":18,"value":408}," scaling, and\n",{"type":13,"tag":410,"props":411,"children":413},"normative",{"type":412},"must",[],{"type":18,"value":415}," match the number of viewports in the pipeline if viewport ",{"type":13,"tag":385,"props":417,"children":418},{},[419],{"type":18,"value":389},{"type":18,"value":421},"\nscaling is enabled.",{"type":13,"tag":334,"props":423,"children":424},{},[425,431,433,439,441,445,447,451],{"type":13,"tag":21,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":430},"pViewportWScalings",{"type":18,"value":432}," is a pointer to an array of\n",{"type":13,"tag":346,"props":434,"children":436},{"href":435},"/man/VkViewportWScalingNV",[437],{"type":18,"value":438},"VkViewportWScalingNV",{"type":18,"value":440}," structures defining the ",{"type":13,"tag":385,"props":442,"children":443},{},[444],{"type":18,"value":389},{"type":18,"value":446}," scaling\nparameters for the corresponding viewports.\nIf the viewport ",{"type":13,"tag":385,"props":448,"children":449},{},[450],{"type":18,"value":389},{"type":18,"value":452}," scaling state is dynamic, this member is ignored.",{"type":13,"tag":454,"props":455,"children":457},"validity-group",{"name":456},"Valid Usage (Implicit)",[458,484],{"type":13,"tag":459,"props":460,"children":462},"validity-field",{"name":461},"VUID-VkPipelineViewportWScalingStateCreateInfoNV-sType-sType",[463],{"type":13,"tag":14,"props":464,"children":465},{},[466,471,473,476,478],{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":342},{"type":18,"value":472}," ",{"type":13,"tag":410,"props":474,"children":475},{"type":412},[],{"type":18,"value":477}," be ",{"type":13,"tag":21,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":483},"VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV",{"type":13,"tag":459,"props":485,"children":487},{"name":486},"VUID-VkPipelineViewportWScalingStateCreateInfoNV-viewportCount-arraylength",[488],{"type":13,"tag":14,"props":489,"children":490},{},[491,496,497,500,502],{"type":13,"tag":21,"props":492,"children":494},{"className":493},[],[495],{"type":18,"value":400},{"type":18,"value":472},{"type":13,"tag":410,"props":498,"children":499},{"type":412},[],{"type":18,"value":501}," be greater than ",{"type":13,"tag":21,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":507},"0",{"type":13,"tag":509,"props":510,"children":511},"style",{},[512],{"type":18,"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":39,"searchDepth":69,"depth":69,"links":515},[],"markdown",1725732580309]