Class VkDebugUtilsObjectNameInfoEXT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkDebugUtilsObjectNameInfoEXT
    extends Struct
    implements NativeResource
    Specify parameters of a name to give to an object.
    Description

    Applications may change the name associated with an object simply by calling vkSetDebugUtilsObjectNameEXT again with a new string. If pObjectName is an empty string, then any previously set name is removed.

    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkDebugUtilsMessengerCallbackDataEXT, SetDebugUtilsObjectNameEXT

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • objectType – a VkObjectType specifying the type of the object to be named.
    • objectHandle – the object to be named.
    • pObjectName – a null-terminated UTF-8 string specifying the name to apply to objectHandle.

    Layout

    
     struct VkDebugUtilsObjectNameInfoEXT {
         VkStructureType sType;
         void const * pNext;
         VkObjectType objectType;
         uint64_t objectHandle;
         char const * pObjectName;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, OBJECTTYPE, OBJECTHANDLE, POBJECTNAME

        The struct member offsets.
    • Constructor Detail

      • VkDebugUtilsObjectNameInfoEXT

        public VkDebugUtilsObjectNameInfoEXT​(java.nio.ByteBuffer container)
        Creates a VkDebugUtilsObjectNameInfoEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

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