[{"data":1,"prerenderedAt":674},["ShallowReactive",2],{"uwTFrBC9TF":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":673,"_id":4},"VkViewportCoordinateSwizzleNV","Specify how a viewport coordinate is swizzled","VK_NV_viewport_swizzle","enums",[],{"type":10,"children":11,"toc":671},"root",[12,61,652,665],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,44,45,51,53,59],{"type":18,"value":19},"text","Possible values of the ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkViewportSwizzleNV",[25],{"type":18,"value":26},"VkViewportSwizzleNV",{"type":18,"value":28},"::",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"x",{"type":18,"value":37},", ",{"type":13,"tag":30,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":43},"y",{"type":18,"value":37},{"type":13,"tag":30,"props":46,"children":48},{"className":47},[],[49],{"type":18,"value":50},"z",{"type":18,"value":52},",\nand ",{"type":13,"tag":30,"props":54,"children":56},{"className":55},[],[57],{"type":18,"value":58},"w",{"type":18,"value":60}," members, specifying swizzling of the corresponding components of\nprimitives, are:",{"type":13,"tag":62,"props":63,"children":64},"code-group",{},[65,288],{"type":13,"tag":66,"props":67,"children":73},"pre",{"className":68,"code":69,"filename":70,"language":71,"meta":72,"style":72},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkViewportCoordinateSwizzleNV {\n VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV = 0,\n VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV = 1,\n VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV = 2,\n VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV = 3,\n VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV = 4,\n VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV = 5,\n VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV = 6,\n VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV = 7,\n} VkViewportCoordinateSwizzleNV;\n","C","c","",[74],{"type":13,"tag":30,"props":75,"children":76},{"__ignoreMap":72},[77,100,125,147,169,191,213,235,257,279],{"type":13,"tag":78,"props":79,"children":82},"span",{"class":80,"line":81},"line",1,[83,89,94],{"type":13,"tag":78,"props":84,"children":86},{"style":85},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[87],{"type":18,"value":88},"typedef",{"type":13,"tag":78,"props":90,"children":91},{"style":85},[92],{"type":18,"value":93}," enum",{"type":13,"tag":78,"props":95,"children":97},{"style":96},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[98],{"type":18,"value":99}," VkViewportCoordinateSwizzleNV {\n",{"type":13,"tag":78,"props":101,"children":103},{"class":80,"line":102},2,[104,109,114,120],{"type":13,"tag":78,"props":105,"children":106},{"style":96},[107],{"type":18,"value":108}," VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV ",{"type":13,"tag":78,"props":110,"children":111},{"style":85},[112],{"type":18,"value":113},"=",{"type":13,"tag":78,"props":115,"children":117},{"style":116},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[118],{"type":18,"value":119}," 0",{"type":13,"tag":78,"props":121,"children":122},{"style":96},[123],{"type":18,"value":124},",\n",{"type":13,"tag":78,"props":126,"children":128},{"class":80,"line":127},3,[129,134,138,143],{"type":13,"tag":78,"props":130,"children":131},{"style":96},[132],{"type":18,"value":133}," VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV ",{"type":13,"tag":78,"props":135,"children":136},{"style":85},[137],{"type":18,"value":113},{"type":13,"tag":78,"props":139,"children":140},{"style":116},[141],{"type":18,"value":142}," 1",{"type":13,"tag":78,"props":144,"children":145},{"style":96},[146],{"type":18,"value":124},{"type":13,"tag":78,"props":148,"children":150},{"class":80,"line":149},4,[151,156,160,165],{"type":13,"tag":78,"props":152,"children":153},{"style":96},[154],{"type":18,"value":155}," VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV ",{"type":13,"tag":78,"props":157,"children":158},{"style":85},[159],{"type":18,"value":113},{"type":13,"tag":78,"props":161,"children":162},{"style":116},[163],{"type":18,"value":164}," 2",{"type":13,"tag":78,"props":166,"children":167},{"style":96},[168],{"type":18,"value":124},{"type":13,"tag":78,"props":170,"children":172},{"class":80,"line":171},5,[173,178,182,187],{"type":13,"tag":78,"props":174,"children":175},{"style":96},[176],{"type":18,"value":177}," VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV ",{"type":13,"tag":78,"props":179,"children":180},{"style":85},[181],{"type":18,"value":113},{"type":13,"tag":78,"props":183,"children":184},{"style":116},[185],{"type":18,"value":186}," 3",{"type":13,"tag":78,"props":188,"children":189},{"style":96},[190],{"type":18,"value":124},{"type":13,"tag":78,"props":192,"children":194},{"class":80,"line":193},6,[195,200,204,209],{"type":13,"tag":78,"props":196,"children":197},{"style":96},[198],{"type":18,"value":199}," VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV ",{"type":13,"tag":78,"props":201,"children":202},{"style":85},[203],{"type":18,"value":113},{"type":13,"tag":78,"props":205,"children":206},{"style":116},[207],{"type":18,"value":208}," 4",{"type":13,"tag":78,"props":210,"children":211},{"style":96},[212],{"type":18,"value":124},{"type":13,"tag":78,"props":214,"children":216},{"class":80,"line":215},7,[217,222,226,231],{"type":13,"tag":78,"props":218,"children":219},{"style":96},[220],{"type":18,"value":221}," VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV ",{"type":13,"tag":78,"props":223,"children":224},{"style":85},[225],{"type":18,"value":113},{"type":13,"tag":78,"props":227,"children":228},{"style":116},[229],{"type":18,"value":230}," 5",{"type":13,"tag":78,"props":232,"children":233},{"style":96},[234],{"type":18,"value":124},{"type":13,"tag":78,"props":236,"children":238},{"class":80,"line":237},8,[239,244,248,253],{"type":13,"tag":78,"props":240,"children":241},{"style":96},[242],{"type":18,"value":243}," VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV ",{"type":13,"tag":78,"props":245,"children":246},{"style":85},[247],{"type":18,"value":113},{"type":13,"tag":78,"props":249,"children":250},{"style":116},[251],{"type":18,"value":252}," 6",{"type":13,"tag":78,"props":254,"children":255},{"style":96},[256],{"type":18,"value":124},{"type":13,"tag":78,"props":258,"children":260},{"class":80,"line":259},9,[261,266,270,275],{"type":13,"tag":78,"props":262,"children":263},{"style":96},[264],{"type":18,"value":265}," VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV ",{"type":13,"tag":78,"props":267,"children":268},{"style":85},[269],{"type":18,"value":113},{"type":13,"tag":78,"props":271,"children":272},{"style":116},[273],{"type":18,"value":274}," 7",{"type":13,"tag":78,"props":276,"children":277},{"style":96},[278],{"type":18,"value":124},{"type":13,"tag":78,"props":280,"children":282},{"class":80,"line":281},10,[283],{"type":13,"tag":78,"props":284,"children":285},{"style":96},[286],{"type":18,"value":287},"} VkViewportCoordinateSwizzleNV;\n",{"type":13,"tag":66,"props":289,"children":294},{"className":290,"code":291,"filename":292,"language":293,"meta":72,"style":72},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ViewportCoordinateSwizzleNV(u32);\nimpl ViewportCoordinateSwizzleNV {\n pub const POSITIVE_X: Self = 0;\n pub const NEGATIVE_X: Self = 1;\n pub const POSITIVE_Y: Self = 2;\n pub const NEGATIVE_Y: Self = 3;\n pub const POSITIVE_Z: Self = 4;\n pub const NEGATIVE_Z: Self = 5;\n pub const POSITIVE_W: Self = 6;\n pub const NEGATIVE_W: Self = 7;\n}\n","Rust","rs",[295],{"type":13,"tag":30,"props":296,"children":297},{"__ignoreMap":72},[298,332,349,391,427,463,499,535,571,607,643],{"type":13,"tag":78,"props":299,"children":300},{"class":80,"line":81},[301,306,311,317,322,327],{"type":13,"tag":78,"props":302,"children":303},{"style":85},[304],{"type":18,"value":305},"pub",{"type":13,"tag":78,"props":307,"children":308},{"style":85},[309],{"type":18,"value":310}," struct",{"type":13,"tag":78,"props":312,"children":314},{"style":313},"--shiki-default:#953800;--shiki-dark:#FFA657",[315],{"type":18,"value":316}," ViewportCoordinateSwizzleNV",{"type":13,"tag":78,"props":318,"children":319},{"style":96},[320],{"type":18,"value":321},"(",{"type":13,"tag":78,"props":323,"children":324},{"style":313},[325],{"type":18,"value":326},"u32",{"type":13,"tag":78,"props":328,"children":329},{"style":96},[330],{"type":18,"value":331},");\n",{"type":13,"tag":78,"props":333,"children":334},{"class":80,"line":102},[335,340,344],{"type":13,"tag":78,"props":336,"children":337},{"style":85},[338],{"type":18,"value":339},"impl",{"type":13,"tag":78,"props":341,"children":342},{"style":313},[343],{"type":18,"value":316},{"type":13,"tag":78,"props":345,"children":346},{"style":96},[347],{"type":18,"value":348}," {\n",{"type":13,"tag":78,"props":350,"children":351},{"class":80,"line":127},[352,357,362,367,372,377,382,386],{"type":13,"tag":78,"props":353,"children":354},{"style":85},[355],{"type":18,"value":356}," pub",{"type":13,"tag":78,"props":358,"children":359},{"style":85},[360],{"type":18,"value":361}," const",{"type":13,"tag":78,"props":363,"children":364},{"style":116},[365],{"type":18,"value":366}," POSITIVE_X",{"type":13,"tag":78,"props":368,"children":369},{"style":85},[370],{"type":18,"value":371},":",{"type":13,"tag":78,"props":373,"children":374},{"style":116},[375],{"type":18,"value":376}," Self",{"type":13,"tag":78,"props":378,"children":379},{"style":85},[380],{"type":18,"value":381}," =",{"type":13,"tag":78,"props":383,"children":384},{"style":116},[385],{"type":18,"value":119},{"type":13,"tag":78,"props":387,"children":388},{"style":96},[389],{"type":18,"value":390},";\n",{"type":13,"tag":78,"props":392,"children":393},{"class":80,"line":149},[394,398,402,407,411,415,419,423],{"type":13,"tag":78,"props":395,"children":396},{"style":85},[397],{"type":18,"value":356},{"type":13,"tag":78,"props":399,"children":400},{"style":85},[401],{"type":18,"value":361},{"type":13,"tag":78,"props":403,"children":404},{"style":116},[405],{"type":18,"value":406}," NEGATIVE_X",{"type":13,"tag":78,"props":408,"children":409},{"style":85},[410],{"type":18,"value":371},{"type":13,"tag":78,"props":412,"children":413},{"style":116},[414],{"type":18,"value":376},{"type":13,"tag":78,"props":416,"children":417},{"style":85},[418],{"type":18,"value":381},{"type":13,"tag":78,"props":420,"children":421},{"style":116},[422],{"type":18,"value":142},{"type":13,"tag":78,"props":424,"children":425},{"style":96},[426],{"type":18,"value":390},{"type":13,"tag":78,"props":428,"children":429},{"class":80,"line":171},[430,434,438,443,447,451,455,459],{"type":13,"tag":78,"props":431,"children":432},{"style":85},[433],{"type":18,"value":356},{"type":13,"tag":78,"props":435,"children":436},{"style":85},[437],{"type":18,"value":361},{"type":13,"tag":78,"props":439,"children":440},{"style":116},[441],{"type":18,"value":442}," POSITIVE_Y",{"type":13,"tag":78,"props":444,"children":445},{"style":85},[446],{"type":18,"value":371},{"type":13,"tag":78,"props":448,"children":449},{"style":116},[450],{"type":18,"value":376},{"type":13,"tag":78,"props":452,"children":453},{"style":85},[454],{"type":18,"value":381},{"type":13,"tag":78,"props":456,"children":457},{"style":116},[458],{"type":18,"value":164},{"type":13,"tag":78,"props":460,"children":461},{"style":96},[462],{"type":18,"value":390},{"type":13,"tag":78,"props":464,"children":465},{"class":80,"line":193},[466,470,474,479,483,487,491,495],{"type":13,"tag":78,"props":467,"children":468},{"style":85},[469],{"type":18,"value":356},{"type":13,"tag":78,"props":471,"children":472},{"style":85},[473],{"type":18,"value":361},{"type":13,"tag":78,"props":475,"children":476},{"style":116},[477],{"type":18,"value":478}," NEGATIVE_Y",{"type":13,"tag":78,"props":480,"children":481},{"style":85},[482],{"type":18,"value":371},{"type":13,"tag":78,"props":484,"children":485},{"style":116},[486],{"type":18,"value":376},{"type":13,"tag":78,"props":488,"children":489},{"style":85},[490],{"type":18,"value":381},{"type":13,"tag":78,"props":492,"children":493},{"style":116},[494],{"type":18,"value":186},{"type":13,"tag":78,"props":496,"children":497},{"style":96},[498],{"type":18,"value":390},{"type":13,"tag":78,"props":500,"children":501},{"class":80,"line":215},[502,506,510,515,519,523,527,531],{"type":13,"tag":78,"props":503,"children":504},{"style":85},[505],{"type":18,"value":356},{"type":13,"tag":78,"props":507,"children":508},{"style":85},[509],{"type":18,"value":361},{"type":13,"tag":78,"props":511,"children":512},{"style":116},[513],{"type":18,"value":514}," POSITIVE_Z",{"type":13,"tag":78,"props":516,"children":517},{"style":85},[518],{"type":18,"value":371},{"type":13,"tag":78,"props":520,"children":521},{"style":116},[522],{"type":18,"value":376},{"type":13,"tag":78,"props":524,"children":525},{"style":85},[526],{"type":18,"value":381},{"type":13,"tag":78,"props":528,"children":529},{"style":116},[530],{"type":18,"value":208},{"type":13,"tag":78,"props":532,"children":533},{"style":96},[534],{"type":18,"value":390},{"type":13,"tag":78,"props":536,"children":537},{"class":80,"line":237},[538,542,546,551,555,559,563,567],{"type":13,"tag":78,"props":539,"children":540},{"style":85},[541],{"type":18,"value":356},{"type":13,"tag":78,"props":543,"children":544},{"style":85},[545],{"type":18,"value":361},{"type":13,"tag":78,"props":547,"children":548},{"style":116},[549],{"type":18,"value":550}," NEGATIVE_Z",{"type":13,"tag":78,"props":552,"children":553},{"style":85},[554],{"type":18,"value":371},{"type":13,"tag":78,"props":556,"children":557},{"style":116},[558],{"type":18,"value":376},{"type":13,"tag":78,"props":560,"children":561},{"style":85},[562],{"type":18,"value":381},{"type":13,"tag":78,"props":564,"children":565},{"style":116},[566],{"type":18,"value":230},{"type":13,"tag":78,"props":568,"children":569},{"style":96},[570],{"type":18,"value":390},{"type":13,"tag":78,"props":572,"children":573},{"class":80,"line":259},[574,578,582,587,591,595,599,603],{"type":13,"tag":78,"props":575,"children":576},{"style":85},[577],{"type":18,"value":356},{"type":13,"tag":78,"props":579,"children":580},{"style":85},[581],{"type":18,"value":361},{"type":13,"tag":78,"props":583,"children":584},{"style":116},[585],{"type":18,"value":586}," POSITIVE_W",{"type":13,"tag":78,"props":588,"children":589},{"style":85},[590],{"type":18,"value":371},{"type":13,"tag":78,"props":592,"children":593},{"style":116},[594],{"type":18,"value":376},{"type":13,"tag":78,"props":596,"children":597},{"style":85},[598],{"type":18,"value":381},{"type":13,"tag":78,"props":600,"children":601},{"style":116},[602],{"type":18,"value":252},{"type":13,"tag":78,"props":604,"children":605},{"style":96},[606],{"type":18,"value":390},{"type":13,"tag":78,"props":608,"children":609},{"class":80,"line":281},[610,614,618,623,627,631,635,639],{"type":13,"tag":78,"props":611,"children":612},{"style":85},[613],{"type":18,"value":356},{"type":13,"tag":78,"props":615,"children":616},{"style":85},[617],{"type":18,"value":361},{"type":13,"tag":78,"props":619,"children":620},{"style":116},[621],{"type":18,"value":622}," NEGATIVE_W",{"type":13,"tag":78,"props":624,"children":625},{"style":85},[626],{"type":18,"value":371},{"type":13,"tag":78,"props":628,"children":629},{"style":116},[630],{"type":18,"value":376},{"type":13,"tag":78,"props":632,"children":633},{"style":85},[634],{"type":18,"value":381},{"type":13,"tag":78,"props":636,"children":637},{"style":116},[638],{"type":18,"value":274},{"type":13,"tag":78,"props":640,"children":641},{"style":96},[642],{"type":18,"value":390},{"type":13,"tag":78,"props":644,"children":646},{"class":80,"line":645},11,[647],{"type":13,"tag":78,"props":648,"children":649},{"style":96},[650],{"type":18,"value":651},"}\n",{"type":13,"tag":14,"props":653,"children":654},{},[655,657,663],{"type":18,"value":656},"These values are described in detail in ",{"type":13,"tag":21,"props":658,"children":660},{"href":659},"/chapters/vertexpostproc#vertexpostproc-viewport-swizzle",[661],{"type":18,"value":662},"Viewport Swizzle",{"type":18,"value":664},".",{"type":13,"tag":666,"props":667,"children":668},"style",{},[669],{"type":18,"value":670},"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":72,"searchDepth":102,"depth":102,"links":672},[],"markdown",1725732595521]