Class VkDebugMarkerObjectNameInfoEXT

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

    public class VkDebugMarkerObjectNameInfoEXT
    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 vkDebugMarkerSetObjectNameEXT again with a new string. To remove a previously set name, pObjectName should be set to an empty string.

    Valid Usage
    Valid Usage (Implicit)
    See Also

    DebugMarkerSetObjectNameEXT

    Member documentation

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

    Layout

    
     struct VkDebugMarkerObjectNameInfoEXT {
         VkStructureType sType;
         void const * pNext;
         VkDebugReportObjectTypeEXT objectType;
         uint64_t object;
         char const * pObjectName;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

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

        The struct member offsets.
    • Constructor Detail

      • VkDebugMarkerObjectNameInfoEXT

        public VkDebugMarkerObjectNameInfoEXT​(java.nio.ByteBuffer container)
        Creates a VkDebugMarkerObjectNameInfoEXT 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.