| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Graphics.Vulkan.Extensions.VK_EXT_vertex_attribute_divisor
Synopsis
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT :: VkStructureType
- pattern VK_EXT_VERTEX_ATTRIBUTE_DIVISOR_SPEC_VERSION :: Integral a => a
- pattern VK_EXT_VERTEX_ATTRIBUTE_DIVISOR_EXTENSION_NAME :: (Eq a, IsString a) => a
- data VkVertexInputBindingDivisorDescriptionEXT = VkVertexInputBindingDivisorDescriptionEXT {}
- data VkPipelineVertexInputDivisorStateCreateInfoEXT = VkPipelineVertexInputDivisorStateCreateInfoEXT {}
- data VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT = VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT {}
Documentation
pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT :: VkStructureType Source #
pattern VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT :: VkStructureType Source #
pattern VK_EXT_VERTEX_ATTRIBUTE_DIVISOR_SPEC_VERSION :: Integral a => a Source #
pattern VK_EXT_VERTEX_ATTRIBUTE_DIVISOR_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
data VkVertexInputBindingDivisorDescriptionEXT Source #
VkVertexInputBindingDivisorDescriptionEXT - Structure specifying a divisor used in instanced rendering
Description
If this structure is not used to define a divisor value for an attribute then the divisor has a logical default value of 1.
Valid Usage
- bindingmust be less than- VkPhysicalDeviceLimits::- maxVertexInputBindings
- divisormust be a value between- 0and- VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT::- maxVertexAttribDivisor, inclusive.
- VkVertexInputBindingDescription::- inputRatemust be of type- VK_VERTEX_INPUT_RATE_INSTANCEfor this- binding.
See Also
Constructors
| VkVertexInputBindingDivisorDescriptionEXT | |
| Fields 
 | |
Instances
data VkPipelineVertexInputDivisorStateCreateInfoEXT Source #
VkPipelineVertexInputDivisorStateCreateInfoEXT - Structure specifying vertex attributes assignment during instanced rendering
Valid Usage (Implicit)
- sTypemust be- VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT
- pVertexBindingDivisorsmust be a valid pointer to an array of- vertexBindingDivisorCount- VkVertexInputBindingDivisorDescriptionEXTstructures
- vertexBindingDivisorCountmust be greater than- 0
See Also
Constructors
| VkPipelineVertexInputDivisorStateCreateInfoEXT | |
| Fields 
 | |
Instances
data VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT Source #
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT - Structure describing max value of vertex attribute divisor that can be supported by an implementation
Members
The members of the VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT
 structure describe the following implementation-dependent limits:
Description
- maxVertexAttribDivisoris the maximum value of the number of instances that will repeat the value of vertex attribute data when instanced rendering is enabled.
Valid Usage (Implicit)
- sTypemust be- VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT
See Also
Constructors
| VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT | |
| Fields 
 | |