Class VkPhysicalDeviceTensorFeaturesARM.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<VkPhysicalDeviceTensorFeaturesARM>, NativeResource, Pointer
Enclosing class:
VkPhysicalDeviceTensorFeaturesARM

public static class VkPhysicalDeviceTensorFeaturesARM.Buffer extends StructBuffer<VkPhysicalDeviceTensorFeaturesARM,VkPhysicalDeviceTensorFeaturesARM.Buffer> implements NativeResource
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new VkPhysicalDeviceTensorFeaturesARM.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by VkPhysicalDeviceTensorFeaturesARM.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • tensorNonPacked

      public boolean tensorNonPacked()
      Returns:
      the value of the tensorNonPacked field.
    • shaderTensorAccess

      public boolean shaderTensorAccess()
      Returns:
      the value of the shaderTensorAccess field.
    • shaderStorageTensorArrayDynamicIndexing

      public boolean shaderStorageTensorArrayDynamicIndexing()
      Returns:
      the value of the shaderStorageTensorArrayDynamicIndexing field.
    • shaderStorageTensorArrayNonUniformIndexing

      public boolean shaderStorageTensorArrayNonUniformIndexing()
      Returns:
      the value of the shaderStorageTensorArrayNonUniformIndexing field.
    • descriptorBindingStorageTensorUpdateAfterBind

      public boolean descriptorBindingStorageTensorUpdateAfterBind()
      Returns:
      the value of the descriptorBindingStorageTensorUpdateAfterBind field.
    • tensors

      public boolean tensors()
      Returns:
      the value of the tensors field.
    • sType

      public VkPhysicalDeviceTensorFeaturesARM.Buffer sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

      Sets the STRUCTURE_TYPE_PHYSICAL_DEVICE_TENSOR_FEATURES_ARM value to the sType field.
    • pNext

      public VkPhysicalDeviceTensorFeaturesARM.Buffer pNext(long value)
      Sets the specified value to the pNext field.
    • tensorNonPacked

      public VkPhysicalDeviceTensorFeaturesARM.Buffer tensorNonPacked(boolean value)
      Sets the specified value to the tensorNonPacked field.
    • shaderTensorAccess

      public VkPhysicalDeviceTensorFeaturesARM.Buffer shaderTensorAccess(boolean value)
      Sets the specified value to the shaderTensorAccess field.
    • shaderStorageTensorArrayDynamicIndexing

      public VkPhysicalDeviceTensorFeaturesARM.Buffer shaderStorageTensorArrayDynamicIndexing(boolean value)
      Sets the specified value to the shaderStorageTensorArrayDynamicIndexing field.
    • shaderStorageTensorArrayNonUniformIndexing

      public VkPhysicalDeviceTensorFeaturesARM.Buffer shaderStorageTensorArrayNonUniformIndexing(boolean value)
      Sets the specified value to the shaderStorageTensorArrayNonUniformIndexing field.
    • descriptorBindingStorageTensorUpdateAfterBind

      public VkPhysicalDeviceTensorFeaturesARM.Buffer descriptorBindingStorageTensorUpdateAfterBind(boolean value)
      Sets the specified value to the descriptorBindingStorageTensorUpdateAfterBind field.
    • tensors

      public VkPhysicalDeviceTensorFeaturesARM.Buffer tensors(boolean value)
      Sets the specified value to the tensors field.