Interface VulkanVertexInputAttributeDescriptionType
- All Known Implementing Classes:
VulkanVertexInputAttributeDescription
@Immutable
public interface VulkanVertexInputAttributeDescriptionType
Structure specifying vertex input attribute description.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault intbinding()default VulkanFormatformat()default intlocation()default intoffset()
-
Method Details
-
location
@Default default int location()- Returns:
- The shader binding location number for this attribute.
-
binding
@Default default int binding()- Returns:
- The binding number which this attribute takes its data from.
-
format
- Returns:
- The the size and type of the vertex attribute data.
-
offset
@Default default int offset()- Returns:
- a byte offset of this attribute relative to the start of an element in the vertex input binding.
-