public class NVRTC
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NVRTC.Functions
Contains the function pointers loaded from the NVRTC
SharedLibrary. |
| Modifier and Type | Field and Description |
|---|---|
static int |
NVRTC_ERROR_BUILTIN_OPERATION_FAILURE
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_COMPILATION
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_INTERNAL_ERROR
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_INVALID_INPUT
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_INVALID_OPTION
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_INVALID_PROGRAM
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_NAME_EXPRESSION_NOT_VALID
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_OUT_OF_MEMORY
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_ERROR_PROGRAM_CREATION_FAILURE
The enumerated type
nvrtcResult defines API call result codes. |
static int |
NVRTC_SUCCESS
The enumerated type
nvrtcResult defines API call result codes. |
| Modifier and Type | Method and Description |
|---|---|
static org.lwjgl.system.SharedLibrary |
getLibrary()
Returns the NVRTC
SharedLibrary. |
static int |
nnvrtcAddNameExpression(long prog,
long name_expression) |
static int |
nnvrtcCompileProgram(long prog,
int numOptions,
long options) |
static int |
nnvrtcCreateProgram(long prog,
long src,
long name,
int numHeaders,
long headers,
long includeNames) |
static int |
nnvrtcDestroyProgram(long prog) |
static long |
nnvrtcGetErrorString(int result) |
static int |
nnvrtcGetLoweredName(long prog,
long name_expression,
long lowered_name) |
static int |
nnvrtcGetProgramLog(long prog,
long log) |
static int |
nnvrtcGetProgramLogSize(long prog,
long logSizeRet) |
static int |
nnvrtcGetPTX(long prog,
long ptx) |
static int |
nnvrtcGetPTXSize(long prog,
long ptxSizeRet) |
static int |
nnvrtcVersion(long major,
long minor) |
static int |
nvrtcAddNameExpression(long prog,
java.nio.ByteBuffer name_expression) |
static int |
nvrtcAddNameExpression(long prog,
java.lang.CharSequence name_expression) |
static int |
nvrtcCompileProgram(long prog,
org.lwjgl.PointerBuffer options) |
static int |
nvrtcCreateProgram(org.lwjgl.PointerBuffer prog,
java.nio.ByteBuffer src,
java.nio.ByteBuffer name,
org.lwjgl.PointerBuffer headers,
org.lwjgl.PointerBuffer includeNames) |
static int |
nvrtcCreateProgram(org.lwjgl.PointerBuffer prog,
java.lang.CharSequence src,
java.lang.CharSequence name,
org.lwjgl.PointerBuffer headers,
org.lwjgl.PointerBuffer includeNames) |
static int |
nvrtcDestroyProgram(org.lwjgl.PointerBuffer prog) |
static java.lang.String |
nvrtcGetErrorString(int result) |
static int |
nvrtcGetLoweredName(long prog,
java.nio.ByteBuffer name_expression,
org.lwjgl.PointerBuffer lowered_name) |
static int |
nvrtcGetLoweredName(long prog,
java.lang.CharSequence name_expression,
org.lwjgl.PointerBuffer lowered_name) |
static int |
nvrtcGetProgramLog(long prog,
java.nio.ByteBuffer log) |
static int |
nvrtcGetProgramLogSize(long prog,
org.lwjgl.PointerBuffer logSizeRet) |
static int |
nvrtcGetPTX(long prog,
java.nio.ByteBuffer ptx) |
static int |
nvrtcGetPTXSize(long prog,
org.lwjgl.PointerBuffer ptxSizeRet) |
static int |
nvrtcVersion(java.nio.IntBuffer major,
java.nio.IntBuffer minor) |
public static final int NVRTC_SUCCESS
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_OUT_OF_MEMORY
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_PROGRAM_CREATION_FAILURE
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_INVALID_INPUT
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_INVALID_PROGRAM
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_INVALID_OPTION
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_COMPILATION
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_BUILTIN_OPERATION_FAILURE
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_NAME_EXPRESSION_NOT_VALID
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static final int NVRTC_ERROR_INTERNAL_ERROR
nvrtcResult defines API call result codes.
NVRTC API functions return nvrtcResult to indicate the call result.
SUCCESSERROR_OUT_OF_MEMORYERROR_PROGRAM_CREATION_FAILUREERROR_INVALID_INPUTERROR_INVALID_PROGRAMERROR_INVALID_OPTIONERROR_COMPILATIONERROR_BUILTIN_OPERATION_FAILUREERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATIONERROR_NO_LOWERED_NAMES_BEFORE_COMPILATIONERROR_NAME_EXPRESSION_NOT_VALIDERROR_INTERNAL_ERRORpublic static org.lwjgl.system.SharedLibrary getLibrary()
SharedLibrary.public static long nnvrtcGetErrorString(int result)
@Nullable public static java.lang.String nvrtcGetErrorString(int result)
public static int nnvrtcVersion(long major,
long minor)
public static int nvrtcVersion(java.nio.IntBuffer major,
java.nio.IntBuffer minor)
public static int nnvrtcCreateProgram(long prog,
long src,
long name,
int numHeaders,
long headers,
long includeNames)
public static int nvrtcCreateProgram(org.lwjgl.PointerBuffer prog,
java.nio.ByteBuffer src,
@Nullable
java.nio.ByteBuffer name,
@Nullable
org.lwjgl.PointerBuffer headers,
@Nullable
org.lwjgl.PointerBuffer includeNames)
public static int nvrtcCreateProgram(org.lwjgl.PointerBuffer prog,
java.lang.CharSequence src,
@Nullable
java.lang.CharSequence name,
@Nullable
org.lwjgl.PointerBuffer headers,
@Nullable
org.lwjgl.PointerBuffer includeNames)
public static int nnvrtcDestroyProgram(long prog)
public static int nvrtcDestroyProgram(org.lwjgl.PointerBuffer prog)
public static int nnvrtcCompileProgram(long prog,
int numOptions,
long options)
public static int nvrtcCompileProgram(long prog,
@Nullable
org.lwjgl.PointerBuffer options)
public static int nnvrtcGetPTXSize(long prog,
long ptxSizeRet)
public static int nvrtcGetPTXSize(long prog,
org.lwjgl.PointerBuffer ptxSizeRet)
public static int nnvrtcGetPTX(long prog,
long ptx)
public static int nvrtcGetPTX(long prog,
java.nio.ByteBuffer ptx)
public static int nnvrtcGetProgramLogSize(long prog,
long logSizeRet)
public static int nvrtcGetProgramLogSize(long prog,
org.lwjgl.PointerBuffer logSizeRet)
public static int nnvrtcGetProgramLog(long prog,
long log)
public static int nvrtcGetProgramLog(long prog,
java.nio.ByteBuffer log)
public static int nnvrtcAddNameExpression(long prog,
long name_expression)
public static int nvrtcAddNameExpression(long prog,
java.nio.ByteBuffer name_expression)
public static int nvrtcAddNameExpression(long prog,
java.lang.CharSequence name_expression)
public static int nnvrtcGetLoweredName(long prog,
long name_expression,
long lowered_name)
public static int nvrtcGetLoweredName(long prog,
java.nio.ByteBuffer name_expression,
org.lwjgl.PointerBuffer lowered_name)
public static int nvrtcGetLoweredName(long prog,
java.lang.CharSequence name_expression,
org.lwjgl.PointerBuffer lowered_name)
Copyright LWJGL. All Rights Reserved. License terms.