[{"data":1,"prerenderedAt":542},["ShallowReactive",2],{"lR2RnXyxb6":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":541,"_id":4},"VkPhysicalDeviceSamplerYcbcrConversionFeatures","Structure describing {YCbCr} conversion features that can be supported by an implementation","VK_VERSION_1_1","structs",[],{"type":10,"children":11,"toc":539},"root",[12,28,240,245,310,315,440,503,533],{"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\ndefined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,108],{"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 VkPhysicalDeviceSamplerYcbcrConversionFeatures {\n VkStructureType sType;\n void* pNext;\n VkBool32 samplerYcbcrConversion;\n} VkPhysicalDeviceSamplerYcbcrConversionFeatures;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99],{"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}," VkPhysicalDeviceSamplerYcbcrConversionFeatures {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkBool32 samplerYcbcrConversion;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107},"} VkPhysicalDeviceSamplerYcbcrConversionFeatures;\n",{"type":13,"tag":33,"props":109,"children":114},{"className":110,"code":111,"filename":112,"language":113,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceSamplerYcbcrConversionFeatures {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n sampler_ycbcr_conversion: vk::Bool32, // Sampler color conversion supported\n}\n","Rust","rs",[115],{"type":13,"tag":21,"props":116,"children":117},{"__ignoreMap":39},[118,141,174,196,232],{"type":13,"tag":45,"props":119,"children":120},{"class":47,"line":48},[121,126,130,136],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125},"pub",{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":60},{"type":13,"tag":45,"props":131,"children":133},{"style":132},"--shiki-default:#953800;--shiki-dark:#FFA657",[134],{"type":18,"value":135}," PhysicalDeviceSamplerYcbcrConversionFeatures",{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140}," {\n",{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":69},[144,149,154,159,164,169],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," s_type",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":153},":",{"type":13,"tag":45,"props":155,"children":156},{"style":132},[157],{"type":18,"value":158}," vk",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},"::",{"type":13,"tag":45,"props":165,"children":166},{"style":132},[167],{"type":18,"value":168},"StructureType",{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173},",\n",{"type":13,"tag":45,"props":175,"children":176},{"class":47,"line":78},[177,182,186,191],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," p_next",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":153},{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190}," *mut",{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," c_void,\n",{"type":13,"tag":45,"props":197,"children":198},{"class":47,"line":92},[199,204,208,212,216,221,226],{"type":13,"tag":45,"props":200,"children":201},{"style":63},[202],{"type":18,"value":203}," sampler_ycbcr_conversion",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":153},{"type":13,"tag":45,"props":209,"children":210},{"style":132},[211],{"type":18,"value":158},{"type":13,"tag":45,"props":213,"children":214},{"style":52},[215],{"type":18,"value":163},{"type":13,"tag":45,"props":217,"children":218},{"style":132},[219],{"type":18,"value":220},"Bool32",{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":225},", ",{"type":13,"tag":45,"props":227,"children":229},{"style":228},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[230],{"type":18,"value":231},"// Sampler color conversion supported\n",{"type":13,"tag":45,"props":233,"children":234},{"class":47,"line":101},[235],{"type":13,"tag":45,"props":236,"children":237},{"style":63},[238],{"type":18,"value":239},"}\n",{"type":13,"tag":14,"props":241,"children":242},{},[243],{"type":18,"value":244},"or the equivalent",{"type":13,"tag":29,"props":246,"children":247},{},[248,267],{"type":13,"tag":33,"props":249,"children":251},{"className":35,"code":250,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPhysicalDeviceSamplerYcbcrConversionFeatures VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR;\n",[252],{"type":13,"tag":21,"props":253,"children":254},{"__ignoreMap":39},[255],{"type":13,"tag":45,"props":256,"children":257},{"class":47,"line":48},[258,262],{"type":13,"tag":45,"props":259,"children":260},{"style":52},[261],{"type":18,"value":55},{"type":13,"tag":45,"props":263,"children":264},{"style":63},[265],{"type":18,"value":266}," VkPhysicalDeviceSamplerYcbcrConversionFeatures VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR;\n",{"type":13,"tag":33,"props":268,"children":270},{"className":110,"code":269,"filename":112,"language":113,"meta":39,"style":39},"type PhysicalDeviceSamplerYcbcrConversionFeaturesKHR = vk::PhysicalDeviceSamplerYcbcrConversionFeatures;\n",[271],{"type":13,"tag":21,"props":272,"children":273},{"__ignoreMap":39},[274],{"type":13,"tag":45,"props":275,"children":276},{"class":47,"line":48},[277,282,287,292,296,300,305],{"type":13,"tag":45,"props":278,"children":279},{"style":52},[280],{"type":18,"value":281},"type",{"type":13,"tag":45,"props":283,"children":284},{"style":132},[285],{"type":18,"value":286}," PhysicalDeviceSamplerYcbcrConversionFeaturesKHR",{"type":13,"tag":45,"props":288,"children":289},{"style":52},[290],{"type":18,"value":291}," =",{"type":13,"tag":45,"props":293,"children":294},{"style":132},[295],{"type":18,"value":158},{"type":13,"tag":45,"props":297,"children":298},{"style":52},[299],{"type":18,"value":163},{"type":13,"tag":45,"props":301,"children":302},{"style":132},[303],{"type":18,"value":304},"PhysicalDeviceSamplerYcbcrConversionFeatures",{"type":13,"tag":45,"props":306,"children":307},{"style":63},[308],{"type":18,"value":309},";\n",{"type":13,"tag":14,"props":311,"children":312},{},[313],{"type":18,"value":314},"This structure describes the following feature:",{"type":13,"tag":316,"props":317,"children":318},"ul",{},[319,340,359],{"type":13,"tag":320,"props":321,"children":322},"li",{},[323,329,331,338],{"type":13,"tag":21,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"sType",{"type":18,"value":330}," is a ",{"type":13,"tag":332,"props":333,"children":335},"a",{"href":334},"/man/VkStructureType",[336],{"type":18,"value":337},"VkStructureType",{"type":18,"value":339}," value identifying this structure.",{"type":13,"tag":320,"props":341,"children":342},{},[343,349,351,357],{"type":13,"tag":21,"props":344,"children":346},{"className":345},[],[347],{"type":18,"value":348},"pNext",{"type":18,"value":350}," is ",{"type":13,"tag":21,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":356},"NULL",{"type":18,"value":358}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":320,"props":360,"children":361},{},[362,367,373,375,395,397,402,403,409,411,415,416,420,422,426,427,431,433,438],{"type":13,"tag":363,"props":364,"children":366},"anchor",{"id":365},"features-samplerYcbcrConversion",[],{"type":13,"tag":21,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":372},"samplerYcbcrConversion",{"type":18,"value":374}," specifies whether the implementation\nsupports ",{"type":13,"tag":332,"props":376,"children":378},{"href":377},"/chapters/samplers#samplers-YCbCr-conversion",[379,381,387,388,393],{"type":18,"value":380},"sampler Y′C",{"type":13,"tag":382,"props":383,"children":384},"sub",{},[385],{"type":18,"value":386},"B",{"type":18,"value":37},{"type":13,"tag":382,"props":389,"children":390},{},[391],{"type":18,"value":392},"R",{"type":18,"value":394}," conversion",{"type":18,"value":396},".\nIf ",{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":372},{"type":18,"value":350},{"type":13,"tag":21,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":408},"VK_FALSE",{"type":18,"value":410},", sampler Y′C",{"type":13,"tag":382,"props":412,"children":413},{},[414],{"type":18,"value":386},{"type":18,"value":37},{"type":13,"tag":382,"props":417,"children":418},{},[419],{"type":18,"value":392},{"type":18,"value":421},"\nconversion is not supported, and samplers using sampler Y′C",{"type":13,"tag":382,"props":423,"children":424},{},[425],{"type":18,"value":386},{"type":18,"value":37},{"type":13,"tag":382,"props":428,"children":429},{},[430],{"type":18,"value":392},{"type":18,"value":432},"\nconversion ",{"type":13,"tag":434,"props":435,"children":437},"normative",{"type":436},"must",[],{"type":18,"value":439}," not be used.",{"type":13,"tag":14,"props":441,"children":442},{},[443,445,450,452,457,459,465,467,473,475,480,482,486,488,493,495,501],{"type":18,"value":444},"If the ",{"type":13,"tag":21,"props":446,"children":448},{"className":447},[],[449],{"type":18,"value":4},{"type":18,"value":451}," structure is included in the ",{"type":13,"tag":21,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":348},{"type":18,"value":458}," chain of the\n",{"type":13,"tag":332,"props":460,"children":462},{"href":461},"/man/VkPhysicalDeviceFeatures2",[463],{"type":18,"value":464},"VkPhysicalDeviceFeatures2",{"type":18,"value":466}," structure passed to\n",{"type":13,"tag":332,"props":468,"children":470},{"href":469},"/man/vkGetPhysicalDeviceFeatures2",[471],{"type":18,"value":472},"vkGetPhysicalDeviceFeatures2",{"type":18,"value":474},", it is filled in to indicate whether each\ncorresponding feature is supported.\n",{"type":13,"tag":21,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":4},{"type":18,"value":481}," ",{"type":13,"tag":434,"props":483,"children":485},{"type":484},"can",[],{"type":18,"value":487}," also be used in the ",{"type":13,"tag":21,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":348},{"type":18,"value":494}," chain of\n",{"type":13,"tag":332,"props":496,"children":498},{"href":497},"/man/VkDeviceCreateInfo",[499],{"type":18,"value":500},"VkDeviceCreateInfo",{"type":18,"value":502}," to selectively enable these features.",{"type":13,"tag":504,"props":505,"children":507},"validity-group",{"name":506},"Valid Usage (Implicit)",[508],{"type":13,"tag":509,"props":510,"children":512},"validity-field",{"name":511},"VUID-VkPhysicalDeviceSamplerYcbcrConversionFeatures-sType-sType",[513],{"type":13,"tag":14,"props":514,"children":515},{},[516,521,522,525,527],{"type":13,"tag":21,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":328},{"type":18,"value":481},{"type":13,"tag":434,"props":523,"children":524},{"type":436},[],{"type":18,"value":526}," be ",{"type":13,"tag":21,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":532},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES",{"type":13,"tag":534,"props":535,"children":536},"style",{},[537],{"type":18,"value":538},"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":540},[],"markdown",1725732573468]