/** Unsafe version of {@link #pApplicationNameString}. */ @Nullable public static String npApplicationNameString(long struct) { return memUTF8Safe(memGetAddress(struct + VkApplicationInfo.PAPPLICATIONNAME)); } /** Unsafe version of {@link #applicationVersion}. */
/** * Returns the branch name of the Assimp runtime. * * @return the current branch name */ @Nullable @NativeType("char const *") public static String aiGetBranchName() { long __result = naiGetBranchName(); return memUTF8Safe(__result); }
/** * Returns the error text of the last failed import process. * * @return A textual description of the error that occurred at the last import process. {@code NULL} if there was no error. There can't be an error if you got a * non-{@code NULL} {@link AIScene} from {@link #aiImportFile ImportFile}/{@link #aiImportFileEx ImportFileEx}/{@link #aiApplyPostProcessing ApplyPostProcessing}. */ @Nullable @NativeType("char *") public static String aiGetErrorString() { long __result = naiGetErrorString(); return memUTF8Safe(__result); }
/** * Returns the string value of the specified parameter * * @param paramName the parameter to query. One of:<br><table><tr><td>{@link #AL_VENDOR VENDOR}</td><td>{@link #AL_VERSION VERSION}</td><td>{@link #AL_RENDERER RENDERER}</td><td>{@link #AL_EXTENSIONS EXTENSIONS}</td></tr></table> */ @Nullable @NativeType("ALchar const *") public static String alGetString(@NativeType("ALenum") int paramName) { long __result = nalGetString(paramName); return memUTF8Safe(__result); }
/** @param c one of:<br><table><tr><td>{@link #NK_COLOR_TEXT COLOR_TEXT}</td><td>{@link #NK_COLOR_WINDOW COLOR_WINDOW}</td><td>{@link #NK_COLOR_HEADER COLOR_HEADER}</td><td>{@link #NK_COLOR_BORDER COLOR_BORDER}</td></tr><tr><td>{@link #NK_COLOR_BUTTON COLOR_BUTTON}</td><td>{@link #NK_COLOR_BUTTON_HOVER COLOR_BUTTON_HOVER}</td><td>{@link #NK_COLOR_BUTTON_ACTIVE COLOR_BUTTON_ACTIVE}</td><td>{@link #NK_COLOR_TOGGLE COLOR_TOGGLE}</td></tr><tr><td>{@link #NK_COLOR_TOGGLE_HOVER COLOR_TOGGLE_HOVER}</td><td>{@link #NK_COLOR_TOGGLE_CURSOR COLOR_TOGGLE_CURSOR}</td><td>{@link #NK_COLOR_SELECT COLOR_SELECT}</td><td>{@link #NK_COLOR_SELECT_ACTIVE COLOR_SELECT_ACTIVE}</td></tr><tr><td>{@link #NK_COLOR_SLIDER COLOR_SLIDER}</td><td>{@link #NK_COLOR_SLIDER_CURSOR COLOR_SLIDER_CURSOR}</td><td>{@link #NK_COLOR_SLIDER_CURSOR_HOVER COLOR_SLIDER_CURSOR_HOVER}</td><td>{@link #NK_COLOR_SLIDER_CURSOR_ACTIVE COLOR_SLIDER_CURSOR_ACTIVE}</td></tr><tr><td>{@link #NK_COLOR_PROPERTY COLOR_PROPERTY}</td><td>{@link #NK_COLOR_EDIT COLOR_EDIT}</td><td>{@link #NK_COLOR_EDIT_CURSOR COLOR_EDIT_CURSOR}</td><td>{@link #NK_COLOR_COMBO COLOR_COMBO}</td></tr><tr><td>{@link #NK_COLOR_CHART COLOR_CHART}</td><td>{@link #NK_COLOR_CHART_COLOR COLOR_CHART_COLOR}</td><td>{@link #NK_COLOR_CHART_COLOR_HIGHLIGHT COLOR_CHART_COLOR_HIGHLIGHT}</td><td>{@link #NK_COLOR_SCROLLBAR COLOR_SCROLLBAR}</td></tr><tr><td>{@link #NK_COLOR_SCROLLBAR_CURSOR COLOR_SCROLLBAR_CURSOR}</td><td>{@link #NK_COLOR_SCROLLBAR_CURSOR_HOVER COLOR_SCROLLBAR_CURSOR_HOVER}</td><td>{@link #NK_COLOR_SCROLLBAR_CURSOR_ACTIVE COLOR_SCROLLBAR_CURSOR_ACTIVE}</td><td>{@link #NK_COLOR_TAB_HEADER COLOR_TAB_HEADER}</td></tr></table> */ @Nullable @NativeType("char const *") public static String nk_style_get_color_by_name(@NativeType("enum nk_style_colors") int c) { long __result = nnk_style_get_color_by_name(c); return memUTF8Safe(__result); }
/** * Returns a string describing a method's return type. * * @param m the method to inspect * * @return a C string describing the return type. You must free the string with free(). */ @Nullable @NativeType("char *") public static String method_copyReturnType(@NativeType("Method") long m) { long __result = nmethod_copyReturnType(m); return memUTF8Safe(__result); }
/** * Returns the name of an instance variable. * * @param v the instance variable * * @return a C string containing the instance variable's name */ @Nullable @NativeType("char const *") public static String ivar_getName(@NativeType("Ivar") long v) { long __result = nivar_getName(v); return memUTF8Safe(__result); }
/** * Returns a the name of a protocol. * * @param p a protocol * * @return the name of the protocol {@code p} as a C string */ @Nullable @NativeType("char const *") public static String protocol_getName(@NativeType("Protocol *") long p) { long __result = nprotocol_getName(p); return memUTF8Safe(__result); }
/** * Returns a string describing a method's parameter and return types. * * @param m the method to inspect * * @return a C string. The string may be {@code NULL} */ @Nullable @NativeType("char const *") public static String method_getTypeEncoding(@NativeType("Method") long m) { long __result = nmethod_getTypeEncoding(m); return memUTF8Safe(__result); }
/** * Returns the type string of an instance variable. * * @param v the instance variable * * @return a C string containing the instance variable's type encoding */ @Nullable @NativeType("char const *") public static String ivar_getTypeEncoding(@NativeType("Ivar") long v) { long __result = nivar_getTypeEncoding(v); return memUTF8Safe(__result); }
/** * Return strings describing properties of the current GL context. * * @param name the property to query. One of:<br><table><tr><td>{@link #GL_RENDERER RENDERER}</td><td>{@link #GL_VENDOR VENDOR}</td><td>{@link #GL_EXTENSIONS EXTENSIONS}</td><td>{@link #GL_VERSION VERSION}</td><td>{@link GL20#GL_SHADING_LANGUAGE_VERSION SHADING_LANGUAGE_VERSION}</td></tr></table> * * @see <a target="_blank" href="http://docs.gl/gl4/glGetString">Reference Page</a> */ @Nullable @NativeType("GLubyte const *") public static String glGetString(@NativeType("GLenum") int name) { long __result = nglGetString(name); return memUTF8Safe(__result); }
/** <a target="_blank" href="http://docs.gl/es3/glGetString">Reference Page</a> */ @Nullable @NativeType("GLubyte const *") public static String glGetString(@NativeType("GLenum") int name) { long __result = nglGetString(name); return memUTF8Safe(__result); }
@Nullable @NativeType("char const *") public static String nk_str_get_const(@NativeType("struct nk_str const *") NkStr s) { long __result = nnk_str_get_const(s.address()); return memUTF8Safe(__result); }
@Nullable @NativeType("ALchar const *") public static String alGetStringiSOFT(@NativeType("ALenum") int pname, @NativeType("ALsizei") int index) { long __result = nalGetStringiSOFT(pname, index); return memUTF8Safe(__result); }
@Nullable @NativeType("char const *") public static String nk_str_at_char_const(@NativeType("struct nk_str const *") NkStr s, int pos) { long __result = nnk_str_at_char_const(s.address(), pos); return memUTF8Safe(__result); }
/** <a target="_blank" href="http://docs.gl/es3/glGetStringi">Reference Page</a> */ @Nullable @NativeType("GLubyte const *") public static String glGetStringi(@NativeType("GLenum") int name, @NativeType("GLuint") int index) { long __result = nglGetStringi(name, index); return memUTF8Safe(__result); }
@Nullable @NativeType("char *") public static String nk_str_at_char(@NativeType("struct nk_str *") NkStr s, int pos) { long __result = nnk_str_at_char(s.address(), pos); return memUTF8Safe(__result); }
@Nullable @NativeType("char *") public static String nk_str_get(@NativeType("struct nk_str *") NkStr s) { long __result = nnk_str_get(s.address()); return memUTF8Safe(__result); }
/** * Obtains string value(s) from ALC. * * <p><b>LWJGL note</b>: Use {@link ALUtil#getStringList} for those tokens that return multiple values.</p> * * @param deviceHandle the device to query * @param token the information to query. One of:<br><table><tr><td>{@link #ALC_DEFAULT_DEVICE_SPECIFIER DEFAULT_DEVICE_SPECIFIER}</td><td>{@link #ALC_DEVICE_SPECIFIER DEVICE_SPECIFIER}</td><td>{@link #ALC_EXTENSIONS EXTENSIONS}</td></tr><tr><td>{@link ALC11#ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER CAPTURE_DEFAULT_DEVICE_SPECIFIER}</td><td>{@link ALC11#ALC_CAPTURE_DEVICE_SPECIFIER CAPTURE_DEVICE_SPECIFIER}</td></tr></table> */ @Nullable @NativeType("ALCchar const *") public static String alcGetString(@NativeType("ALCdevice *") long deviceHandle, @NativeType("ALCenum") int token) { long __result = nalcGetString(deviceHandle, token); return memUTF8Safe(__result); }
/** * Returns the UTF-8 path at offset {@code index}. * * @param pathSet the path set to query * @param index the path offset */ @Nullable @NativeType("nfdchar_t *") public static String NFD_PathSet_GetPath(@NativeType("nfdpathset_t const *") NFDPathSet pathSet, @NativeType("size_t") long index) { long __result = nNFD_PathSet_GetPath(pathSet.address(), index); return memUTF8Safe(__result); }