55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a
|
|
// Creative Commons Attribution 4.0 International License; see
|
|
// http://creativecommons.org/licenses/by/4.0/
|
|
|
|
VkBufferView(3)
|
|
===============
|
|
|
|
Name
|
|
----
|
|
VkBufferView - Opaque handle to a buffer view object
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
// refBegin VkBufferView - Opaque handle to a buffer view object
|
|
|
|
A _buffer view_ represents a contiguous range of a buffer and a specific
|
|
format to be used to interpret the data. Buffer views are used to enable
|
|
shaders to access buffer contents interpreted as formatted data. In order to
|
|
create a valid buffer view, the buffer must: have been created with at least
|
|
one of the following usage flags:
|
|
|
|
* ename:VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT
|
|
* ename:VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT
|
|
|
|
Buffer views are represented by sname:VkBufferView handles:
|
|
|
|
include::../api/handles/VkBufferView.txt[]
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
// refEnd VkBufferView
|
|
|
|
|
|
See Also
|
|
--------
|
|
|
|
slink:VkWriteDescriptorSet, flink:vkCreateBufferView, flink:vkDestroyBufferView
|
|
|
|
|
|
Document Notes
|
|
--------------
|
|
|
|
For more information, see the Vulkan Specification at URL
|
|
|
|
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkBufferView
|
|
|
|
This page is extracted from the Vulkan Specification.
|
|
Fixes and changes should be made to the Specification,not directly.
|
|
|
|
include::footer.txt[]
|
|
|