[{"data":1,"prerenderedAt":595},["ShallowReactive",2],{"JHyRNHLkPa":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":594,"_id":4},"vkCreateBufferCollectionFUCHSIA","Create a new buffer collection","VK_FUCHSIA_buffer_collection","protos",[],{"type":10,"children":11,"toc":592},"root",[12,29,382,464,586],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27],{"type":18,"value":19},"text","To create a ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkBufferCollectionFUCHSIA",[25],{"type":18,"value":26},"VkBufferCollectionFUCHSIA",{"type":18,"value":28}," for Vulkan to participate in the\nbuffer collection:",{"type":13,"tag":30,"props":31,"children":32},"code-group",{},[33,166],{"type":13,"tag":34,"props":35,"children":41},"pre",{"className":36,"code":37,"filename":38,"language":39,"meta":40,"style":40},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkCreateBufferCollectionFUCHSIA(\n VkDevice device,\n const VkBufferCollectionCreateInfoFUCHSIA* pCreateInfo,\n const VkAllocationCallbacks* pAllocator,\n VkBufferCollectionFUCHSIA* pCollection);\n","C","c","",[42],{"type":13,"tag":43,"props":44,"children":45},"code",{"__ignoreMap":40},[46,68,88,117,143],{"type":13,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63],{"type":13,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[56],{"type":18,"value":57},"VkResult ",{"type":13,"tag":47,"props":59,"children":61},{"style":60},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[62],{"type":18,"value":4},{"type":13,"tag":47,"props":64,"children":65},{"style":54},[66],{"type":18,"value":67},"(\n",{"type":13,"tag":47,"props":69,"children":71},{"class":49,"line":70},2,[72,77,83],{"type":13,"tag":47,"props":73,"children":74},{"style":54},[75],{"type":18,"value":76}," VkDevice ",{"type":13,"tag":47,"props":78,"children":80},{"style":79},"--shiki-default:#953800;--shiki-dark:#FFA657",[81],{"type":18,"value":82},"device",{"type":13,"tag":47,"props":84,"children":85},{"style":54},[86],{"type":18,"value":87},",\n",{"type":13,"tag":47,"props":89,"children":91},{"class":49,"line":90},3,[92,98,103,108,113],{"type":13,"tag":47,"props":93,"children":95},{"style":94},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[96],{"type":18,"value":97}," const",{"type":13,"tag":47,"props":99,"children":100},{"style":54},[101],{"type":18,"value":102}," VkBufferCollectionCreateInfoFUCHSIA",{"type":13,"tag":47,"props":104,"children":105},{"style":94},[106],{"type":18,"value":107},"*",{"type":13,"tag":47,"props":109,"children":110},{"style":79},[111],{"type":18,"value":112}," pCreateInfo",{"type":13,"tag":47,"props":114,"children":115},{"style":54},[116],{"type":18,"value":87},{"type":13,"tag":47,"props":118,"children":120},{"class":49,"line":119},4,[121,125,130,134,139],{"type":13,"tag":47,"props":122,"children":123},{"style":94},[124],{"type":18,"value":97},{"type":13,"tag":47,"props":126,"children":127},{"style":54},[128],{"type":18,"value":129}," VkAllocationCallbacks",{"type":13,"tag":47,"props":131,"children":132},{"style":94},[133],{"type":18,"value":107},{"type":13,"tag":47,"props":135,"children":136},{"style":79},[137],{"type":18,"value":138}," pAllocator",{"type":13,"tag":47,"props":140,"children":141},{"style":54},[142],{"type":18,"value":87},{"type":13,"tag":47,"props":144,"children":146},{"class":49,"line":145},5,[147,152,156,161],{"type":13,"tag":47,"props":148,"children":149},{"style":54},[150],{"type":18,"value":151}," VkBufferCollectionFUCHSIA",{"type":13,"tag":47,"props":153,"children":154},{"style":94},[155],{"type":18,"value":107},{"type":13,"tag":47,"props":157,"children":158},{"style":79},[159],{"type":18,"value":160}," pCollection",{"type":13,"tag":47,"props":162,"children":163},{"style":54},[164],{"type":18,"value":165},");\n",{"type":13,"tag":34,"props":167,"children":172},{"className":168,"code":169,"filename":170,"language":171,"meta":40,"style":40},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn create_buffer_collection_fuchsia(\n device: crate :: vk :: vk::Device,\n p_create_info: *const vk::BufferCollectionCreateInfoFUCHSIA,\n p_allocator: *const vk::AllocationCallbacks,\n p_collection: *mut vk::BufferCollectionFUCHSIA,\n) -> vk::Result;\n","Rust","rs",[173],{"type":13,"tag":43,"props":174,"children":175},{"__ignoreMap":40},[176,198,249,283,316,350],{"type":13,"tag":47,"props":177,"children":178},{"class":49,"line":50},[179,184,189,194],{"type":13,"tag":47,"props":180,"children":181},{"style":94},[182],{"type":18,"value":183},"pub",{"type":13,"tag":47,"props":185,"children":186},{"style":94},[187],{"type":18,"value":188}," fn",{"type":13,"tag":47,"props":190,"children":191},{"style":60},[192],{"type":18,"value":193}," create_buffer_collection_fuchsia",{"type":13,"tag":47,"props":195,"children":196},{"style":54},[197],{"type":18,"value":67},{"type":13,"tag":47,"props":199,"children":200},{"class":49,"line":70},[201,206,211,216,221,226,231,236,240,245],{"type":13,"tag":47,"props":202,"children":203},{"style":54},[204],{"type":18,"value":205}," device",{"type":13,"tag":47,"props":207,"children":208},{"style":94},[209],{"type":18,"value":210},":",{"type":13,"tag":47,"props":212,"children":213},{"style":94},[214],{"type":18,"value":215}," crate",{"type":13,"tag":47,"props":217,"children":218},{"style":94},[219],{"type":18,"value":220}," ::",{"type":13,"tag":47,"props":222,"children":223},{"style":54},[224],{"type":18,"value":225}," vk ",{"type":13,"tag":47,"props":227,"children":228},{"style":94},[229],{"type":18,"value":230},"::",{"type":13,"tag":47,"props":232,"children":233},{"style":79},[234],{"type":18,"value":235}," vk",{"type":13,"tag":47,"props":237,"children":238},{"style":94},[239],{"type":18,"value":230},{"type":13,"tag":47,"props":241,"children":242},{"style":79},[243],{"type":18,"value":244},"Device",{"type":13,"tag":47,"props":246,"children":247},{"style":54},[248],{"type":18,"value":87},{"type":13,"tag":47,"props":250,"children":251},{"class":49,"line":90},[252,257,261,266,270,274,279],{"type":13,"tag":47,"props":253,"children":254},{"style":54},[255],{"type":18,"value":256}," p_create_info",{"type":13,"tag":47,"props":258,"children":259},{"style":94},[260],{"type":18,"value":210},{"type":13,"tag":47,"props":262,"children":263},{"style":94},[264],{"type":18,"value":265}," *const",{"type":13,"tag":47,"props":267,"children":268},{"style":79},[269],{"type":18,"value":235},{"type":13,"tag":47,"props":271,"children":272},{"style":94},[273],{"type":18,"value":230},{"type":13,"tag":47,"props":275,"children":276},{"style":79},[277],{"type":18,"value":278},"BufferCollectionCreateInfoFUCHSIA",{"type":13,"tag":47,"props":280,"children":281},{"style":54},[282],{"type":18,"value":87},{"type":13,"tag":47,"props":284,"children":285},{"class":49,"line":119},[286,291,295,299,303,307,312],{"type":13,"tag":47,"props":287,"children":288},{"style":54},[289],{"type":18,"value":290}," p_allocator",{"type":13,"tag":47,"props":292,"children":293},{"style":94},[294],{"type":18,"value":210},{"type":13,"tag":47,"props":296,"children":297},{"style":94},[298],{"type":18,"value":265},{"type":13,"tag":47,"props":300,"children":301},{"style":79},[302],{"type":18,"value":235},{"type":13,"tag":47,"props":304,"children":305},{"style":94},[306],{"type":18,"value":230},{"type":13,"tag":47,"props":308,"children":309},{"style":79},[310],{"type":18,"value":311},"AllocationCallbacks",{"type":13,"tag":47,"props":313,"children":314},{"style":54},[315],{"type":18,"value":87},{"type":13,"tag":47,"props":317,"children":318},{"class":49,"line":145},[319,324,328,333,337,341,346],{"type":13,"tag":47,"props":320,"children":321},{"style":54},[322],{"type":18,"value":323}," p_collection",{"type":13,"tag":47,"props":325,"children":326},{"style":94},[327],{"type":18,"value":210},{"type":13,"tag":47,"props":329,"children":330},{"style":94},[331],{"type":18,"value":332}," *mut",{"type":13,"tag":47,"props":334,"children":335},{"style":79},[336],{"type":18,"value":235},{"type":13,"tag":47,"props":338,"children":339},{"style":94},[340],{"type":18,"value":230},{"type":13,"tag":47,"props":342,"children":343},{"style":79},[344],{"type":18,"value":345},"BufferCollectionFUCHSIA",{"type":13,"tag":47,"props":347,"children":348},{"style":54},[349],{"type":18,"value":87},{"type":13,"tag":47,"props":351,"children":353},{"class":49,"line":352},6,[354,359,364,368,372,377],{"type":13,"tag":47,"props":355,"children":356},{"style":54},[357],{"type":18,"value":358},") ",{"type":13,"tag":47,"props":360,"children":361},{"style":94},[362],{"type":18,"value":363},"->",{"type":13,"tag":47,"props":365,"children":366},{"style":79},[367],{"type":18,"value":235},{"type":13,"tag":47,"props":369,"children":370},{"style":94},[371],{"type":18,"value":230},{"type":13,"tag":47,"props":373,"children":374},{"style":79},[375],{"type":18,"value":376},"Result",{"type":13,"tag":47,"props":378,"children":379},{"style":54},[380],{"type":18,"value":381},";\n",{"type":13,"tag":383,"props":384,"children":385},"ul",{},[386,402,421,448],{"type":13,"tag":387,"props":388,"children":389},"li",{},[390,395,397],{"type":13,"tag":43,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":82},{"type":18,"value":396}," is the logical device that creates the\n",{"type":13,"tag":43,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":26},{"type":13,"tag":387,"props":403,"children":404},{},[405,411,413,419],{"type":13,"tag":43,"props":406,"children":408},{"className":407},[],[409],{"type":18,"value":410},"pCreateInfo",{"type":18,"value":412}," is a pointer to a\n",{"type":13,"tag":21,"props":414,"children":416},{"href":415},"/man/VkBufferCollectionCreateInfoFUCHSIA",[417],{"type":18,"value":418},"VkBufferCollectionCreateInfoFUCHSIA",{"type":18,"value":420}," structure containing\nparameters affecting creation of the buffer collection",{"type":13,"tag":387,"props":422,"children":423},{},[424,430,432,438,440,446],{"type":13,"tag":43,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":429},"pAllocator",{"type":18,"value":431}," is a pointer to a ",{"type":13,"tag":21,"props":433,"children":435},{"href":434},"/man/VkAllocationCallbacks",[436],{"type":18,"value":437},"VkAllocationCallbacks",{"type":18,"value":439}," structure\ncontrolling host memory allocation as described in the\n",{"type":13,"tag":21,"props":441,"children":443},{"href":442},"/chapters/memory#memory-allocation",[444],{"type":18,"value":445},"Memory Allocation",{"type":18,"value":447}," chapter",{"type":13,"tag":387,"props":449,"children":450},{},[451,457,458,462],{"type":13,"tag":43,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"pBufferCollection",{"type":18,"value":412},{"type":13,"tag":21,"props":459,"children":460},{"href":23},[461],{"type":18,"value":26},{"type":18,"value":463}," handle in which the resulting buffer\ncollection object is returned",{"type":13,"tag":465,"props":466,"children":468},"validity-group",{"name":467},"Valid Usage (Implicit)",[469,499,523,562],{"type":13,"tag":470,"props":471,"children":473},"validity-field",{"name":472},"VUID-vkCreateBufferCollectionFUCHSIA-device-parameter",[474],{"type":13,"tag":14,"props":475,"children":476},{},[477,482,484,489,491,497],{"type":13,"tag":43,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":82},{"type":18,"value":483}," ",{"type":13,"tag":485,"props":486,"children":488},"normative",{"type":487},"must",[],{"type":18,"value":490}," be a valid ",{"type":13,"tag":21,"props":492,"children":494},{"href":493},"/man/VkDevice",[495],{"type":18,"value":496},"VkDevice",{"type":18,"value":498}," handle",{"type":13,"tag":470,"props":500,"children":502},{"name":501},"VUID-vkCreateBufferCollectionFUCHSIA-pCreateInfo-parameter",[503],{"type":13,"tag":14,"props":504,"children":505},{},[506,511,512,515,517,521],{"type":13,"tag":43,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":410},{"type":18,"value":483},{"type":13,"tag":485,"props":513,"children":514},{"type":487},[],{"type":18,"value":516}," be a valid pointer to a valid ",{"type":13,"tag":21,"props":518,"children":519},{"href":415},[520],{"type":18,"value":418},{"type":18,"value":522}," structure",{"type":13,"tag":470,"props":524,"children":526},{"name":525},"VUID-vkCreateBufferCollectionFUCHSIA-pAllocator-parameter",[527],{"type":13,"tag":14,"props":528,"children":529},{},[530,532,537,539,545,547,552,553,556,557,561],{"type":18,"value":531},"If ",{"type":13,"tag":43,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":429},{"type":18,"value":538}," is not ",{"type":13,"tag":43,"props":540,"children":542},{"className":541},[],[543],{"type":18,"value":544},"NULL",{"type":18,"value":546},", ",{"type":13,"tag":43,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":429},{"type":18,"value":483},{"type":13,"tag":485,"props":554,"children":555},{"type":487},[],{"type":18,"value":516},{"type":13,"tag":21,"props":558,"children":559},{"href":434},[560],{"type":18,"value":437},{"type":18,"value":522},{"type":13,"tag":470,"props":563,"children":565},{"name":564},"VUID-vkCreateBufferCollectionFUCHSIA-pCollection-parameter",[566],{"type":13,"tag":14,"props":567,"children":568},{},[569,575,576,579,581,585],{"type":13,"tag":43,"props":570,"children":572},{"className":571},[],[573],{"type":18,"value":574},"pCollection",{"type":18,"value":483},{"type":13,"tag":485,"props":577,"children":578},{"type":487},[],{"type":18,"value":580}," be a valid pointer to a ",{"type":13,"tag":21,"props":582,"children":583},{"href":23},[584],{"type":18,"value":26},{"type":18,"value":498},{"type":13,"tag":587,"props":588,"children":589},"style",{},[590],{"type":18,"value":591},"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":40,"searchDepth":70,"depth":70,"links":593},[],"markdown",1729612508562]