Class RENDERDOC_API_1_6_0

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class RENDERDOC_API_1_6_0 extends Struct<RENDERDOC_API_1_6_0> implements NativeResource

 struct RENDERDOC_API_1_6_0 {
     void * GetAPIVersion;
     void * SetCaptureOptionU32;
     void * SetCaptureOptionF32;
     void * GetCaptureOptionU32;
     void * GetCaptureOptionF32;
     void * SetFocusToggleKeys;
     void * SetCaptureKeys;
     void * GetOverlayBits;
     void * MaskOverlayBits;
     void * RemoveHooks;
     void * UnloadCrashHandler;
     void * SetCaptureFilePathTemplate;
     void * GetCaptureFilePathTemplate;
     void * GetNumCaptures;
     void * GetCapture;
     void * TriggerCapture;
     void * IsTargetControlConnected;
     void * LaunchReplayUI;
     void * SetActiveWindow;
     void * StartFrameCapture;
     void * IsFrameCapturing;
     void * EndFrameCapture;
     void * TriggerMultiFrameCapture;
     void * SetCaptureFileComments;
     void * DiscardFrameCapture;
     void * ShowReplayUI;
     void * SetCaptureTitle;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • GETAPIVERSION

      public static final int GETAPIVERSION
      The struct member offsets.
    • SETCAPTUREOPTIONU32

      public static final int SETCAPTUREOPTIONU32
      The struct member offsets.
    • SETCAPTUREOPTIONF32

      public static final int SETCAPTUREOPTIONF32
      The struct member offsets.
    • GETCAPTUREOPTIONU32

      public static final int GETCAPTUREOPTIONU32
      The struct member offsets.
    • GETCAPTUREOPTIONF32

      public static final int GETCAPTUREOPTIONF32
      The struct member offsets.
    • SETFOCUSTOGGLEKEYS

      public static final int SETFOCUSTOGGLEKEYS
      The struct member offsets.
    • SETCAPTUREKEYS

      public static final int SETCAPTUREKEYS
      The struct member offsets.
    • GETOVERLAYBITS

      public static final int GETOVERLAYBITS
      The struct member offsets.
    • MASKOVERLAYBITS

      public static final int MASKOVERLAYBITS
      The struct member offsets.
    • REMOVEHOOKS

      public static final int REMOVEHOOKS
      The struct member offsets.
    • UNLOADCRASHHANDLER

      public static final int UNLOADCRASHHANDLER
      The struct member offsets.
    • SETCAPTUREFILEPATHTEMPLATE

      public static final int SETCAPTUREFILEPATHTEMPLATE
      The struct member offsets.
    • GETCAPTUREFILEPATHTEMPLATE

      public static final int GETCAPTUREFILEPATHTEMPLATE
      The struct member offsets.
    • GETNUMCAPTURES

      public static final int GETNUMCAPTURES
      The struct member offsets.
    • GETCAPTURE

      public static final int GETCAPTURE
      The struct member offsets.
    • TRIGGERCAPTURE

      public static final int TRIGGERCAPTURE
      The struct member offsets.
    • ISTARGETCONTROLCONNECTED

      public static final int ISTARGETCONTROLCONNECTED
      The struct member offsets.
    • LAUNCHREPLAYUI

      public static final int LAUNCHREPLAYUI
      The struct member offsets.
    • SETACTIVEWINDOW

      public static final int SETACTIVEWINDOW
      The struct member offsets.
    • STARTFRAMECAPTURE

      public static final int STARTFRAMECAPTURE
      The struct member offsets.
    • ISFRAMECAPTURING

      public static final int ISFRAMECAPTURING
      The struct member offsets.
    • ENDFRAMECAPTURE

      public static final int ENDFRAMECAPTURE
      The struct member offsets.
    • TRIGGERMULTIFRAMECAPTURE

      public static final int TRIGGERMULTIFRAMECAPTURE
      The struct member offsets.
    • SETCAPTUREFILECOMMENTS

      public static final int SETCAPTUREFILECOMMENTS
      The struct member offsets.
    • DISCARDFRAMECAPTURE

      public static final int DISCARDFRAMECAPTURE
      The struct member offsets.
    • SHOWREPLAYUI

      public static final int SHOWREPLAYUI
      The struct member offsets.
    • SETCAPTURETITLE

      public static final int SETCAPTURETITLE
      The struct member offsets.
  • Constructor Details

    • RENDERDOC_API_1_6_0

      public RENDERDOC_API_1_6_0(ByteBuffer container)
      Creates a RENDERDOC_API_1_6_0 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.

  • Method Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<RENDERDOC_API_1_6_0>
    • GetAPIVersion

      public long GetAPIVersion()
      Returns:
      the value of the GetAPIVersion field.
    • SetCaptureOptionU32

      public long SetCaptureOptionU32()
      Returns:
      the value of the SetCaptureOptionU32 field.
    • SetCaptureOptionF32

      public long SetCaptureOptionF32()
      Returns:
      the value of the SetCaptureOptionF32 field.
    • GetCaptureOptionU32

      public long GetCaptureOptionU32()
      Returns:
      the value of the GetCaptureOptionU32 field.
    • GetCaptureOptionF32

      public long GetCaptureOptionF32()
      Returns:
      the value of the GetCaptureOptionF32 field.
    • SetFocusToggleKeys

      public long SetFocusToggleKeys()
      Returns:
      the value of the SetFocusToggleKeys field.
    • SetCaptureKeys

      public long SetCaptureKeys()
      Returns:
      the value of the SetCaptureKeys field.
    • GetOverlayBits

      public long GetOverlayBits()
      Returns:
      the value of the GetOverlayBits field.
    • MaskOverlayBits

      public long MaskOverlayBits()
      Returns:
      the value of the MaskOverlayBits field.
    • RemoveHooks

      public long RemoveHooks()
      Returns:
      the value of the RemoveHooks field.
    • UnloadCrashHandler

      public long UnloadCrashHandler()
      Returns:
      the value of the UnloadCrashHandler field.
    • SetCaptureFilePathTemplate

      public long SetCaptureFilePathTemplate()
      Returns:
      the value of the SetCaptureFilePathTemplate field.
    • GetCaptureFilePathTemplate

      public long GetCaptureFilePathTemplate()
      Returns:
      the value of the GetCaptureFilePathTemplate field.
    • GetNumCaptures

      public long GetNumCaptures()
      Returns:
      the value of the GetNumCaptures field.
    • GetCapture

      public long GetCapture()
      Returns:
      the value of the GetCapture field.
    • TriggerCapture

      public long TriggerCapture()
      Returns:
      the value of the TriggerCapture field.
    • IsTargetControlConnected

      public long IsTargetControlConnected()
      Returns:
      the value of the IsTargetControlConnected field.
    • LaunchReplayUI

      public long LaunchReplayUI()
      Returns:
      the value of the LaunchReplayUI field.
    • SetActiveWindow

      public long SetActiveWindow()
      Returns:
      the value of the SetActiveWindow field.
    • StartFrameCapture

      public long StartFrameCapture()
      Returns:
      the value of the StartFrameCapture field.
    • IsFrameCapturing

      public long IsFrameCapturing()
      Returns:
      the value of the IsFrameCapturing field.
    • EndFrameCapture

      public long EndFrameCapture()
      Returns:
      the value of the EndFrameCapture field.
    • TriggerMultiFrameCapture

      public long TriggerMultiFrameCapture()
      Returns:
      the value of the TriggerMultiFrameCapture field.
    • SetCaptureFileComments

      public long SetCaptureFileComments()
      Returns:
      the value of the SetCaptureFileComments field.
    • DiscardFrameCapture

      public long DiscardFrameCapture()
      Returns:
      the value of the DiscardFrameCapture field.
    • ShowReplayUI

      public long ShowReplayUI()
      Returns:
      the value of the ShowReplayUI field.
    • SetCaptureTitle

      public long SetCaptureTitle()
      Returns:
      the value of the SetCaptureTitle field.
    • malloc

      public static RENDERDOC_API_1_6_0 malloc()
      Returns a new RENDERDOC_API_1_6_0 instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static RENDERDOC_API_1_6_0 calloc()
      Returns a new RENDERDOC_API_1_6_0 instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static RENDERDOC_API_1_6_0 create()
      Returns a new RENDERDOC_API_1_6_0 instance allocated with BufferUtils.
    • create

      public static RENDERDOC_API_1_6_0 create(long address)
      Returns a new RENDERDOC_API_1_6_0 instance for the specified memory address.
    • createSafe

      public static @Nullable RENDERDOC_API_1_6_0 createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static RENDERDOC_API_1_6_0.Buffer malloc(int capacity)
      Returns a new RENDERDOC_API_1_6_0.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static RENDERDOC_API_1_6_0.Buffer calloc(int capacity)
      Returns a new RENDERDOC_API_1_6_0.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static RENDERDOC_API_1_6_0.Buffer create(int capacity)
      Returns a new RENDERDOC_API_1_6_0.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static RENDERDOC_API_1_6_0.Buffer create(long address, int capacity)
      Create a RENDERDOC_API_1_6_0.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable RENDERDOC_API_1_6_0.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      public static RENDERDOC_API_1_6_0 malloc(MemoryStack stack)
      Returns a new RENDERDOC_API_1_6_0 instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static RENDERDOC_API_1_6_0 calloc(MemoryStack stack)
      Returns a new RENDERDOC_API_1_6_0 instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static RENDERDOC_API_1_6_0.Buffer malloc(int capacity, MemoryStack stack)
      Returns a new RENDERDOC_API_1_6_0.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static RENDERDOC_API_1_6_0.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new RENDERDOC_API_1_6_0.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nGetAPIVersion

      public static long nGetAPIVersion(long struct)
      Unsafe version of GetAPIVersion().
    • nSetCaptureOptionU32

      public static long nSetCaptureOptionU32(long struct)
      Unsafe version of SetCaptureOptionU32().
    • nSetCaptureOptionF32

      public static long nSetCaptureOptionF32(long struct)
      Unsafe version of SetCaptureOptionF32().
    • nGetCaptureOptionU32

      public static long nGetCaptureOptionU32(long struct)
      Unsafe version of GetCaptureOptionU32().
    • nGetCaptureOptionF32

      public static long nGetCaptureOptionF32(long struct)
      Unsafe version of GetCaptureOptionF32().
    • nSetFocusToggleKeys

      public static long nSetFocusToggleKeys(long struct)
      Unsafe version of SetFocusToggleKeys().
    • nSetCaptureKeys

      public static long nSetCaptureKeys(long struct)
      Unsafe version of SetCaptureKeys().
    • nGetOverlayBits

      public static long nGetOverlayBits(long struct)
      Unsafe version of GetOverlayBits().
    • nMaskOverlayBits

      public static long nMaskOverlayBits(long struct)
      Unsafe version of MaskOverlayBits().
    • nRemoveHooks

      public static long nRemoveHooks(long struct)
      Unsafe version of RemoveHooks().
    • nUnloadCrashHandler

      public static long nUnloadCrashHandler(long struct)
      Unsafe version of UnloadCrashHandler().
    • nSetCaptureFilePathTemplate

      public static long nSetCaptureFilePathTemplate(long struct)
      Unsafe version of SetCaptureFilePathTemplate().
    • nGetCaptureFilePathTemplate

      public static long nGetCaptureFilePathTemplate(long struct)
      Unsafe version of GetCaptureFilePathTemplate().
    • nGetNumCaptures

      public static long nGetNumCaptures(long struct)
      Unsafe version of GetNumCaptures().
    • nGetCapture

      public static long nGetCapture(long struct)
      Unsafe version of GetCapture().
    • nTriggerCapture

      public static long nTriggerCapture(long struct)
      Unsafe version of TriggerCapture().
    • nIsTargetControlConnected

      public static long nIsTargetControlConnected(long struct)
      Unsafe version of IsTargetControlConnected().
    • nLaunchReplayUI

      public static long nLaunchReplayUI(long struct)
      Unsafe version of LaunchReplayUI().
    • nSetActiveWindow

      public static long nSetActiveWindow(long struct)
      Unsafe version of SetActiveWindow().
    • nStartFrameCapture

      public static long nStartFrameCapture(long struct)
      Unsafe version of StartFrameCapture().
    • nIsFrameCapturing

      public static long nIsFrameCapturing(long struct)
      Unsafe version of IsFrameCapturing().
    • nEndFrameCapture

      public static long nEndFrameCapture(long struct)
      Unsafe version of EndFrameCapture().
    • nTriggerMultiFrameCapture

      public static long nTriggerMultiFrameCapture(long struct)
      Unsafe version of TriggerMultiFrameCapture().
    • nSetCaptureFileComments

      public static long nSetCaptureFileComments(long struct)
      Unsafe version of SetCaptureFileComments().
    • nDiscardFrameCapture

      public static long nDiscardFrameCapture(long struct)
      Unsafe version of DiscardFrameCapture().
    • nShowReplayUI

      public static long nShowReplayUI(long struct)
      Unsafe version of ShowReplayUI().
    • nSetCaptureTitle

      public static long nSetCaptureTitle(long struct)
      Unsafe version of SetCaptureTitle().