Interface VulkanLWJGLArrays.PackingFunctionType<A, T extends org.lwjgl.system.Struct<T>>

Type Parameters:
A - The type of input values
T - The type of output structures
Enclosing class:
VulkanLWJGLArrays

public static interface VulkanLWJGLArrays.PackingFunctionType<A, T extends org.lwjgl.system.Struct<T>>
The type of functions that can pack values of type A into structures of type T.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    pack(org.lwjgl.system.MemoryStack stack, A value, T output)
    Pack a value.
  • Method Details

    • pack

      void pack(org.lwjgl.system.MemoryStack stack, A value, T output) throws VulkanException
      Pack a value.
      Parameters:
      stack - The stack from which to allocate
      value - The source value
      output - The output structure
      Throws:
      VulkanException - If required