Interface VulkanBufferViewCreateInfoType
- All Known Implementing Classes:
VulkanBufferViewCreateInfo
@Immutable
public interface VulkanBufferViewCreateInfoType
Information required to create a buffer.
- See Also:
-
Method Details
-
flags
Set<VulkanBufferViewCreateFlag> flags()- Returns:
- A set of flags specifying additional parameters of the buffer view.
-
buffer
VulkanBufferType buffer()- Returns:
- The buffer on which the view will be created
-
format
- Returns:
- The format of the data elements in the buffer
-
offset
@Default default 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
@Default default 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.
-