/** Unsafe version of {@link #mTextureCoords}. */ public static PointerBuffer nmTextureCoords(long struct) { return memPointerBuffer(struct + AIAnimMesh.MTEXTURECOORDS, Assimp.AI_MAX_NUMBER_OF_TEXTURECOORDS); } /** Unsafe version of {@link #mTextureCoords(int) mTextureCoords}. */
/** Unsafe version of {@link #mColors}. */ public static PointerBuffer nmColors(long struct) { return memPointerBuffer(struct + AIAnimMesh.MCOLORS, Assimp.AI_MAX_NUMBER_OF_COLOR_SETS); } /** Unsafe version of {@link #mColors(int) mColors}. */
/** Unsafe version of {@link #mColors}. */ public static PointerBuffer nmColors(long struct) { return memPointerBuffer(struct + AIMesh.MCOLORS, Assimp.AI_MAX_NUMBER_OF_COLOR_SETS); } /** Unsafe version of {@link #mColors(int) mColors}. */
/** Unsafe version of {@link #mTextureCoords}. */ public static PointerBuffer nmTextureCoords(long struct) { return memPointerBuffer(struct + AIMesh.MTEXTURECOORDS, Assimp.AI_MAX_NUMBER_OF_TEXTURECOORDS); } /** Unsafe version of {@link #mTextureCoords(int) mTextureCoords}. */
/** Unsafe version of {@link #cursors}. */ public static PointerBuffer ncursors(long struct) { return memPointerBuffer(struct + NkStyle.CURSORS, NK_CURSOR_COUNT); } /** Unsafe version of {@link #cursors(int) cursors}. */
/** Unsafe version of {@link #physicalDevices}. */ public static PointerBuffer nphysicalDevices(long struct) { return memPointerBuffer(struct + VkPhysicalDeviceGroupProperties.PHYSICALDEVICES, VK_MAX_DEVICE_GROUP_SIZE); } /** Unsafe version of {@link #physicalDevices(int) physicalDevices}. */
/** * Reads the pointer at this buffer's current position, and then increments the position. The pointer is returned as a {@link PointerBuffer} instance that * starts at the pointer address and has capacity equal to the specified {@code size}. * * @throws BufferUnderflowException If the buffer's current position is not smaller than its limit */ public PointerBuffer getPointerBuffer(int size) { return memPointerBuffer(get(), size); }
/** Returns the {@code je_malloc_message} variable. */ @NativeType("void (*) (void *, char const *) *") public static PointerBuffer je_malloc_message() { long __result = Functions.malloc_message; return memPointerBuffer(__result, 1); }
@NativeType("unsigned char * (*) (unsigned char *, int, int *, int) *") private static PointerBuffer stbi_zlib_compress() { long __result = nstbi_zlib_compress(); return memPointerBuffer(__result, 1); }
public IVRNotifications(long tableAddress) { PointerBuffer table = memPointerBuffer(tableAddress, 2); CreateNotification = table.get(0); RemoveNotification = table.get(1); }
public IVRResources(long tableAddress) { PointerBuffer table = memPointerBuffer(tableAddress, 2); LoadSharedResource = table.get(0); GetResourceFullPath = table.get(1); }
/** Unsafe version of {@link #channel_names() channel_names}. */ public static PointerBuffer nchannel_names(long struct) { return memPointerBuffer(memGetAddress(struct + DeepImage.CHANNEL_NAMES), nnum_channels(struct)); } /** Unsafe version of {@link #image() image}. */
/** * Stores the addresses of the specified array of buffers on the specified {@link MemoryStack}. * * @param stack the stack to use * @param buffers the buffers to store * * @return the pointer array address on the stack */ public static long apiArray(MemoryStack stack, ByteBuffer... buffers) { PointerBuffer pointers = memPointerBuffer(stack.nmalloc(POINTER_SIZE, buffers.length << POINTER_SHIFT), buffers.length); for (ByteBuffer buffer : buffers) { pointers.put(buffer); } return pointers.address; }
/** * PointerBuffer version of {@link #memRealloc}. * * @param size the number of pointer values to allocate. */ public static PointerBuffer memRealloc(@Nullable PointerBuffer ptr, int size) { PointerBuffer buffer = memPointerBuffer(nmemReallocChecked(ptr == null ? NULL : ptr.address, getAllocationSize(size, POINTER_SHIFT)), size); if (ptr != null) { buffer.position(min(ptr.position(), size)); } return buffer; }
public IVRExtendedDisplay(long tableAddress) { PointerBuffer table = memPointerBuffer(tableAddress, 3); GetWindowBounds = table.get(0); GetEyeOutputViewport = table.get(1); GetDXGIOutputInfo = table.get(2); }
public IVRDriverManager(long tableAddress) { PointerBuffer table = memPointerBuffer(tableAddress, 3); GetDriverCount = table.get(0); GetDriverName = table.get(1); GetDriverHandle = table.get(2); }
public IVRSpatialAnchors(long tableAddress) { PointerBuffer table = memPointerBuffer(tableAddress, 4); CreateSpatialAnchorFromDescriptor = table.get(0); CreateSpatialAnchorFromPose = table.get(1); GetSpatialAnchorPose = table.get(2); GetSpatialAnchorDescriptor = table.get(3); }
public IVRIOBuffer(long tableAddress) { PointerBuffer table = memPointerBuffer(tableAddress, 5); Open = table.get(0); Close = table.get(1); Read = table.get(2); Write = table.get(3); PropertyContainer = table.get(4); }
public IVRScreenshots(long tableAddress) { PointerBuffer table = memPointerBuffer(tableAddress, 7); RequestScreenshot = table.get(0); HookScreenshot = table.get(1); GetScreenshotPropertyType = table.get(2); GetScreenshotPropertyFilename = table.get(3); UpdateScreenshotProgress = table.get(4); TakeStereoScreenshot = table.get(5); SubmitScreenshot = table.get(6); }
public IVRChaperone(long tableAddress) { PointerBuffer table = memPointerBuffer(tableAddress, 8); GetCalibrationState = table.get(0); GetPlayAreaSize = table.get(1); GetPlayAreaRect = table.get(2); ReloadInfo = table.get(3); SetSceneColor = table.get(4); GetBoundsColor = table.get(5); AreBoundsVisible = table.get(6); ForceBoundsVisible = table.get(7); }