[{"data":1,"prerenderedAt":684},["ShallowReactive",2],{"lTDdosBUQT":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":683,"_id":4},"VkPhysicalDeviceTexelBufferAlignmentProperties","Structure describing the texel buffer alignment requirements supported by an implementation","VK_VERSION_1_3","structs",[],{"type":10,"children":11,"toc":681},"root",[12,28,345,350,415,531,566,611,644,675],{"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,135],{"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 VkPhysicalDeviceTexelBufferAlignmentProperties {\n VkStructureType sType;\n void* pNext;\n VkDeviceSize storageTexelBufferOffsetAlignmentBytes;\n VkBool32 storageTexelBufferOffsetSingleTexelAlignment;\n VkDeviceSize uniformTexelBufferOffsetAlignmentBytes;\n VkBool32 uniformTexelBufferOffsetSingleTexelAlignment;\n} VkPhysicalDeviceTexelBufferAlignmentProperties;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,108,117,126],{"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}," VkPhysicalDeviceTexelBufferAlignmentProperties {\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}," VkDeviceSize storageTexelBufferOffsetAlignmentBytes;\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}," VkBool32 storageTexelBufferOffsetSingleTexelAlignment;\n",{"type":13,"tag":45,"props":109,"children":111},{"class":47,"line":110},6,[112],{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116}," VkDeviceSize uniformTexelBufferOffsetAlignmentBytes;\n",{"type":13,"tag":45,"props":118,"children":120},{"class":47,"line":119},7,[121],{"type":13,"tag":45,"props":122,"children":123},{"style":63},[124],{"type":18,"value":125}," VkBool32 uniformTexelBufferOffsetSingleTexelAlignment;\n",{"type":13,"tag":45,"props":127,"children":129},{"class":47,"line":128},8,[130],{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134},"} VkPhysicalDeviceTexelBufferAlignmentProperties;\n",{"type":13,"tag":33,"props":136,"children":141},{"className":137,"code":138,"filename":139,"language":140,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceTexelBufferAlignmentProperties {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n storage_texel_buffer_offset_alignment_bytes: vk::DeviceSize,\n storage_texel_buffer_offset_single_texel_alignment: vk::Bool32,\n uniform_texel_buffer_offset_alignment_bytes: vk::DeviceSize,\n uniform_texel_buffer_offset_single_texel_alignment: vk::Bool32,\n}\n","Rust","rs",[142],{"type":13,"tag":21,"props":143,"children":144},{"__ignoreMap":39},[145,168,201,223,252,281,309,337],{"type":13,"tag":45,"props":146,"children":147},{"class":47,"line":48},[148,153,157,163],{"type":13,"tag":45,"props":149,"children":150},{"style":52},[151],{"type":18,"value":152},"pub",{"type":13,"tag":45,"props":154,"children":155},{"style":52},[156],{"type":18,"value":60},{"type":13,"tag":45,"props":158,"children":160},{"style":159},"--shiki-default:#953800;--shiki-dark:#FFA657",[161],{"type":18,"value":162}," PhysicalDeviceTexelBufferAlignmentProperties",{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167}," {\n",{"type":13,"tag":45,"props":169,"children":170},{"class":47,"line":69},[171,176,181,186,191,196],{"type":13,"tag":45,"props":172,"children":173},{"style":63},[174],{"type":18,"value":175}," s_type",{"type":13,"tag":45,"props":177,"children":178},{"style":52},[179],{"type":18,"value":180},":",{"type":13,"tag":45,"props":182,"children":183},{"style":159},[184],{"type":18,"value":185}," vk",{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190},"::",{"type":13,"tag":45,"props":192,"children":193},{"style":159},[194],{"type":18,"value":195},"StructureType",{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200},",\n",{"type":13,"tag":45,"props":202,"children":203},{"class":47,"line":78},[204,209,213,218],{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," p_next",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":180},{"type":13,"tag":45,"props":214,"children":215},{"style":52},[216],{"type":18,"value":217}," *mut",{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222}," c_void,\n",{"type":13,"tag":45,"props":224,"children":225},{"class":47,"line":92},[226,231,235,239,243,248],{"type":13,"tag":45,"props":227,"children":228},{"style":63},[229],{"type":18,"value":230}," storage_texel_buffer_offset_alignment_bytes",{"type":13,"tag":45,"props":232,"children":233},{"style":52},[234],{"type":18,"value":180},{"type":13,"tag":45,"props":236,"children":237},{"style":159},[238],{"type":18,"value":185},{"type":13,"tag":45,"props":240,"children":241},{"style":52},[242],{"type":18,"value":190},{"type":13,"tag":45,"props":244,"children":245},{"style":159},[246],{"type":18,"value":247},"DeviceSize",{"type":13,"tag":45,"props":249,"children":250},{"style":63},[251],{"type":18,"value":200},{"type":13,"tag":45,"props":253,"children":254},{"class":47,"line":101},[255,260,264,268,272,277],{"type":13,"tag":45,"props":256,"children":257},{"style":63},[258],{"type":18,"value":259}," storage_texel_buffer_offset_single_texel_alignment",{"type":13,"tag":45,"props":261,"children":262},{"style":52},[263],{"type":18,"value":180},{"type":13,"tag":45,"props":265,"children":266},{"style":159},[267],{"type":18,"value":185},{"type":13,"tag":45,"props":269,"children":270},{"style":52},[271],{"type":18,"value":190},{"type":13,"tag":45,"props":273,"children":274},{"style":159},[275],{"type":18,"value":276},"Bool32",{"type":13,"tag":45,"props":278,"children":279},{"style":63},[280],{"type":18,"value":200},{"type":13,"tag":45,"props":282,"children":283},{"class":47,"line":110},[284,289,293,297,301,305],{"type":13,"tag":45,"props":285,"children":286},{"style":63},[287],{"type":18,"value":288}," uniform_texel_buffer_offset_alignment_bytes",{"type":13,"tag":45,"props":290,"children":291},{"style":52},[292],{"type":18,"value":180},{"type":13,"tag":45,"props":294,"children":295},{"style":159},[296],{"type":18,"value":185},{"type":13,"tag":45,"props":298,"children":299},{"style":52},[300],{"type":18,"value":190},{"type":13,"tag":45,"props":302,"children":303},{"style":159},[304],{"type":18,"value":247},{"type":13,"tag":45,"props":306,"children":307},{"style":63},[308],{"type":18,"value":200},{"type":13,"tag":45,"props":310,"children":311},{"class":47,"line":119},[312,317,321,325,329,333],{"type":13,"tag":45,"props":313,"children":314},{"style":63},[315],{"type":18,"value":316}," uniform_texel_buffer_offset_single_texel_alignment",{"type":13,"tag":45,"props":318,"children":319},{"style":52},[320],{"type":18,"value":180},{"type":13,"tag":45,"props":322,"children":323},{"style":159},[324],{"type":18,"value":185},{"type":13,"tag":45,"props":326,"children":327},{"style":52},[328],{"type":18,"value":190},{"type":13,"tag":45,"props":330,"children":331},{"style":159},[332],{"type":18,"value":276},{"type":13,"tag":45,"props":334,"children":335},{"style":63},[336],{"type":18,"value":200},{"type":13,"tag":45,"props":338,"children":339},{"class":47,"line":128},[340],{"type":13,"tag":45,"props":341,"children":342},{"style":63},[343],{"type":18,"value":344},"}\n",{"type":13,"tag":14,"props":346,"children":347},{},[348],{"type":18,"value":349},"or the equivalent",{"type":13,"tag":29,"props":351,"children":352},{},[353,372],{"type":13,"tag":33,"props":354,"children":356},{"className":35,"code":355,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPhysicalDeviceTexelBufferAlignmentProperties VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT;\n",[357],{"type":13,"tag":21,"props":358,"children":359},{"__ignoreMap":39},[360],{"type":13,"tag":45,"props":361,"children":362},{"class":47,"line":48},[363,367],{"type":13,"tag":45,"props":364,"children":365},{"style":52},[366],{"type":18,"value":55},{"type":13,"tag":45,"props":368,"children":369},{"style":63},[370],{"type":18,"value":371}," VkPhysicalDeviceTexelBufferAlignmentProperties VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT;\n",{"type":13,"tag":33,"props":373,"children":375},{"className":137,"code":374,"filename":139,"language":140,"meta":39,"style":39},"type PhysicalDeviceTexelBufferAlignmentPropertiesEXT = vk::PhysicalDeviceTexelBufferAlignmentProperties;\n",[376],{"type":13,"tag":21,"props":377,"children":378},{"__ignoreMap":39},[379],{"type":13,"tag":45,"props":380,"children":381},{"class":47,"line":48},[382,387,392,397,401,405,410],{"type":13,"tag":45,"props":383,"children":384},{"style":52},[385],{"type":18,"value":386},"type",{"type":13,"tag":45,"props":388,"children":389},{"style":159},[390],{"type":18,"value":391}," PhysicalDeviceTexelBufferAlignmentPropertiesEXT",{"type":13,"tag":45,"props":393,"children":394},{"style":52},[395],{"type":18,"value":396}," =",{"type":13,"tag":45,"props":398,"children":399},{"style":159},[400],{"type":18,"value":185},{"type":13,"tag":45,"props":402,"children":403},{"style":52},[404],{"type":18,"value":190},{"type":13,"tag":45,"props":406,"children":407},{"style":159},[408],{"type":18,"value":409},"PhysicalDeviceTexelBufferAlignmentProperties",{"type":13,"tag":45,"props":411,"children":412},{"style":63},[413],{"type":18,"value":414},";\n",{"type":13,"tag":416,"props":417,"children":418},"ul",{},[419,440,459,482,497,516],{"type":13,"tag":420,"props":421,"children":422},"li",{},[423,429,431,438],{"type":13,"tag":21,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":428},"sType",{"type":18,"value":430}," is a ",{"type":13,"tag":432,"props":433,"children":435},"a",{"href":434},"/man/VkStructureType",[436],{"type":18,"value":437},"VkStructureType",{"type":18,"value":439}," value identifying this structure.",{"type":13,"tag":420,"props":441,"children":442},{},[443,449,451,457],{"type":13,"tag":21,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":448},"pNext",{"type":18,"value":450}," is ",{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"NULL",{"type":18,"value":458}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":420,"props":460,"children":461},{},[462,467,473,475,480],{"type":13,"tag":463,"props":464,"children":466},"anchor",{"id":465},"limits-storageTexelBufferOffsetAlignmentBytes",[],{"type":13,"tag":21,"props":468,"children":470},{"className":469},[],[471],{"type":18,"value":472},"storageTexelBufferOffsetAlignmentBytes",{"type":18,"value":474}," is a byte alignment that is\nsufficient for a storage texel buffer of any format.\nThe value ",{"type":13,"tag":476,"props":477,"children":479},"normative",{"type":478},"must",[],{"type":18,"value":481}," be a power of two.",{"type":13,"tag":420,"props":483,"children":484},{},[485,489,495],{"type":13,"tag":463,"props":486,"children":488},{"id":487},"limits-storageTexelBufferOffsetSingleTexelAlignment",[],{"type":13,"tag":21,"props":490,"children":492},{"className":491},[],[493],{"type":18,"value":494},"storageTexelBufferOffsetSingleTexelAlignment",{"type":18,"value":496}," indicates whether\nsingle texel alignment is sufficient for a storage texel buffer of any\nformat.",{"type":13,"tag":420,"props":498,"children":499},{},[500,504,510,512,515],{"type":13,"tag":463,"props":501,"children":503},{"id":502},"limits-uniformTexelBufferOffsetAlignmentBytes",[],{"type":13,"tag":21,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":509},"uniformTexelBufferOffsetAlignmentBytes",{"type":18,"value":511}," is a byte alignment that is\nsufficient for a uniform texel buffer of any format.\nThe value ",{"type":13,"tag":476,"props":513,"children":514},{"type":478},[],{"type":18,"value":481},{"type":13,"tag":420,"props":517,"children":518},{},[519,523,529],{"type":13,"tag":463,"props":520,"children":522},{"id":521},"limits-uniformTexelBufferOffsetSingleTexelAlignment",[],{"type":13,"tag":21,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":528},"uniformTexelBufferOffsetSingleTexelAlignment",{"type":18,"value":530}," indicates whether\nsingle texel alignment is sufficient for a uniform texel buffer of any\nformat.",{"type":13,"tag":14,"props":532,"children":533},{},[534,536,541,543,548,550,556,558,564],{"type":18,"value":535},"If the ",{"type":13,"tag":21,"props":537,"children":539},{"className":538},[],[540],{"type":18,"value":4},{"type":18,"value":542}," structure is included in the ",{"type":13,"tag":21,"props":544,"children":546},{"className":545},[],[547],{"type":18,"value":448},{"type":18,"value":549}," chain of the\n",{"type":13,"tag":432,"props":551,"children":553},{"href":552},"/man/VkPhysicalDeviceProperties2",[554],{"type":18,"value":555},"VkPhysicalDeviceProperties2",{"type":18,"value":557}," structure passed to\n",{"type":13,"tag":432,"props":559,"children":561},{"href":560},"/man/vkGetPhysicalDeviceProperties2",[562],{"type":18,"value":563},"vkGetPhysicalDeviceProperties2",{"type":18,"value":565},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":13,"tag":14,"props":567,"children":568},{},[569,571,577,579,582,584,590,591,594,596,602,603,609],{"type":18,"value":570},"If the single texel alignment property is ",{"type":13,"tag":21,"props":572,"children":574},{"className":573},[],[575],{"type":18,"value":576},"VK_FALSE",{"type":18,"value":578},", then the buffer\nview’s offset ",{"type":13,"tag":476,"props":580,"children":581},{"type":478},[],{"type":18,"value":583}," be aligned to the corresponding byte alignment value.\nIf the single texel alignment property is ",{"type":13,"tag":21,"props":585,"children":587},{"className":586},[],[588],{"type":18,"value":589},"VK_TRUE",{"type":18,"value":578},{"type":13,"tag":476,"props":592,"children":593},{"type":478},[],{"type":18,"value":595}," be aligned to the lesser of the corresponding byte\nalignment value or the size of a single texel, based on\n",{"type":13,"tag":432,"props":597,"children":599},{"href":598},"/man/VkBufferViewCreateInfo",[600],{"type":18,"value":601},"VkBufferViewCreateInfo",{"type":18,"value":190},{"type":13,"tag":21,"props":604,"children":606},{"className":605},[],[607],{"type":18,"value":608},"format",{"type":18,"value":610},".\nIf the size of a single texel is a multiple of three bytes, then the size of\na single component of the format is used instead.",{"type":13,"tag":14,"props":612,"children":613},{},[614,616,619,621,627,629,635,636,642],{"type":18,"value":615},"These limits ",{"type":13,"tag":476,"props":617,"children":618},{"type":478},[],{"type":18,"value":620}," not advertise a larger alignment than the\n",{"type":13,"tag":432,"props":622,"children":624},{"href":623},"/chapters/limits#limits-required",[625],{"type":18,"value":626},"required",{"type":18,"value":628}," maximum minimum value of\n",{"type":13,"tag":432,"props":630,"children":632},{"href":631},"/man/VkPhysicalDeviceLimits",[633],{"type":18,"value":634},"VkPhysicalDeviceLimits",{"type":18,"value":190},{"type":13,"tag":21,"props":637,"children":639},{"className":638},[],[640],{"type":18,"value":641},"minTexelBufferOffsetAlignment",{"type":18,"value":643},", for any\nformat that supports use as a texel buffer.",{"type":13,"tag":645,"props":646,"children":648},"validity-group",{"name":647},"Valid Usage (Implicit)",[649],{"type":13,"tag":650,"props":651,"children":653},"validity-field",{"name":652},"VUID-VkPhysicalDeviceTexelBufferAlignmentProperties-sType-sType",[654],{"type":13,"tag":14,"props":655,"children":656},{},[657,662,664,667,669],{"type":13,"tag":21,"props":658,"children":660},{"className":659},[],[661],{"type":18,"value":428},{"type":18,"value":663}," ",{"type":13,"tag":476,"props":665,"children":666},{"type":478},[],{"type":18,"value":668}," be ",{"type":13,"tag":21,"props":670,"children":672},{"className":671},[],[673],{"type":18,"value":674},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES",{"type":13,"tag":676,"props":677,"children":678},"style",{},[679],{"type":18,"value":680},"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":682},[],"markdown",1725732575526]