vulkan-3.5: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Synopsis

Documentation

data VertexInputBindingDivisorDescriptionEXT 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

See Also

PipelineVertexInputDivisorStateCreateInfoEXT

Constructors

VertexInputBindingDivisorDescriptionEXT 

Fields

  • binding :: Word32

    binding is the binding number for which the divisor is specified.

  • divisor :: Word32

    divisor is the number of successive instances that will use the same value of the vertex attribute when instanced rendering is enabled. For example, if the divisor is N, the same vertex attribute will be applied to N successive instances before moving on to the next vertex attribute. The maximum value of divisor is implementation dependent and can be queried using PhysicalDeviceVertexAttributeDivisorPropertiesEXT::maxVertexAttribDivisor. A value of 0 can be used for the divisor if the vertexAttributeInstanceRateZeroDivisor feature is enabled. In this case, the same vertex attribute will be applied to all instances.

Instances

Instances details
Eq VertexInputBindingDivisorDescriptionEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Show VertexInputBindingDivisorDescriptionEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Generic VertexInputBindingDivisorDescriptionEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Storable VertexInputBindingDivisorDescriptionEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

FromCStruct VertexInputBindingDivisorDescriptionEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

ToCStruct VertexInputBindingDivisorDescriptionEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Zero VertexInputBindingDivisorDescriptionEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

type Rep VertexInputBindingDivisorDescriptionEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

type Rep VertexInputBindingDivisorDescriptionEXT = D1 ('MetaData "VertexInputBindingDivisorDescriptionEXT" "Vulkan.Extensions.VK_EXT_vertex_attribute_divisor" "vulkan-3.5-inplace" 'False) (C1 ('MetaCons "VertexInputBindingDivisorDescriptionEXT" 'PrefixI 'True) (S1 ('MetaSel ('Just "binding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32) :*: S1 ('MetaSel ('Just "divisor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32)))

data PipelineVertexInputDivisorStateCreateInfoEXT Source #

VkPipelineVertexInputDivisorStateCreateInfoEXT - Structure specifying vertex attributes assignment during instanced rendering

Valid Usage (Implicit)

See Also

StructureType, VertexInputBindingDivisorDescriptionEXT

Constructors

PipelineVertexInputDivisorStateCreateInfoEXT 

Fields

Instances

Instances details
Show PipelineVertexInputDivisorStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Generic PipelineVertexInputDivisorStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

FromCStruct PipelineVertexInputDivisorStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

ToCStruct PipelineVertexInputDivisorStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Zero PipelineVertexInputDivisorStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

type Rep PipelineVertexInputDivisorStateCreateInfoEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

type Rep PipelineVertexInputDivisorStateCreateInfoEXT = D1 ('MetaData "PipelineVertexInputDivisorStateCreateInfoEXT" "Vulkan.Extensions.VK_EXT_vertex_attribute_divisor" "vulkan-3.5-inplace" 'False) (C1 ('MetaCons "PipelineVertexInputDivisorStateCreateInfoEXT" 'PrefixI 'True) (S1 ('MetaSel ('Just "vertexBindingDivisors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Vector VertexInputBindingDivisorDescriptionEXT))))

data PhysicalDeviceVertexAttributeDivisorPropertiesEXT Source #

VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT - Structure describing max value of vertex attribute divisor that can be supported by an implementation

Members

The members of the PhysicalDeviceVertexAttributeDivisorPropertiesEXT structure describe the following implementation-dependent limits:

Description

If the PhysicalDeviceVertexAttributeDivisorPropertiesEXT structure is included in the pNext chain of PhysicalDeviceProperties2, it is filled with the implementation-dependent limits.

Valid Usage (Implicit)

See Also

StructureType

Constructors

PhysicalDeviceVertexAttributeDivisorPropertiesEXT 

Fields

  • maxVertexAttribDivisor :: Word32

    maxVertexAttribDivisor is the maximum value of the number of instances that will repeat the value of vertex attribute data when instanced rendering is enabled.

Instances

Instances details
Eq PhysicalDeviceVertexAttributeDivisorPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Show PhysicalDeviceVertexAttributeDivisorPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Generic PhysicalDeviceVertexAttributeDivisorPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Storable PhysicalDeviceVertexAttributeDivisorPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

FromCStruct PhysicalDeviceVertexAttributeDivisorPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

ToCStruct PhysicalDeviceVertexAttributeDivisorPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Zero PhysicalDeviceVertexAttributeDivisorPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

type Rep PhysicalDeviceVertexAttributeDivisorPropertiesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

type Rep PhysicalDeviceVertexAttributeDivisorPropertiesEXT = D1 ('MetaData "PhysicalDeviceVertexAttributeDivisorPropertiesEXT" "Vulkan.Extensions.VK_EXT_vertex_attribute_divisor" "vulkan-3.5-inplace" 'False) (C1 ('MetaCons "PhysicalDeviceVertexAttributeDivisorPropertiesEXT" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxVertexAttribDivisor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32)))

data PhysicalDeviceVertexAttributeDivisorFeaturesEXT Source #

VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT - Structure describing if fetching of vertex attribute may be repeated for instanced rendering

Description

If the PhysicalDeviceVertexAttributeDivisorFeaturesEXT structure is included in the pNext chain of PhysicalDeviceFeatures2, it is filled with values indicating the implementation-dependent behavior. PhysicalDeviceVertexAttributeDivisorFeaturesEXT can also be included in pNext chain of DeviceCreateInfo to enable the feature.

Valid Usage (Implicit)

See Also

Bool32, StructureType

Constructors

PhysicalDeviceVertexAttributeDivisorFeaturesEXT 

Fields

Instances

Instances details
Eq PhysicalDeviceVertexAttributeDivisorFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Show PhysicalDeviceVertexAttributeDivisorFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Generic PhysicalDeviceVertexAttributeDivisorFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Storable PhysicalDeviceVertexAttributeDivisorFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

FromCStruct PhysicalDeviceVertexAttributeDivisorFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

ToCStruct PhysicalDeviceVertexAttributeDivisorFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

Zero PhysicalDeviceVertexAttributeDivisorFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

type Rep PhysicalDeviceVertexAttributeDivisorFeaturesEXT Source # 
Instance details

Defined in Vulkan.Extensions.VK_EXT_vertex_attribute_divisor

type Rep PhysicalDeviceVertexAttributeDivisorFeaturesEXT = D1 ('MetaData "PhysicalDeviceVertexAttributeDivisorFeaturesEXT" "Vulkan.Extensions.VK_EXT_vertex_attribute_divisor" "vulkan-3.5-inplace" 'False) (C1 ('MetaCons "PhysicalDeviceVertexAttributeDivisorFeaturesEXT" 'PrefixI 'True) (S1 ('MetaSel ('Just "vertexAttributeInstanceRateDivisor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "vertexAttributeInstanceRateZeroDivisor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

type EXT_VERTEX_ATTRIBUTE_DIVISOR_EXTENSION_NAME = "VK_EXT_vertex_attribute_divisor" Source #