Description
BaseInstance
-
Decorating a variable with the
BaseInstance
built-in will make that variable contain the integer value corresponding to the first instance that was passed to the command that invoked the current vertex shader invocation.BaseInstance
is thefirstInstance
parameter to a direct drawing command or thefirstInstance
member of a structure consumed by an indirect drawing command.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.