# Interface VulkanBufferViewCreateInfoType

All Known Implementing Classes:
  `VulkanBufferViewCreateInfo`

@Immutable public interface VulkanBufferViewCreateInfoType
Information required to create a buffer.

See Also:
  - "VkBufferViewCreateInfo"

- ## Method Summary

  Modifier and Type
  Method
  Description
  `VulkanBufferType`
  `buffer()`
  `Set<VulkanBufferViewCreateFlag>`
  `flags()`
  `VulkanFormat`
  `format()`
  `long`
  `offset()`
  `long`
  `range()`

- ## Method Details

  - ### flags

    @Parameter Set<VulkanBufferViewCreateFlag> flags()
    Returns:
      A set of flags specifying additional parameters of the buffer view.

  - ### buffer

    @Parameter VulkanBufferType buffer()
    Returns:
      The buffer on which the view will be created

  - ### format

    @Parameter VulkanFormat format()
    Returns:
      The format of the data elements in the buffer

  - ### offset

    @Parameter long offset()
    Returns:
      An offset in bytes from the base address of the buffer. Accesses to the buffer view from shaders use addressing that is relative to this starting offset.

  - ### range

    @Parameter long range()
    Returns:
      A size in bytes of the buffer view. If range is equal to VK_WHOLE_SIZE, the range from offset to the end of the buffer is used. If VK_WHOLE_SIZE is used and the remaining size of the buffer is not a multiple of the texel block size of format, the nearest smaller multiple is used.