Libraries.Game.Graphics.Vulkan.VulkanSubmitInfo Documentation

The VulkanSubmitInfo class contains all of the information needed by the Vulkan system to submit commands to a VulkanQueue. The class contains these parameters: 1. An array of VulkanCommandBuffers. These are the lists of recorded commands that will be executed on this queue. 2. An array of "signal" VulkanSemaphores. These semaphores will be set to signalled once the queued work is completed. 3. An array of "wait" VulkanSemaphores. The work in this queue will not proceed past a wait semaphore until it has been signalled elsewhere. 4. An array of pipeline destination stages, each one corresponding to one of the the wait semaphores. This indicates which stage a semaphore controls. For example, if the value at index 0 of this array is PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, then the queued commands cannot proceed into that stage of the Vulkan pipeline until the 0th-indexed wait semaphore has been signalled. 5. A fence, which will be signalled once the submitted commands have finished.

Inherits from: Libraries.Language.Object

Actions Documentation

Compare(Libraries.Language.Object object)

This action compares two object hash codes and returns an integer. The result is larger if this hash code is larger than the object passed as a parameter, smaller, or equal. In this case, -1 means smaller, 0 means equal, and 1 means larger. This action was changed in Quorum 7 to return an integer, instead of a CompareResult object, because the previous implementation was causing efficiency issues.

Parameters

Return

integer: The Compare result, Smaller, Equal, or Larger.

Example

Object o
Object t
integer result = o:Compare(t) //1 (larger), 0 (equal), or -1 (smaller)

Equals(Libraries.Language.Object object)

This action determines if two objects are equal based on their hash code values.

Parameters

Return

boolean: True if the hash codes are equal and false if they are not equal.

Example

use Libraries.Language.Object
use Libraries.Language.Types.Text
Object o
Text t
boolean result = o:Equals(t)

GetCommandBuffers()

GetHashCode()

This action gets the hash code for an object.

Return

integer: The integer hash code of the object.

Example

Object o
integer hash = o:GetHashCode()

GetSignalSemaphores()

GetWaitDestinationStageMasks()

GetWaitSemaphores()

SetCommandBuffers(Libraries.Containers.Array<Libraries.Game.Graphics.Vulkan.VulkanCommandBuffer> commandBuffers)

SetFence(Libraries.Game.Graphics.Vulkan.VulkanFence fence)

SetSignalSemaphores(Libraries.Containers.Array<Libraries.Game.Graphics.Vulkan.VulkanSemaphore> signalSemaphores)

SetWaitDestinationStageMasks(Libraries.Containers.Array<integer> waitDestinationStageMasks)

SetWaitSemaphores(Libraries.Containers.Array<Libraries.Game.Graphics.Vulkan.VulkanSemaphore> waitSemaphores)