/** Unsafe version of {@link #viewportBoundsRange}. */ public static FloatBuffer nviewportBoundsRange(long struct) { return memFloatBuffer(struct + VkPhysicalDeviceLimits.VIEWPORTBOUNDSRANGE, 2); } /** Unsafe version of {@link #viewportBoundsRange(int) viewportBoundsRange}. */
/** Unsafe version of {@link #sampleLocationCoordinateRange}. */ public static FloatBuffer nsampleLocationCoordinateRange(long struct) { return memFloatBuffer(struct + VkPhysicalDeviceSampleLocationsPropertiesEXT.SAMPLELOCATIONCOORDINATERANGE, 2); } /** Unsafe version of {@link #sampleLocationCoordinateRange(int) sampleLocationCoordinateRange}. */
/** Unsafe version of {@link #m}. */ public static FloatBuffer nm(long struct) { return memFloatBuffer(struct + HmdMatrix34.M, 12); } /** Unsafe version of {@link #m(int) m}. */
/** Unsafe version of {@link #v}. */ public static FloatBuffer nv(long struct) { return memFloatBuffer(struct + HmdVector3.V, 3); } /** Unsafe version of {@link #v(int) v}. */
/** Unsafe version of {@link #m}. */ public static FloatBuffer nm(long struct) { return memFloatBuffer(struct + HmdMatrix44.M, 16); } /** Unsafe version of {@link #m(int) m}. */
/** Unsafe version of {@link #axes}. */ public static FloatBuffer naxes(long struct) { return memFloatBuffer(struct + GLFWGamepadState.AXES, 6); } /** Unsafe version of {@link #axes(int) axes}. */
/** Unsafe version of {@link #float32}. */ public static FloatBuffer nfloat32(long struct) { return memFloatBuffer(struct + VkClearColorValue.FLOAT32, 4); } /** Unsafe version of {@link #float32(int) float32}. */
/** Unsafe version of {@link #blendConstants}. */ public static FloatBuffer nblendConstants(long struct) { return memFloatBuffer(struct + VkPipelineColorBlendStateCreateInfo.BLENDCONSTANTS, 4); } /** Unsafe version of {@link #blendConstants(int) blendConstants}. */
/** Unsafe version of {@link #flFingerCurl}. */ public static FloatBuffer nflFingerCurl(long struct) { return memFloatBuffer(struct + VRSkeletalSummaryData.FLFINGERCURL, 5); } /** Unsafe version of {@link #flFingerCurl(int) flFingerCurl}. */
/** Unsafe version of {@link #rfRed}. */ public static FloatBuffer nrfRed(long struct) { return memFloatBuffer(struct + DistortionCoordinates.RFRED, 2); } /** Unsafe version of {@link #rfRed(int) rfRed}. */
/** Unsafe version of {@link #rgba}. */ public static FloatBuffer nrgba(long struct) { return memFloatBuffer(struct + NVGColor.RGBA, 4); } /** Unsafe version of {@link #rgba(int) rgba}. */
/** Unsafe version of {@link #bounds}. */ public static FloatBuffer nbounds(long struct) { return memFloatBuffer(struct + NSVGPath.BOUNDS, 4); } /** Unsafe version of {@link #bounds(int) bounds}. */
/** Unsafe version of {@link #color}. */ public static FloatBuffer ncolor(long struct) { return memFloatBuffer(struct + VkDebugUtilsLabelEXT.COLOR, 4); } /** Unsafe version of {@link #color(int) color}. */
/** Unsafe version of {@link #xform}. */ public static FloatBuffer nxform(long struct) { return memFloatBuffer(struct + NVGPaint.XFORM, 6); } /** Unsafe version of {@link #xform(int) xform}. */
/** Unsafe version of {@link #extent}. */ public static FloatBuffer nextent(long struct) { return memFloatBuffer(struct + NVGPaint.EXTENT, 2); } /** Unsafe version of {@link #extent(int) extent}. */
/** Unsafe version of {@link #templates}. */ public static FloatBuffer ntemplates(long struct) { return memFloatBuffer(struct + NkRowLayout.TEMPLATES, 16); } /** Unsafe version of {@link #templates(int) templates}. */
/** * Reads the pointer at this buffer's current position, and then increments the position. The pointer is returned as a {@link FloatBuffer} 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 FloatBuffer getFloatBuffer(int size) { return memFloatBuffer(get(), size); }
/** Unsafe version of {@link #points(int) points}. */ public static FloatBuffer npoints(long struct, int capacity) { return memFloatBuffer(memGetAddress(struct + ParShapesMesh.POINTS), capacity); } /** Unsafe version of {@link #npoints}. */
/** Unsafe version of {@link #ratio(int) ratio}. */ public static FloatBuffer nratio(long struct, int capacity) { return memFloatBuffer(memGetAddress(struct + NkRowLayout.RATIO), capacity); } /** Unsafe version of {@link #item_width}. */
/** * FloatBuffer version of {@link #memRealloc}. * * @param size the number of float values to allocate. */ public static FloatBuffer memRealloc(@Nullable FloatBuffer ptr, int size) { return realloc(ptr, memFloatBuffer(nmemReallocChecked(ptr == null ? NULL : UNSAFE.getLong(ptr, ADDRESS), getAllocationSize(size, 2)), size), size); }