public class CgGL extends Object
Constructor and Description |
---|
CgGL() |
Modifier and Type | Method and Description |
---|---|
static void |
cgAddStateEnumerant(CGstate arg0,
String name,
int value)
Entry point (through function pointer) to C language function:
void cgAddStateEnumerant(CGstate, const char * name, int value) |
static boolean |
cgCallStateResetCallback(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGbool cgCallStateResetCallback(CGstateassignment) |
static boolean |
cgCallStateSetCallback(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGbool cgCallStateSetCallback(CGstateassignment) |
static boolean |
cgCallStateValidateCallback(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGbool cgCallStateValidateCallback(CGstateassignment) |
static void |
cgCompileProgram(CGprogram program)
Entry point (through function pointer) to C language function:
void cgCompileProgram(CGprogram program) |
static void |
cgConnectParameter(CGparameter from,
CGparameter to)
Entry point (through function pointer) to C language function:
void cgConnectParameter(CGparameter from, CGparameter to) |
static CGprogram |
cgCopyProgram(CGprogram program)
Entry point (through function pointer) to C language function:
CGprogram cgCopyProgram(CGprogram program) |
static CGstate |
cgCreateArraySamplerState(CGcontext arg0,
String name,
int arg2,
int nelems)
Entry point (through function pointer) to C language function:
CGstate cgCreateArraySamplerState(CGcontext, const char * name, CGtype, int nelems) |
static CGstate |
cgCreateArrayState(CGcontext arg0,
String name,
int arg2,
int nelems)
Entry point (through function pointer) to C language function:
CGstate cgCreateArrayState(CGcontext, const char * name, CGtype, int nelems) |
static CGcontext |
cgCreateContext()
Entry point (through function pointer) to C language function:
CGcontext cgCreateContext(void) |
static CGeffect |
cgCreateEffect(CGcontext arg0,
String code,
String[] args)
Entry point (through function pointer) to C language function:
CGeffect cgCreateEffect(CGcontext, const char * code, const char * * args) |
static CGeffect |
cgCreateEffectFromFile(CGcontext arg0,
String filename,
String[] args)
Entry point (through function pointer) to C language function:
CGeffect cgCreateEffectFromFile(CGcontext, const char * filename, const char * * args) |
static CGparameter |
cgCreateParameter(CGcontext ctx,
int type)
Entry point (through function pointer) to C language function:
CGparameter cgCreateParameter(CGcontext ctx, CGtype type) |
static CGparameter |
cgCreateParameterArray(CGcontext ctx,
int type,
int length)
Entry point (through function pointer) to C language function:
CGparameter cgCreateParameterArray(CGcontext ctx, CGtype type, int length) |
static CGparameter |
cgCreateParameterMultiDimArray(CGcontext ctx,
int type,
int dim,
int[] lengths,
int lengths_offset)
Entry point (through function pointer) to C language function:
CGparameter cgCreateParameterMultiDimArray(CGcontext ctx, CGtype type, int dim, const int * lengths) |
static CGparameter |
cgCreateParameterMultiDimArray(CGcontext ctx,
int type,
int dim,
IntBuffer lengths)
Entry point (through function pointer) to C language function:
CGparameter cgCreateParameterMultiDimArray(CGcontext ctx, CGtype type, int dim, const int * lengths) |
static CGprogram |
cgCreateProgram(CGcontext ctx,
int program_type,
String program,
int profile,
String entry,
String[] args)
Entry point (through function pointer) to C language function:
CGprogram cgCreateProgram(CGcontext ctx, CGenum program_type, const char * program, CGprofile profile, const char * entry, const char * * args) |
static CGprogram |
cgCreateProgramFromEffect(CGeffect effect,
int profile,
String entry,
String[] args)
Entry point (through function pointer) to C language function:
CGprogram cgCreateProgramFromEffect(CGeffect effect, CGprofile profile, const char * entry, const char * * args) |
static CGprogram |
cgCreateProgramFromFile(CGcontext ctx,
int program_type,
String program_file,
int profile,
String entry,
String[] args)
Entry point (through function pointer) to C language function:
CGprogram cgCreateProgramFromFile(CGcontext ctx, CGenum program_type, const char * program_file, CGprofile profile, const char * entry, const char * * args) |
static CGprogram |
cgCreateProgramFromStream(CGcontext ctx,
int program_type,
InputStream stream,
int profile,
String entry,
String[] args)
A convenience method which reads all available data from the InputStream and then calls cgCreateProgram.
|
static CGstate |
cgCreateSamplerState(CGcontext arg0,
String name,
int arg2)
Entry point (through function pointer) to C language function:
CGstate cgCreateSamplerState(CGcontext, const char * name, CGtype) |
static CGstate |
cgCreateState(CGcontext arg0,
String name,
int arg2)
Entry point (through function pointer) to C language function:
CGstate cgCreateState(CGcontext, const char * name, CGtype) |
static void |
cgDestroyContext(CGcontext ctx)
Entry point (through function pointer) to C language function:
void cgDestroyContext(CGcontext ctx) |
static void |
cgDestroyEffect(CGeffect arg0)
Entry point (through function pointer) to C language function:
void cgDestroyEffect(CGeffect) |
static void |
cgDestroyParameter(CGparameter param)
Entry point (through function pointer) to C language function:
void cgDestroyParameter(CGparameter param) |
static void |
cgDestroyProgram(CGprogram program)
Entry point (through function pointer) to C language function:
void cgDestroyProgram(CGprogram program) |
static void |
cgDisconnectParameter(CGparameter param)
Entry point (through function pointer) to C language function:
void cgDisconnectParameter(CGparameter param) |
static void |
cgEvaluateProgram(CGprogram arg0,
float[] arg1,
int arg1_offset,
int ncomps,
int nx,
int ny,
int nz)
Entry point (through function pointer) to C language function:
void cgEvaluateProgram(CGprogram, float * , int ncomps, int nx, int ny, int nz) |
static void |
cgEvaluateProgram(CGprogram arg0,
FloatBuffer arg1,
int ncomps,
int nx,
int ny,
int nz)
Entry point (through function pointer) to C language function:
void cgEvaluateProgram(CGprogram, float * , int ncomps, int nx, int ny, int nz) |
static String |
cgGetAnnotationName(CGannotation arg0)
Entry point (through function pointer) to C language function:
const char * cgGetAnnotationName(CGannotation) |
static int |
cgGetAnnotationType(CGannotation arg0)
Entry point (through function pointer) to C language function:
CGtype cgGetAnnotationType(CGannotation) |
static int |
cgGetArrayDimension(CGparameter param)
Entry point (through function pointer) to C language function:
int cgGetArrayDimension(CGparameter param) |
static CGparameter |
cgGetArrayParameter(CGparameter aparam,
int index)
Entry point (through function pointer) to C language function:
CGparameter cgGetArrayParameter(CGparameter aparam, int index) |
static int |
cgGetArraySize(CGparameter param,
int dimension)
Entry point (through function pointer) to C language function:
int cgGetArraySize(CGparameter param, int dimension) |
static int |
cgGetArrayTotalSize(CGparameter param)
Entry point (through function pointer) to C language function:
int cgGetArrayTotalSize(CGparameter param) |
static int |
cgGetArrayType(CGparameter param)
Entry point (through function pointer) to C language function:
CGtype cgGetArrayType(CGparameter param) |
static int |
cgGetAutoCompile(CGcontext ctx)
Entry point (through function pointer) to C language function:
CGenum cgGetAutoCompile(CGcontext ctx) |
static CGparameter |
cgGetConnectedParameter(CGparameter param)
Entry point (through function pointer) to C language function:
CGparameter cgGetConnectedParameter(CGparameter param) |
static CGparameter |
cgGetConnectedToParameter(CGparameter param,
int index)
Entry point (through function pointer) to C language function:
CGparameter cgGetConnectedToParameter(CGparameter param, int index) |
static CGparameter |
cgGetDependentAnnotationParameter(CGannotation arg0,
int index)
Entry point (through function pointer) to C language function:
CGparameter cgGetDependentAnnotationParameter(CGannotation, int index) |
static CGparameter |
cgGetDependentStateAssignmentParameter(CGstateassignment arg0,
int index)
Entry point (through function pointer) to C language function:
CGparameter cgGetDependentStateAssignmentParameter(CGstateassignment, int index) |
static CGcontext |
cgGetEffectContext(CGeffect arg0)
Entry point (through function pointer) to C language function:
CGcontext cgGetEffectContext(CGeffect) |
static CGparameter |
cgGetEffectParameterBySemantic(CGeffect arg0,
String arg1)
Entry point (through function pointer) to C language function:
CGparameter cgGetEffectParameterBySemantic(CGeffect, const char * ) |
static int |
cgGetEnum(String enum_string)
Entry point (through function pointer) to C language function:
CGenum cgGetEnum(const char * enum_string) |
static String |
cgGetEnumString(int en)
Entry point (through function pointer) to C language function:
const char * cgGetEnumString(CGenum en) |
static int |
cgGetError()
Entry point (through function pointer) to C language function:
CGerror cgGetError(void) |
static String |
cgGetErrorString(int error)
Entry point (through function pointer) to C language function:
const char * cgGetErrorString(CGerror error) |
static CGparameter |
cgGetFirstDependentParameter(CGparameter param)
Entry point (through function pointer) to C language function:
CGparameter cgGetFirstDependentParameter(CGparameter param) |
static CGeffect |
cgGetFirstEffect(CGcontext arg0)
Entry point (through function pointer) to C language function:
CGeffect cgGetFirstEffect(CGcontext) |
static CGparameter |
cgGetFirstEffectParameter(CGeffect arg0)
Entry point (through function pointer) to C language function:
CGparameter cgGetFirstEffectParameter(CGeffect) |
static int |
cgGetFirstError()
Entry point (through function pointer) to C language function:
CGerror cgGetFirstError(void) |
static CGparameter |
cgGetFirstLeafEffectParameter(CGeffect arg0)
Entry point (through function pointer) to C language function:
CGparameter cgGetFirstLeafEffectParameter(CGeffect) |
static CGparameter |
cgGetFirstLeafParameter(CGprogram prog,
int name_space)
Entry point (through function pointer) to C language function:
CGparameter cgGetFirstLeafParameter(CGprogram prog, CGenum name_space) |
static CGparameter |
cgGetFirstParameter(CGprogram prog,
int name_space)
Entry point (through function pointer) to C language function:
CGparameter cgGetFirstParameter(CGprogram prog, CGenum name_space) |
static CGannotation |
cgGetFirstParameterAnnotation(CGparameter arg0)
Entry point (through function pointer) to C language function:
CGannotation cgGetFirstParameterAnnotation(CGparameter) |
static CGpass |
cgGetFirstPass(CGtechnique arg0)
Entry point (through function pointer) to C language function:
CGpass cgGetFirstPass(CGtechnique) |
static CGannotation |
cgGetFirstPassAnnotation(CGpass arg0)
Entry point (through function pointer) to C language function:
CGannotation cgGetFirstPassAnnotation(CGpass) |
static CGprogram |
cgGetFirstProgram(CGcontext ctx)
Entry point (through function pointer) to C language function:
CGprogram cgGetFirstProgram(CGcontext ctx) |
static CGannotation |
cgGetFirstProgramAnnotation(CGprogram arg0)
Entry point (through function pointer) to C language function:
CGannotation cgGetFirstProgramAnnotation(CGprogram) |
static CGstate |
cgGetFirstSamplerState(CGcontext arg0)
Entry point (through function pointer) to C language function:
CGstate cgGetFirstSamplerState(CGcontext) |
static CGstateassignment |
cgGetFirstSamplerStateAssignment(CGparameter arg0)
Entry point (through function pointer) to C language function:
CGstateassignment cgGetFirstSamplerStateAssignment(CGparameter) |
static CGstate |
cgGetFirstState(CGcontext arg0)
Entry point (through function pointer) to C language function:
CGstate cgGetFirstState(CGcontext) |
static CGstateassignment |
cgGetFirstStateAssignment(CGpass arg0)
Entry point (through function pointer) to C language function:
CGstateassignment cgGetFirstStateAssignment(CGpass) |
static CGparameter |
cgGetFirstStructParameter(CGparameter param)
Entry point (through function pointer) to C language function:
CGparameter cgGetFirstStructParameter(CGparameter param) |
static CGtechnique |
cgGetFirstTechnique(CGeffect arg0)
Entry point (through function pointer) to C language function:
CGtechnique cgGetFirstTechnique(CGeffect) |
static CGannotation |
cgGetFirstTechniqueAnnotation(CGtechnique arg0)
Entry point (through function pointer) to C language function:
CGannotation cgGetFirstTechniqueAnnotation(CGtechnique) |
static String |
cgGetLastErrorString(int[] error,
int error_offset)
Entry point (through function pointer) to C language function:
const char * cgGetLastErrorString(CGerror * error) |
static String |
cgGetLastErrorString(IntBuffer error)
Entry point (through function pointer) to C language function:
const char * cgGetLastErrorString(CGerror * error) |
static String |
cgGetLastListing(CGcontext ctx)
Entry point (through function pointer) to C language function:
const char * cgGetLastListing(CGcontext ctx) |
static void |
cgGetMatrixParameterdc(CGparameter param,
double[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterdc(CGparameter param, double * matrix) |
static void |
cgGetMatrixParameterdc(CGparameter param,
DoubleBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterdc(CGparameter param, double * matrix) |
static void |
cgGetMatrixParameterdr(CGparameter param,
double[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterdr(CGparameter param, double * matrix) |
static void |
cgGetMatrixParameterdr(CGparameter param,
DoubleBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterdr(CGparameter param, double * matrix) |
static void |
cgGetMatrixParameterfc(CGparameter param,
float[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterfc(CGparameter param, float * matrix) |
static void |
cgGetMatrixParameterfc(CGparameter param,
FloatBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterfc(CGparameter param, float * matrix) |
static void |
cgGetMatrixParameterfr(CGparameter param,
float[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterfr(CGparameter param, float * matrix) |
static void |
cgGetMatrixParameterfr(CGparameter param,
FloatBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterfr(CGparameter param, float * matrix) |
static void |
cgGetMatrixParameteric(CGparameter param,
int[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameteric(CGparameter param, int * matrix) |
static void |
cgGetMatrixParameteric(CGparameter param,
IntBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameteric(CGparameter param, int * matrix) |
static void |
cgGetMatrixParameterir(CGparameter param,
int[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterir(CGparameter param, int * matrix) |
static void |
cgGetMatrixParameterir(CGparameter param,
IntBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGetMatrixParameterir(CGparameter param, int * matrix) |
static CGparameter |
cgGetNamedEffectParameter(CGeffect arg0,
String arg1)
Entry point (through function pointer) to C language function:
CGparameter cgGetNamedEffectParameter(CGeffect, const char * ) |
static CGparameter |
cgGetNamedParameter(CGprogram prog,
String name)
Entry point (through function pointer) to C language function:
CGparameter cgGetNamedParameter(CGprogram prog, const char * name) |
static CGannotation |
cgGetNamedParameterAnnotation(CGparameter arg0,
String arg1)
Entry point (through function pointer) to C language function:
CGannotation cgGetNamedParameterAnnotation(CGparameter, const char * ) |
static CGpass |
cgGetNamedPass(CGtechnique arg0,
String name)
Entry point (through function pointer) to C language function:
CGpass cgGetNamedPass(CGtechnique, const char * name) |
static CGannotation |
cgGetNamedPassAnnotation(CGpass arg0,
String arg1)
Entry point (through function pointer) to C language function:
CGannotation cgGetNamedPassAnnotation(CGpass, const char * ) |
static CGannotation |
cgGetNamedProgramAnnotation(CGprogram arg0,
String arg1)
Entry point (through function pointer) to C language function:
CGannotation cgGetNamedProgramAnnotation(CGprogram, const char * ) |
static CGparameter |
cgGetNamedProgramParameter(CGprogram prog,
int name_space,
String name)
Entry point (through function pointer) to C language function:
CGparameter cgGetNamedProgramParameter(CGprogram prog, CGenum name_space, const char * name) |
static CGstate |
cgGetNamedSamplerState(CGcontext arg0,
String name)
Entry point (through function pointer) to C language function:
CGstate cgGetNamedSamplerState(CGcontext, const char * name) |
static CGstateassignment |
cgGetNamedSamplerStateAssignment(CGparameter arg0,
String arg1)
Entry point (through function pointer) to C language function:
CGstateassignment cgGetNamedSamplerStateAssignment(CGparameter, const char * ) |
static CGstate |
cgGetNamedState(CGcontext arg0,
String name)
Entry point (through function pointer) to C language function:
CGstate cgGetNamedState(CGcontext, const char * name) |
static CGstateassignment |
cgGetNamedStateAssignment(CGpass arg0,
String name)
Entry point (through function pointer) to C language function:
CGstateassignment cgGetNamedStateAssignment(CGpass, const char * name) |
static CGparameter |
cgGetNamedStructParameter(CGparameter param,
String name)
Entry point (through function pointer) to C language function:
CGparameter cgGetNamedStructParameter(CGparameter param, const char * name) |
static CGtechnique |
cgGetNamedTechnique(CGeffect arg0,
String name)
Entry point (through function pointer) to C language function:
CGtechnique cgGetNamedTechnique(CGeffect, const char * name) |
static CGannotation |
cgGetNamedTechniqueAnnotation(CGtechnique arg0,
String arg1)
Entry point (through function pointer) to C language function:
CGannotation cgGetNamedTechniqueAnnotation(CGtechnique, const char * ) |
static int |
cgGetNamedUserType(Buffer handle,
String name)
Entry point (through function pointer) to C language function:
CGtype cgGetNamedUserType(CGhandle handle, const char * name) |
static CGannotation |
cgGetNextAnnotation(CGannotation arg0)
Entry point (through function pointer) to C language function:
CGannotation cgGetNextAnnotation(CGannotation) |
static CGeffect |
cgGetNextEffect(CGeffect arg0)
Entry point (through function pointer) to C language function:
CGeffect cgGetNextEffect(CGeffect) |
static CGparameter |
cgGetNextLeafParameter(CGparameter current)
Entry point (through function pointer) to C language function:
CGparameter cgGetNextLeafParameter(CGparameter current) |
static CGparameter |
cgGetNextParameter(CGparameter current)
Entry point (through function pointer) to C language function:
CGparameter cgGetNextParameter(CGparameter current) |
static CGpass |
cgGetNextPass(CGpass arg0)
Entry point (through function pointer) to C language function:
CGpass cgGetNextPass(CGpass) |
static CGprogram |
cgGetNextProgram(CGprogram current)
Entry point (through function pointer) to C language function:
CGprogram cgGetNextProgram(CGprogram current) |
static CGstate |
cgGetNextState(CGstate arg0)
Entry point (through function pointer) to C language function:
CGstate cgGetNextState(CGstate) |
static CGstateassignment |
cgGetNextStateAssignment(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGstateassignment cgGetNextStateAssignment(CGstateassignment) |
static CGtechnique |
cgGetNextTechnique(CGtechnique arg0)
Entry point (through function pointer) to C language function:
CGtechnique cgGetNextTechnique(CGtechnique) |
static int |
cgGetNumConnectedToParameters(CGparameter param)
Entry point (through function pointer) to C language function:
int cgGetNumConnectedToParameters(CGparameter param) |
static int |
cgGetNumDependentAnnotationParameters(CGannotation arg0)
Entry point (through function pointer) to C language function:
int cgGetNumDependentAnnotationParameters(CGannotation) |
static int |
cgGetNumDependentStateAssignmentParameters(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
int cgGetNumDependentStateAssignmentParameters(CGstateassignment) |
static int |
cgGetNumParentTypes(int type)
Entry point (through function pointer) to C language function:
int cgGetNumParentTypes(CGtype type) |
static int |
cgGetNumUserTypes(Buffer handle)
Entry point (through function pointer) to C language function:
int cgGetNumUserTypes(CGhandle handle) |
static int |
cgGetParameterBaseResource(CGparameter param)
Entry point (through function pointer) to C language function:
CGresource cgGetParameterBaseResource(CGparameter param) |
static int |
cgGetParameterBaseType(CGparameter param)
Entry point (through function pointer) to C language function:
CGtype cgGetParameterBaseType(CGparameter param) |
static int |
cgGetParameterClass(CGparameter param)
Entry point (through function pointer) to C language function:
CGparameterclass cgGetParameterClass(CGparameter param) |
static int |
cgGetParameterColumns(CGparameter param)
Entry point (through function pointer) to C language function:
int cgGetParameterColumns(CGparameter param) |
static CGcontext |
cgGetParameterContext(CGparameter param)
Entry point (through function pointer) to C language function:
CGcontext cgGetParameterContext(CGparameter param) |
static int |
cgGetParameterDirection(CGparameter param)
Entry point (through function pointer) to C language function:
CGenum cgGetParameterDirection(CGparameter param) |
static int |
cgGetParameterIndex(CGparameter param)
Entry point (through function pointer) to C language function:
int cgGetParameterIndex(CGparameter param) |
static String |
cgGetParameterName(CGparameter param)
Entry point (through function pointer) to C language function:
const char * cgGetParameterName(CGparameter param) |
static int |
cgGetParameterNamedType(CGparameter param)
Entry point (through function pointer) to C language function:
CGtype cgGetParameterNamedType(CGparameter param) |
static int |
cgGetParameterOrdinalNumber(CGparameter param)
Entry point (through function pointer) to C language function:
int cgGetParameterOrdinalNumber(CGparameter param) |
static CGprogram |
cgGetParameterProgram(CGparameter param)
Entry point (through function pointer) to C language function:
CGprogram cgGetParameterProgram(CGparameter param) |
static int |
cgGetParameterResource(CGparameter param)
Entry point (through function pointer) to C language function:
CGresource cgGetParameterResource(CGparameter param) |
static long |
cgGetParameterResourceIndex(CGparameter param)
Entry point (through function pointer) to C language function:
unsigned long cgGetParameterResourceIndex(CGparameter param) |
static int |
cgGetParameterRows(CGparameter param)
Entry point (through function pointer) to C language function:
int cgGetParameterRows(CGparameter param) |
static String |
cgGetParameterSemantic(CGparameter param)
Entry point (through function pointer) to C language function:
const char * cgGetParameterSemantic(CGparameter param) |
static int |
cgGetParameterType(CGparameter param)
Entry point (through function pointer) to C language function:
CGtype cgGetParameterType(CGparameter param) |
static int |
cgGetParameterValuedc(CGparameter param,
int n,
double[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
int cgGetParameterValuedc(CGparameter param, int n, double * vals) |
static int |
cgGetParameterValuedc(CGparameter param,
int n,
DoubleBuffer vals)
Entry point (through function pointer) to C language function:
int cgGetParameterValuedc(CGparameter param, int n, double * vals) |
static int |
cgGetParameterValuedr(CGparameter param,
int n,
double[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
int cgGetParameterValuedr(CGparameter param, int n, double * vals) |
static int |
cgGetParameterValuedr(CGparameter param,
int n,
DoubleBuffer vals)
Entry point (through function pointer) to C language function:
int cgGetParameterValuedr(CGparameter param, int n, double * vals) |
static int |
cgGetParameterValuefc(CGparameter param,
int n,
float[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
int cgGetParameterValuefc(CGparameter param, int n, float * vals) |
static int |
cgGetParameterValuefc(CGparameter param,
int n,
FloatBuffer vals)
Entry point (through function pointer) to C language function:
int cgGetParameterValuefc(CGparameter param, int n, float * vals) |
static int |
cgGetParameterValuefr(CGparameter param,
int n,
float[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
int cgGetParameterValuefr(CGparameter param, int n, float * vals) |
static int |
cgGetParameterValuefr(CGparameter param,
int n,
FloatBuffer vals)
Entry point (through function pointer) to C language function:
int cgGetParameterValuefr(CGparameter param, int n, float * vals) |
static int |
cgGetParameterValueic(CGparameter param,
int n,
int[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
int cgGetParameterValueic(CGparameter param, int n, int * vals) |
static int |
cgGetParameterValueic(CGparameter param,
int n,
IntBuffer vals)
Entry point (through function pointer) to C language function:
int cgGetParameterValueic(CGparameter param, int n, int * vals) |
static int |
cgGetParameterValueir(CGparameter param,
int n,
int[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
int cgGetParameterValueir(CGparameter param, int n, int * vals) |
static int |
cgGetParameterValueir(CGparameter param,
int n,
IntBuffer vals)
Entry point (through function pointer) to C language function:
int cgGetParameterValueir(CGparameter param, int n, int * vals) |
static int |
cgGetParameterVariability(CGparameter param)
Entry point (through function pointer) to C language function:
CGenum cgGetParameterVariability(CGparameter param) |
static int |
cgGetParentType(int type,
int index)
Entry point (through function pointer) to C language function:
CGtype cgGetParentType(CGtype type, int index) |
static String |
cgGetPassName(CGpass arg0)
Entry point (through function pointer) to C language function:
const char * cgGetPassName(CGpass) |
static CGtechnique |
cgGetPassTechnique(CGpass arg0)
Entry point (through function pointer) to C language function:
CGtechnique cgGetPassTechnique(CGpass) |
static int |
cgGetProfile(String profile_string)
Entry point (through function pointer) to C language function:
CGprofile cgGetProfile(const char * profile_string) |
static String |
cgGetProfileString(int profile)
Entry point (through function pointer) to C language function:
const char * cgGetProfileString(CGprofile profile) |
static CGcontext |
cgGetProgramContext(CGprogram prog)
Entry point (through function pointer) to C language function:
CGcontext cgGetProgramContext(CGprogram prog) |
static int |
cgGetProgramProfile(CGprogram prog)
Entry point (through function pointer) to C language function:
CGprofile cgGetProgramProfile(CGprogram prog) |
static CGprogram |
cgGetProgramStateAssignmentValue(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGprogram cgGetProgramStateAssignmentValue(CGstateassignment) |
static String |
cgGetProgramString(CGprogram prog,
int pname)
Entry point (through function pointer) to C language function:
const char * cgGetProgramString(CGprogram prog, CGenum pname) |
static int |
cgGetResource(String resource_string)
Entry point (through function pointer) to C language function:
CGresource cgGetResource(const char * resource_string) |
static String |
cgGetResourceString(int resource)
Entry point (through function pointer) to C language function:
const char * cgGetResourceString(CGresource resource) |
static CGparameter |
cgGetSamplerStateAssignmentParameter(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGparameter cgGetSamplerStateAssignmentParameter(CGstateassignment) |
static CGstate |
cgGetSamplerStateAssignmentState(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGstate cgGetSamplerStateAssignmentState(CGstateassignment) |
static CGparameter |
cgGetSamplerStateAssignmentValue(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGparameter cgGetSamplerStateAssignmentValue(CGstateassignment) |
static int |
cgGetStateAssignmentIndex(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
int cgGetStateAssignmentIndex(CGstateassignment) |
static CGpass |
cgGetStateAssignmentPass(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGpass cgGetStateAssignmentPass(CGstateassignment) |
static CGstate |
cgGetStateAssignmentState(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGstate cgGetStateAssignmentState(CGstateassignment) |
static String |
cgGetStateName(CGstate arg0)
Entry point (through function pointer) to C language function:
const char * cgGetStateName(CGstate) |
static int |
cgGetStateType(CGstate arg0)
Entry point (through function pointer) to C language function:
CGtype cgGetStateType(CGstate) |
static String |
cgGetString(int sname)
Entry point (through function pointer) to C language function:
const char * cgGetString(CGenum sname) |
static String |
cgGetStringAnnotationValue(CGannotation arg0)
Entry point (through function pointer) to C language function:
const char * cgGetStringAnnotationValue(CGannotation) |
static String |
cgGetStringParameterValue(CGparameter param)
Entry point (through function pointer) to C language function:
const char * cgGetStringParameterValue(CGparameter param) |
static String |
cgGetStringStateAssignmentValue(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
const char * cgGetStringStateAssignmentValue(CGstateassignment) |
static CGeffect |
cgGetTechniqueEffect(CGtechnique arg0)
Entry point (through function pointer) to C language function:
CGeffect cgGetTechniqueEffect(CGtechnique) |
static String |
cgGetTechniqueName(CGtechnique arg0)
Entry point (through function pointer) to C language function:
const char * cgGetTechniqueName(CGtechnique) |
static CGparameter |
cgGetTextureStateAssignmentValue(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGparameter cgGetTextureStateAssignmentValue(CGstateassignment) |
static int |
cgGetType(String type_string)
Entry point (through function pointer) to C language function:
CGtype cgGetType(const char * type_string) |
static String |
cgGetTypeString(int type)
Entry point (through function pointer) to C language function:
const char * cgGetTypeString(CGtype type) |
static int |
cgGetUserType(Buffer handle,
int index)
Entry point (through function pointer) to C language function:
CGtype cgGetUserType(CGhandle handle, int index) |
static void |
cgGLBindProgram(CGprogram program)
Entry point (through function pointer) to C language function:
void cgGLBindProgram(CGprogram program) |
static void |
cgGLDisableClientState(CGparameter param)
Entry point (through function pointer) to C language function:
void cgGLDisableClientState(CGparameter param) |
static void |
cgGLDisableProfile(int profile)
Entry point (through function pointer) to C language function:
void cgGLDisableProfile(CGprofile profile) |
static void |
cgGLDisableTextureParameter(CGparameter param)
Entry point (through function pointer) to C language function:
void cgGLDisableTextureParameter(CGparameter param) |
static void |
cgGLEnableClientState(CGparameter param)
Entry point (through function pointer) to C language function:
void cgGLEnableClientState(CGparameter param) |
static void |
cgGLEnableProfile(int profile)
Entry point (through function pointer) to C language function:
void cgGLEnableProfile(CGprofile profile) |
static void |
cgGLEnableTextureParameter(CGparameter param)
Entry point (through function pointer) to C language function:
void cgGLEnableTextureParameter(CGparameter param) |
static int |
cgGLGetLatestProfile(int profile_type)
Entry point (through function pointer) to C language function:
CGprofile cgGLGetLatestProfile(CGGLenum profile_type) |
static boolean |
cgGLGetManageTextureParameters(CGcontext ctx)
Entry point (through function pointer) to C language function:
CGbool cgGLGetManageTextureParameters(CGcontext ctx) |
static void |
cgGLGetMatrixParameterArraydc(CGparameter param,
long offset,
long nelements,
double[] matrices,
int matrices_offset)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterArraydc(CGparameter param, long offset, long nelements, double * matrices) |
static void |
cgGLGetMatrixParameterArraydc(CGparameter param,
long offset,
long nelements,
DoubleBuffer matrices)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterArraydc(CGparameter param, long offset, long nelements, double * matrices) |
static void |
cgGLGetMatrixParameterArraydr(CGparameter param,
long offset,
long nelements,
double[] matrices,
int matrices_offset)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterArraydr(CGparameter param, long offset, long nelements, double * matrices) |
static void |
cgGLGetMatrixParameterArraydr(CGparameter param,
long offset,
long nelements,
DoubleBuffer matrices)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterArraydr(CGparameter param, long offset, long nelements, double * matrices) |
static void |
cgGLGetMatrixParameterArrayfc(CGparameter param,
long offset,
long nelements,
float[] matrices,
int matrices_offset)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, float * matrices) |
static void |
cgGLGetMatrixParameterArrayfc(CGparameter param,
long offset,
long nelements,
FloatBuffer matrices)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, float * matrices) |
static void |
cgGLGetMatrixParameterArrayfr(CGparameter param,
long offset,
long nelements,
float[] matrices,
int matrices_offset)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, float * matrices) |
static void |
cgGLGetMatrixParameterArrayfr(CGparameter param,
long offset,
long nelements,
FloatBuffer matrices)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, float * matrices) |
static void |
cgGLGetMatrixParameterdc(CGparameter param,
double[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterdc(CGparameter param, double * matrix) |
static void |
cgGLGetMatrixParameterdc(CGparameter param,
DoubleBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterdc(CGparameter param, double * matrix) |
static void |
cgGLGetMatrixParameterdr(CGparameter param,
double[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterdr(CGparameter param, double * matrix) |
static void |
cgGLGetMatrixParameterdr(CGparameter param,
DoubleBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterdr(CGparameter param, double * matrix) |
static void |
cgGLGetMatrixParameterfc(CGparameter param,
float[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterfc(CGparameter param, float * matrix) |
static void |
cgGLGetMatrixParameterfc(CGparameter param,
FloatBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterfc(CGparameter param, float * matrix) |
static void |
cgGLGetMatrixParameterfr(CGparameter param,
float[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterfr(CGparameter param, float * matrix) |
static void |
cgGLGetMatrixParameterfr(CGparameter param,
FloatBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGLGetMatrixParameterfr(CGparameter param, float * matrix) |
static void |
cgGLGetParameter1d(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameter1d(CGparameter param, double * v) |
static void |
cgGLGetParameter1d(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameter1d(CGparameter param, double * v) |
static void |
cgGLGetParameter1f(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameter1f(CGparameter param, float * v) |
static void |
cgGLGetParameter1f(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameter1f(CGparameter param, float * v) |
static void |
cgGLGetParameter2d(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameter2d(CGparameter param, double * v) |
static void |
cgGLGetParameter2d(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameter2d(CGparameter param, double * v) |
static void |
cgGLGetParameter2f(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameter2f(CGparameter param, float * v) |
static void |
cgGLGetParameter2f(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameter2f(CGparameter param, float * v) |
static void |
cgGLGetParameter3d(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameter3d(CGparameter param, double * v) |
static void |
cgGLGetParameter3d(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameter3d(CGparameter param, double * v) |
static void |
cgGLGetParameter3f(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameter3f(CGparameter param, float * v) |
static void |
cgGLGetParameter3f(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameter3f(CGparameter param, float * v) |
static void |
cgGLGetParameter4d(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameter4d(CGparameter param, double * v) |
static void |
cgGLGetParameter4d(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameter4d(CGparameter param, double * v) |
static void |
cgGLGetParameter4f(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameter4f(CGparameter param, float * v) |
static void |
cgGLGetParameter4f(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameter4f(CGparameter param, float * v) |
static void |
cgGLGetParameterArray1d(CGparameter param,
long offset,
long nelements,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray1d(CGparameter param, long offset, long nelements, double * v) |
static void |
cgGLGetParameterArray1d(CGparameter param,
long offset,
long nelements,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray1d(CGparameter param, long offset, long nelements, double * v) |
static void |
cgGLGetParameterArray1f(CGparameter param,
long offset,
long nelements,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray1f(CGparameter param, long offset, long nelements, float * v) |
static void |
cgGLGetParameterArray1f(CGparameter param,
long offset,
long nelements,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray1f(CGparameter param, long offset, long nelements, float * v) |
static void |
cgGLGetParameterArray2d(CGparameter param,
long offset,
long nelements,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray2d(CGparameter param, long offset, long nelements, double * v) |
static void |
cgGLGetParameterArray2d(CGparameter param,
long offset,
long nelements,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray2d(CGparameter param, long offset, long nelements, double * v) |
static void |
cgGLGetParameterArray2f(CGparameter param,
long offset,
long nelements,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray2f(CGparameter param, long offset, long nelements, float * v) |
static void |
cgGLGetParameterArray2f(CGparameter param,
long offset,
long nelements,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray2f(CGparameter param, long offset, long nelements, float * v) |
static void |
cgGLGetParameterArray3d(CGparameter param,
long offset,
long nelements,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray3d(CGparameter param, long offset, long nelements, double * v) |
static void |
cgGLGetParameterArray3d(CGparameter param,
long offset,
long nelements,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray3d(CGparameter param, long offset, long nelements, double * v) |
static void |
cgGLGetParameterArray3f(CGparameter param,
long offset,
long nelements,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray3f(CGparameter param, long offset, long nelements, float * v) |
static void |
cgGLGetParameterArray3f(CGparameter param,
long offset,
long nelements,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray3f(CGparameter param, long offset, long nelements, float * v) |
static void |
cgGLGetParameterArray4d(CGparameter param,
long offset,
long nelements,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray4d(CGparameter param, long offset, long nelements, double * v) |
static void |
cgGLGetParameterArray4d(CGparameter param,
long offset,
long nelements,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray4d(CGparameter param, long offset, long nelements, double * v) |
static void |
cgGLGetParameterArray4f(CGparameter param,
long offset,
long nelements,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray4f(CGparameter param, long offset, long nelements, float * v) |
static void |
cgGLGetParameterArray4f(CGparameter param,
long offset,
long nelements,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLGetParameterArray4f(CGparameter param, long offset, long nelements, float * v) |
static int |
cgGLGetProgramID(CGprogram program)
Entry point (through function pointer) to C language function:
GLuint cgGLGetProgramID(CGprogram program) |
static int |
cgGLGetTextureEnum(CGparameter param)
Entry point (through function pointer) to C language function:
GLenum cgGLGetTextureEnum(CGparameter param) |
static int |
cgGLGetTextureParameter(CGparameter param)
Entry point (through function pointer) to C language function:
GLuint cgGLGetTextureParameter(CGparameter param) |
static boolean |
cgGLIsProfileSupported(int profile)
Entry point (through function pointer) to C language function:
CGbool cgGLIsProfileSupported(CGprofile profile) |
static boolean |
cgGLIsProgramLoaded(CGprogram program)
Entry point (through function pointer) to C language function:
CGbool cgGLIsProgramLoaded(CGprogram program) |
static void |
cgGLLoadProgram(CGprogram program)
Entry point (through function pointer) to C language function:
void cgGLLoadProgram(CGprogram program) |
static void |
cgGLRegisterStates(CGcontext arg0)
Entry point (through function pointer) to C language function:
void cgGLRegisterStates(CGcontext) |
static void |
cgGLSetManageTextureParameters(CGcontext ctx,
boolean flag)
Entry point (through function pointer) to C language function:
void cgGLSetManageTextureParameters(CGcontext ctx, CGbool flag) |
static void |
cgGLSetMatrixParameterArraydc(CGparameter param,
long offset,
long nelements,
double[] matrices,
int matrices_offset)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterArraydc(CGparameter param, long offset, long nelements, const double * matrices) |
static void |
cgGLSetMatrixParameterArraydc(CGparameter param,
long offset,
long nelements,
DoubleBuffer matrices)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterArraydc(CGparameter param, long offset, long nelements, const double * matrices) |
static void |
cgGLSetMatrixParameterArraydr(CGparameter param,
long offset,
long nelements,
double[] matrices,
int matrices_offset)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterArraydr(CGparameter param, long offset, long nelements, const double * matrices) |
static void |
cgGLSetMatrixParameterArraydr(CGparameter param,
long offset,
long nelements,
DoubleBuffer matrices)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterArraydr(CGparameter param, long offset, long nelements, const double * matrices) |
static void |
cgGLSetMatrixParameterArrayfc(CGparameter param,
long offset,
long nelements,
float[] matrices,
int matrices_offset)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, const float * matrices) |
static void |
cgGLSetMatrixParameterArrayfc(CGparameter param,
long offset,
long nelements,
FloatBuffer matrices)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, const float * matrices) |
static void |
cgGLSetMatrixParameterArrayfr(CGparameter param,
long offset,
long nelements,
float[] matrices,
int matrices_offset)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, const float * matrices) |
static void |
cgGLSetMatrixParameterArrayfr(CGparameter param,
long offset,
long nelements,
FloatBuffer matrices)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, const float * matrices) |
static void |
cgGLSetMatrixParameterdc(CGparameter param,
double[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterdc(CGparameter param, const double * matrix) |
static void |
cgGLSetMatrixParameterdc(CGparameter param,
DoubleBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterdc(CGparameter param, const double * matrix) |
static void |
cgGLSetMatrixParameterdr(CGparameter param,
double[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterdr(CGparameter param, const double * matrix) |
static void |
cgGLSetMatrixParameterdr(CGparameter param,
DoubleBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterdr(CGparameter param, const double * matrix) |
static void |
cgGLSetMatrixParameterfc(CGparameter param,
float[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterfc(CGparameter param, const float * matrix) |
static void |
cgGLSetMatrixParameterfc(CGparameter param,
FloatBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterfc(CGparameter param, const float * matrix) |
static void |
cgGLSetMatrixParameterfr(CGparameter param,
float[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterfr(CGparameter param, const float * matrix) |
static void |
cgGLSetMatrixParameterfr(CGparameter param,
FloatBuffer matrix)
Entry point (through function pointer) to C language function:
void cgGLSetMatrixParameterfr(CGparameter param, const float * matrix) |
static void |
cgGLSetOptimalOptions(int profile)
Entry point (through function pointer) to C language function:
void cgGLSetOptimalOptions(CGprofile profile) |
static void |
cgGLSetParameter1d(CGparameter param,
double x)
Entry point (through function pointer) to C language function:
void cgGLSetParameter1d(CGparameter param, double x) |
static void |
cgGLSetParameter1dv(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameter1dv(CGparameter param, const double * v) |
static void |
cgGLSetParameter1dv(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameter1dv(CGparameter param, const double * v) |
static void |
cgGLSetParameter1f(CGparameter param,
float x)
Entry point (through function pointer) to C language function:
void cgGLSetParameter1f(CGparameter param, float x) |
static void |
cgGLSetParameter1fv(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameter1fv(CGparameter param, const float * v) |
static void |
cgGLSetParameter1fv(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameter1fv(CGparameter param, const float * v) |
static void |
cgGLSetParameter2d(CGparameter param,
double x,
double y)
Entry point (through function pointer) to C language function:
void cgGLSetParameter2d(CGparameter param, double x, double y) |
static void |
cgGLSetParameter2dv(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameter2dv(CGparameter param, const double * v) |
static void |
cgGLSetParameter2dv(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameter2dv(CGparameter param, const double * v) |
static void |
cgGLSetParameter2f(CGparameter param,
float x,
float y)
Entry point (through function pointer) to C language function:
void cgGLSetParameter2f(CGparameter param, float x, float y) |
static void |
cgGLSetParameter2fv(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameter2fv(CGparameter param, const float * v) |
static void |
cgGLSetParameter2fv(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameter2fv(CGparameter param, const float * v) |
static void |
cgGLSetParameter3d(CGparameter param,
double x,
double y,
double z)
Entry point (through function pointer) to C language function:
void cgGLSetParameter3d(CGparameter param, double x, double y, double z) |
static void |
cgGLSetParameter3dv(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameter3dv(CGparameter param, const double * v) |
static void |
cgGLSetParameter3dv(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameter3dv(CGparameter param, const double * v) |
static void |
cgGLSetParameter3f(CGparameter param,
float x,
float y,
float z)
Entry point (through function pointer) to C language function:
void cgGLSetParameter3f(CGparameter param, float x, float y, float z) |
static void |
cgGLSetParameter3fv(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameter3fv(CGparameter param, const float * v) |
static void |
cgGLSetParameter3fv(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameter3fv(CGparameter param, const float * v) |
static void |
cgGLSetParameter4d(CGparameter param,
double x,
double y,
double z,
double w)
Entry point (through function pointer) to C language function:
void cgGLSetParameter4d(CGparameter param, double x, double y, double z, double w) |
static void |
cgGLSetParameter4dv(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameter4dv(CGparameter param, const double * v) |
static void |
cgGLSetParameter4dv(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameter4dv(CGparameter param, const double * v) |
static void |
cgGLSetParameter4f(CGparameter param,
float x,
float y,
float z,
float w)
Entry point (through function pointer) to C language function:
void cgGLSetParameter4f(CGparameter param, float x, float y, float z, float w) |
static void |
cgGLSetParameter4fv(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameter4fv(CGparameter param, const float * v) |
static void |
cgGLSetParameter4fv(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameter4fv(CGparameter param, const float * v) |
static void |
cgGLSetParameterArray1d(CGparameter param,
long offset,
long nelements,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray1d(CGparameter param, long offset, long nelements, const double * v) |
static void |
cgGLSetParameterArray1d(CGparameter param,
long offset,
long nelements,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray1d(CGparameter param, long offset, long nelements, const double * v) |
static void |
cgGLSetParameterArray1f(CGparameter param,
long offset,
long nelements,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray1f(CGparameter param, long offset, long nelements, const float * v) |
static void |
cgGLSetParameterArray1f(CGparameter param,
long offset,
long nelements,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray1f(CGparameter param, long offset, long nelements, const float * v) |
static void |
cgGLSetParameterArray2d(CGparameter param,
long offset,
long nelements,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray2d(CGparameter param, long offset, long nelements, const double * v) |
static void |
cgGLSetParameterArray2d(CGparameter param,
long offset,
long nelements,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray2d(CGparameter param, long offset, long nelements, const double * v) |
static void |
cgGLSetParameterArray2f(CGparameter param,
long offset,
long nelements,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray2f(CGparameter param, long offset, long nelements, const float * v) |
static void |
cgGLSetParameterArray2f(CGparameter param,
long offset,
long nelements,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray2f(CGparameter param, long offset, long nelements, const float * v) |
static void |
cgGLSetParameterArray3d(CGparameter param,
long offset,
long nelements,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray3d(CGparameter param, long offset, long nelements, const double * v) |
static void |
cgGLSetParameterArray3d(CGparameter param,
long offset,
long nelements,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray3d(CGparameter param, long offset, long nelements, const double * v) |
static void |
cgGLSetParameterArray3f(CGparameter param,
long offset,
long nelements,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray3f(CGparameter param, long offset, long nelements, const float * v) |
static void |
cgGLSetParameterArray3f(CGparameter param,
long offset,
long nelements,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray3f(CGparameter param, long offset, long nelements, const float * v) |
static void |
cgGLSetParameterArray4d(CGparameter param,
long offset,
long nelements,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray4d(CGparameter param, long offset, long nelements, const double * v) |
static void |
cgGLSetParameterArray4d(CGparameter param,
long offset,
long nelements,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray4d(CGparameter param, long offset, long nelements, const double * v) |
static void |
cgGLSetParameterArray4f(CGparameter param,
long offset,
long nelements,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray4f(CGparameter param, long offset, long nelements, const float * v) |
static void |
cgGLSetParameterArray4f(CGparameter param,
long offset,
long nelements,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgGLSetParameterArray4f(CGparameter param, long offset, long nelements, const float * v) |
static void |
cgGLSetParameterPointer(CGparameter param,
int fsize,
int type,
int stride,
Buffer pointer)
Entry point (through function pointer) to C language function:
void cgGLSetParameterPointer(CGparameter param, GLint fsize, GLenum type, GLsizei stride, const GLvoid * pointer) |
static void |
cgGLSetStateMatrixParameter(CGparameter param,
int matrix,
int transform)
Entry point (through function pointer) to C language function:
void cgGLSetStateMatrixParameter(CGparameter param, CGGLenum matrix, CGGLenum transform) |
static void |
cgGLSetTextureParameter(CGparameter param,
int texobj)
Entry point (through function pointer) to C language function:
void cgGLSetTextureParameter(CGparameter param, GLuint texobj) |
static void |
cgGLSetupSampler(CGparameter param,
int texobj)
Entry point (through function pointer) to C language function:
void cgGLSetupSampler(CGparameter param, GLuint texobj) |
static void |
cgGLUnbindProgram(int profile)
Entry point (through function pointer) to C language function:
void cgGLUnbindProgram(CGprofile profile) |
static boolean |
cgIsAnnotation(CGannotation arg0)
Entry point (through function pointer) to C language function:
CGbool cgIsAnnotation(CGannotation) |
static boolean |
cgIsContext(CGcontext ctx)
Entry point (through function pointer) to C language function:
CGbool cgIsContext(CGcontext ctx) |
static boolean |
cgIsEffect(CGeffect effect)
Entry point (through function pointer) to C language function:
CGbool cgIsEffect(CGeffect effect) |
static boolean |
cgIsInterfaceType(int type)
Entry point (through function pointer) to C language function:
CGbool cgIsInterfaceType(CGtype type) |
static boolean |
cgIsParameter(CGparameter param)
Entry point (through function pointer) to C language function:
CGbool cgIsParameter(CGparameter param) |
static boolean |
cgIsParameterGlobal(CGparameter param)
Entry point (through function pointer) to C language function:
CGbool cgIsParameterGlobal(CGparameter param) |
static boolean |
cgIsParameterReferenced(CGparameter param)
Entry point (through function pointer) to C language function:
CGbool cgIsParameterReferenced(CGparameter param) |
static boolean |
cgIsParameterUsed(CGparameter param,
Buffer handle)
Entry point (through function pointer) to C language function:
CGbool cgIsParameterUsed(CGparameter param, CGhandle handle) |
static boolean |
cgIsParentType(int parent,
int child)
Entry point (through function pointer) to C language function:
CGbool cgIsParentType(CGtype parent, CGtype child) |
static boolean |
cgIsPass(CGpass arg0)
Entry point (through function pointer) to C language function:
CGbool cgIsPass(CGpass) |
static boolean |
cgIsProgram(CGprogram program)
Entry point (through function pointer) to C language function:
CGbool cgIsProgram(CGprogram program) |
static boolean |
cgIsProgramCompiled(CGprogram program)
Entry point (through function pointer) to C language function:
CGbool cgIsProgramCompiled(CGprogram program) |
static boolean |
cgIsState(CGstate arg0)
Entry point (through function pointer) to C language function:
CGbool cgIsState(CGstate) |
static boolean |
cgIsStateAssignment(CGstateassignment arg0)
Entry point (through function pointer) to C language function:
CGbool cgIsStateAssignment(CGstateassignment) |
static boolean |
cgIsTechnique(CGtechnique arg0)
Entry point (through function pointer) to C language function:
CGbool cgIsTechnique(CGtechnique) |
static boolean |
cgIsTechniqueValidated(CGtechnique arg0)
Entry point (through function pointer) to C language function:
CGbool cgIsTechniqueValidated(CGtechnique) |
static void |
cgResetPassState(CGpass arg0)
Entry point (through function pointer) to C language function:
void cgResetPassState(CGpass) |
static void |
cgSetArraySize(CGparameter param,
int size)
Entry point (through function pointer) to C language function:
void cgSetArraySize(CGparameter param, int size) |
static void |
cgSetAutoCompile(CGcontext ctx,
int flag)
Entry point (through function pointer) to C language function:
void cgSetAutoCompile(CGcontext ctx, CGenum flag) |
static void |
cgSetLastListing(Buffer handle,
String listing)
Entry point (through function pointer) to C language function:
void cgSetLastListing(CGhandle handle, const char * listing) |
static void |
cgSetMatrixParameterdc(CGparameter param,
double[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterdc(CGparameter param, const double * matrix) |
static void |
cgSetMatrixParameterdc(CGparameter param,
DoubleBuffer matrix)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterdc(CGparameter param, const double * matrix) |
static void |
cgSetMatrixParameterdr(CGparameter param,
double[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterdr(CGparameter param, const double * matrix) |
static void |
cgSetMatrixParameterdr(CGparameter param,
DoubleBuffer matrix)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterdr(CGparameter param, const double * matrix) |
static void |
cgSetMatrixParameterfc(CGparameter param,
float[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterfc(CGparameter param, const float * matrix) |
static void |
cgSetMatrixParameterfc(CGparameter param,
FloatBuffer matrix)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterfc(CGparameter param, const float * matrix) |
static void |
cgSetMatrixParameterfr(CGparameter param,
float[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterfr(CGparameter param, const float * matrix) |
static void |
cgSetMatrixParameterfr(CGparameter param,
FloatBuffer matrix)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterfr(CGparameter param, const float * matrix) |
static void |
cgSetMatrixParameteric(CGparameter param,
int[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameteric(CGparameter param, const int * matrix) |
static void |
cgSetMatrixParameteric(CGparameter param,
IntBuffer matrix)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameteric(CGparameter param, const int * matrix) |
static void |
cgSetMatrixParameterir(CGparameter param,
int[] matrix,
int matrix_offset)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterir(CGparameter param, const int * matrix) |
static void |
cgSetMatrixParameterir(CGparameter param,
IntBuffer matrix)
Entry point (through function pointer) to C language function:
void cgSetMatrixParameterir(CGparameter param, const int * matrix) |
static void |
cgSetMultiDimArraySize(CGparameter param,
int[] sizes,
int sizes_offset)
Entry point (through function pointer) to C language function:
void cgSetMultiDimArraySize(CGparameter param, const int * sizes) |
static void |
cgSetMultiDimArraySize(CGparameter param,
IntBuffer sizes)
Entry point (through function pointer) to C language function:
void cgSetMultiDimArraySize(CGparameter param, const int * sizes) |
static void |
cgSetParameter1d(CGparameter param,
double x)
Entry point (through function pointer) to C language function:
void cgSetParameter1d(CGparameter param, double x) |
static void |
cgSetParameter1dv(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter1dv(CGparameter param, const double * v) |
static void |
cgSetParameter1dv(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter1dv(CGparameter param, const double * v) |
static void |
cgSetParameter1f(CGparameter param,
float x)
Entry point (through function pointer) to C language function:
void cgSetParameter1f(CGparameter param, float x) |
static void |
cgSetParameter1fv(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter1fv(CGparameter param, const float * v) |
static void |
cgSetParameter1fv(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter1fv(CGparameter param, const float * v) |
static void |
cgSetParameter1i(CGparameter param,
int x)
Entry point (through function pointer) to C language function:
void cgSetParameter1i(CGparameter param, int x) |
static void |
cgSetParameter1iv(CGparameter param,
int[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter1iv(CGparameter param, const int * v) |
static void |
cgSetParameter1iv(CGparameter param,
IntBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter1iv(CGparameter param, const int * v) |
static void |
cgSetParameter2d(CGparameter param,
double x,
double y)
Entry point (through function pointer) to C language function:
void cgSetParameter2d(CGparameter param, double x, double y) |
static void |
cgSetParameter2dv(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter2dv(CGparameter param, const double * v) |
static void |
cgSetParameter2dv(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter2dv(CGparameter param, const double * v) |
static void |
cgSetParameter2f(CGparameter param,
float x,
float y)
Entry point (through function pointer) to C language function:
void cgSetParameter2f(CGparameter param, float x, float y) |
static void |
cgSetParameter2fv(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter2fv(CGparameter param, const float * v) |
static void |
cgSetParameter2fv(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter2fv(CGparameter param, const float * v) |
static void |
cgSetParameter2i(CGparameter param,
int x,
int y)
Entry point (through function pointer) to C language function:
void cgSetParameter2i(CGparameter param, int x, int y) |
static void |
cgSetParameter2iv(CGparameter param,
int[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter2iv(CGparameter param, const int * v) |
static void |
cgSetParameter2iv(CGparameter param,
IntBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter2iv(CGparameter param, const int * v) |
static void |
cgSetParameter3d(CGparameter param,
double x,
double y,
double z)
Entry point (through function pointer) to C language function:
void cgSetParameter3d(CGparameter param, double x, double y, double z) |
static void |
cgSetParameter3dv(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter3dv(CGparameter param, const double * v) |
static void |
cgSetParameter3dv(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter3dv(CGparameter param, const double * v) |
static void |
cgSetParameter3f(CGparameter param,
float x,
float y,
float z)
Entry point (through function pointer) to C language function:
void cgSetParameter3f(CGparameter param, float x, float y, float z) |
static void |
cgSetParameter3fv(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter3fv(CGparameter param, const float * v) |
static void |
cgSetParameter3fv(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter3fv(CGparameter param, const float * v) |
static void |
cgSetParameter3i(CGparameter param,
int x,
int y,
int z)
Entry point (through function pointer) to C language function:
void cgSetParameter3i(CGparameter param, int x, int y, int z) |
static void |
cgSetParameter3iv(CGparameter param,
int[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter3iv(CGparameter param, const int * v) |
static void |
cgSetParameter3iv(CGparameter param,
IntBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter3iv(CGparameter param, const int * v) |
static void |
cgSetParameter4d(CGparameter param,
double x,
double y,
double z,
double w)
Entry point (through function pointer) to C language function:
void cgSetParameter4d(CGparameter param, double x, double y, double z, double w) |
static void |
cgSetParameter4dv(CGparameter param,
double[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter4dv(CGparameter param, const double * v) |
static void |
cgSetParameter4dv(CGparameter param,
DoubleBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter4dv(CGparameter param, const double * v) |
static void |
cgSetParameter4f(CGparameter param,
float x,
float y,
float z,
float w)
Entry point (through function pointer) to C language function:
void cgSetParameter4f(CGparameter param, float x, float y, float z, float w) |
static void |
cgSetParameter4fv(CGparameter param,
float[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter4fv(CGparameter param, const float * v) |
static void |
cgSetParameter4fv(CGparameter param,
FloatBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter4fv(CGparameter param, const float * v) |
static void |
cgSetParameter4i(CGparameter param,
int x,
int y,
int z,
int w)
Entry point (through function pointer) to C language function:
void cgSetParameter4i(CGparameter param, int x, int y, int z, int w) |
static void |
cgSetParameter4iv(CGparameter param,
int[] v,
int v_offset)
Entry point (through function pointer) to C language function:
void cgSetParameter4iv(CGparameter param, const int * v) |
static void |
cgSetParameter4iv(CGparameter param,
IntBuffer v)
Entry point (through function pointer) to C language function:
void cgSetParameter4iv(CGparameter param, const int * v) |
static void |
cgSetParameterSemantic(CGparameter param,
String semantic)
Entry point (through function pointer) to C language function:
void cgSetParameterSemantic(CGparameter param, const char * semantic) |
static void |
cgSetParameterValuedc(CGparameter param,
int n,
double[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
void cgSetParameterValuedc(CGparameter param, int n, const double * vals) |
static void |
cgSetParameterValuedc(CGparameter param,
int n,
DoubleBuffer vals)
Entry point (through function pointer) to C language function:
void cgSetParameterValuedc(CGparameter param, int n, const double * vals) |
static void |
cgSetParameterValuedr(CGparameter param,
int n,
double[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
void cgSetParameterValuedr(CGparameter param, int n, const double * vals) |
static void |
cgSetParameterValuedr(CGparameter param,
int n,
DoubleBuffer vals)
Entry point (through function pointer) to C language function:
void cgSetParameterValuedr(CGparameter param, int n, const double * vals) |
static void |
cgSetParameterValuefc(CGparameter param,
int n,
float[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
void cgSetParameterValuefc(CGparameter param, int n, const float * vals) |
static void |
cgSetParameterValuefc(CGparameter param,
int n,
FloatBuffer vals)
Entry point (through function pointer) to C language function:
void cgSetParameterValuefc(CGparameter param, int n, const float * vals) |
static void |
cgSetParameterValuefr(CGparameter param,
int n,
float[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
void cgSetParameterValuefr(CGparameter param, int n, const float * vals) |
static void |
cgSetParameterValuefr(CGparameter param,
int n,
FloatBuffer vals)
Entry point (through function pointer) to C language function:
void cgSetParameterValuefr(CGparameter param, int n, const float * vals) |
static void |
cgSetParameterValueic(CGparameter param,
int n,
int[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
void cgSetParameterValueic(CGparameter param, int n, const int * vals) |
static void |
cgSetParameterValueic(CGparameter param,
int n,
IntBuffer vals)
Entry point (through function pointer) to C language function:
void cgSetParameterValueic(CGparameter param, int n, const int * vals) |
static void |
cgSetParameterValueir(CGparameter param,
int n,
int[] vals,
int vals_offset)
Entry point (through function pointer) to C language function:
void cgSetParameterValueir(CGparameter param, int n, const int * vals) |
static void |
cgSetParameterValueir(CGparameter param,
int n,
IntBuffer vals)
Entry point (through function pointer) to C language function:
void cgSetParameterValueir(CGparameter param, int n, const int * vals) |
static void |
cgSetParameterVariability(CGparameter param,
int vary)
Entry point (through function pointer) to C language function:
void cgSetParameterVariability(CGparameter param, CGenum vary) |
static void |
cgSetPassProgramParameters(CGprogram arg0)
Entry point (through function pointer) to C language function:
void cgSetPassProgramParameters(CGprogram) |
static void |
cgSetPassState(CGpass arg0)
Entry point (through function pointer) to C language function:
void cgSetPassState(CGpass) |
static void |
cgSetProgramProfile(CGprogram prog,
int profile)
Entry point (through function pointer) to C language function:
void cgSetProgramProfile(CGprogram prog, CGprofile profile) |
static void |
cgSetSamplerState(CGparameter arg0)
Entry point (through function pointer) to C language function:
void cgSetSamplerState(CGparameter) |
static void |
cgSetStringParameterValue(CGparameter param,
String str)
Entry point (through function pointer) to C language function:
void cgSetStringParameterValue(CGparameter param, const char * str) |
static boolean |
cgValidateTechnique(CGtechnique arg0)
Entry point (through function pointer) to C language function:
CGbool cgValidateTechnique(CGtechnique) |
static CgProcAddressTable |
getCgProcAddressTable() |
public static final int CG_ARRAY
public static final int CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR
public static final int CG_ARRAY_HAS_WRONG_DIMENSION_ERROR
public static final int CG_ARRAY_PARAM_ERROR
public static final int CG_ARRAY_SIZE_MISMATCH_ERROR
public static final int CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR
public static final int CG_ATTR0
public static final int CG_ATTR1
public static final int CG_ATTR10
public static final int CG_ATTR11
public static final int CG_ATTR12
public static final int CG_ATTR13
public static final int CG_ATTR14
public static final int CG_ATTR15
public static final int CG_ATTR2
public static final int CG_ATTR3
public static final int CG_ATTR4
public static final int CG_ATTR5
public static final int CG_ATTR6
public static final int CG_ATTR7
public static final int CG_ATTR8
public static final int CG_ATTR9
public static final int CG_BIND_CREATES_CYCLE_ERROR
public static final int CG_BINORMAL0
public static final int CG_BINORMAL1
public static final int CG_BINORMAL10
public static final int CG_BINORMAL11
public static final int CG_BINORMAL12
public static final int CG_BINORMAL13
public static final int CG_BINORMAL14
public static final int CG_BINORMAL15
public static final int CG_BINORMAL2
public static final int CG_BINORMAL3
public static final int CG_BINORMAL4
public static final int CG_BINORMAL5
public static final int CG_BINORMAL6
public static final int CG_BINORMAL7
public static final int CG_BINORMAL8
public static final int CG_BINORMAL9
public static final int CG_BLENDINDICES0
public static final int CG_BLENDINDICES1
public static final int CG_BLENDINDICES10
public static final int CG_BLENDINDICES11
public static final int CG_BLENDINDICES12
public static final int CG_BLENDINDICES13
public static final int CG_BLENDINDICES14
public static final int CG_BLENDINDICES15
public static final int CG_BLENDINDICES2
public static final int CG_BLENDINDICES3
public static final int CG_BLENDINDICES4
public static final int CG_BLENDINDICES5
public static final int CG_BLENDINDICES6
public static final int CG_BLENDINDICES7
public static final int CG_BLENDINDICES8
public static final int CG_BLENDINDICES9
public static final int CG_BLENDWEIGHT0
public static final int CG_BLENDWEIGHT1
public static final int CG_BLENDWEIGHT10
public static final int CG_BLENDWEIGHT11
public static final int CG_BLENDWEIGHT12
public static final int CG_BLENDWEIGHT13
public static final int CG_BLENDWEIGHT14
public static final int CG_BLENDWEIGHT15
public static final int CG_BLENDWEIGHT2
public static final int CG_BLENDWEIGHT3
public static final int CG_BLENDWEIGHT4
public static final int CG_BLENDWEIGHT5
public static final int CG_BLENDWEIGHT6
public static final int CG_BLENDWEIGHT7
public static final int CG_BLENDWEIGHT8
public static final int CG_BLENDWEIGHT9
public static final int CG_BOOL
public static final int CG_BOOL1
public static final int CG_BOOL1x1
public static final int CG_BOOL1x2
public static final int CG_BOOL1x3
public static final int CG_BOOL1x4
public static final int CG_BOOL2
public static final int CG_BOOL2x1
public static final int CG_BOOL2x2
public static final int CG_BOOL2x3
public static final int CG_BOOL2x4
public static final int CG_BOOL3
public static final int CG_BOOL3x1
public static final int CG_BOOL3x2
public static final int CG_BOOL3x3
public static final int CG_BOOL3x4
public static final int CG_BOOL4
public static final int CG_BOOL4x1
public static final int CG_BOOL4x2
public static final int CG_BOOL4x3
public static final int CG_BOOL4x4
public static final int CG_C
public static final int CG_CANNOT_DESTROY_PARAMETER_ERROR
public static final int CG_COL0
public static final int CG_COL1
public static final int CG_COL2
public static final int CG_COL3
public static final int CG_COLOR0
public static final int CG_COLOR1
public static final int CG_COLOR10
public static final int CG_COLOR11
public static final int CG_COLOR12
public static final int CG_COLOR13
public static final int CG_COLOR14
public static final int CG_COLOR15
public static final int CG_COLOR2
public static final int CG_COLOR3
public static final int CG_COLOR4
public static final int CG_COLOR5
public static final int CG_COLOR6
public static final int CG_COLOR7
public static final int CG_COLOR8
public static final int CG_COLOR9
public static final int CG_COLUMN_MAJOR
public static final int CG_COMBINER_CONST0
public static final int CG_COMBINER_CONST1
public static final int CG_COMBINER_STAGE_CONST0
public static final int CG_COMBINER_STAGE_CONST1
public static final int CG_COMPILED_PROGRAM
public static final int CG_COMPILER_ERROR
public static final int CG_COMPILE_IMMEDIATE
public static final int CG_COMPILE_LAZY
public static final int CG_COMPILE_MANUAL
public static final int CG_CONFLICTING_PARAMETER_TYPES_ERROR
public static final int CG_CONFLICTING_TYPES_ERROR
public static final int CG_CONSTANT
public static final int CG_CONST_EYE
public static final int CG_CURRENT
public static final int CG_DEFAULT
public static final int CG_DEPTH0
public static final int CG_DEPTH1
public static final int CG_DEPTH10
public static final int CG_DEPTH11
public static final int CG_DEPTH12
public static final int CG_DEPTH13
public static final int CG_DEPTH14
public static final int CG_DEPTH15
public static final int CG_DEPTH2
public static final int CG_DEPTH3
public static final int CG_DEPTH4
public static final int CG_DEPTH5
public static final int CG_DEPTH6
public static final int CG_DEPTH7
public static final int CG_DEPTH8
public static final int CG_DEPTH9
public static final int CG_DIFFUSE0
public static final int CG_ERROR
public static final int CG_FILE_READ_ERROR
public static final int CG_FILE_WRITE_ERROR
public static final int CG_FIXED
public static final int CG_FIXED1
public static final int CG_FIXED1x1
public static final int CG_FIXED1x2
public static final int CG_FIXED1x3
public static final int CG_FIXED1x4
public static final int CG_FIXED2
public static final int CG_FIXED2x1
public static final int CG_FIXED2x2
public static final int CG_FIXED2x3
public static final int CG_FIXED2x4
public static final int CG_FIXED3
public static final int CG_FIXED3x1
public static final int CG_FIXED3x2
public static final int CG_FIXED3x3
public static final int CG_FIXED3x4
public static final int CG_FIXED4
public static final int CG_FIXED4x1
public static final int CG_FIXED4x2
public static final int CG_FIXED4x3
public static final int CG_FIXED4x4
public static final int CG_FLOAT
public static final int CG_FLOAT1
public static final int CG_FLOAT1x1
public static final int CG_FLOAT1x2
public static final int CG_FLOAT1x3
public static final int CG_FLOAT1x4
public static final int CG_FLOAT2
public static final int CG_FLOAT2x1
public static final int CG_FLOAT2x2
public static final int CG_FLOAT2x3
public static final int CG_FLOAT2x4
public static final int CG_FLOAT3
public static final int CG_FLOAT3x1
public static final int CG_FLOAT3x2
public static final int CG_FLOAT3x3
public static final int CG_FLOAT3x4
public static final int CG_FLOAT4
public static final int CG_FLOAT4x1
public static final int CG_FLOAT4x2
public static final int CG_FLOAT4x3
public static final int CG_FLOAT4x4
public static final int CG_FOG0
public static final int CG_FOG1
public static final int CG_FOG10
public static final int CG_FOG11
public static final int CG_FOG12
public static final int CG_FOG13
public static final int CG_FOG14
public static final int CG_FOG15
public static final int CG_FOG2
public static final int CG_FOG3
public static final int CG_FOG4
public static final int CG_FOG5
public static final int CG_FOG6
public static final int CG_FOG7
public static final int CG_FOG8
public static final int CG_FOG9
public static final int CG_FOGCOORD
public static final int CG_GLOBAL
public static final int CG_GL_FRAGMENT
public static final int CG_GL_MATRIX_IDENTITY
public static final int CG_GL_MATRIX_INVERSE
public static final int CG_GL_MATRIX_INVERSE_TRANSPOSE
public static final int CG_GL_MATRIX_TRANSPOSE
public static final int CG_GL_MODELVIEW_MATRIX
public static final int CG_GL_MODELVIEW_PROJECTION_MATRIX
public static final int CG_GL_PROJECTION_MATRIX
public static final int CG_GL_TEXTURE_MATRIX
public static final int CG_GL_VERTEX
public static final int CG_HALF
public static final int CG_HALF1
public static final int CG_HALF1x1
public static final int CG_HALF1x2
public static final int CG_HALF1x3
public static final int CG_HALF1x4
public static final int CG_HALF2
public static final int CG_HALF2x1
public static final int CG_HALF2x2
public static final int CG_HALF2x3
public static final int CG_HALF2x4
public static final int CG_HALF3
public static final int CG_HALF3x1
public static final int CG_HALF3x2
public static final int CG_HALF3x3
public static final int CG_HALF3x4
public static final int CG_HALF4
public static final int CG_HALF4x1
public static final int CG_HALF4x2
public static final int CG_HALF4x3
public static final int CG_HALF4x4
public static final int CG_HPOS
public static final int CG_IN
public static final int CG_INOUT
public static final int CG_INT
public static final int CG_INT1
public static final int CG_INT1x1
public static final int CG_INT1x2
public static final int CG_INT1x3
public static final int CG_INT1x4
public static final int CG_INT2
public static final int CG_INT2x1
public static final int CG_INT2x2
public static final int CG_INT2x3
public static final int CG_INT2x4
public static final int CG_INT3
public static final int CG_INT3x1
public static final int CG_INT3x2
public static final int CG_INT3x3
public static final int CG_INT3x4
public static final int CG_INT4
public static final int CG_INT4x1
public static final int CG_INT4x2
public static final int CG_INT4x3
public static final int CG_INT4x4
public static final int CG_INVALID_ANNOTATION_HANDLE_ERROR
public static final int CG_INVALID_CONTEXT_HANDLE_ERROR
public static final int CG_INVALID_DIMENSION_ERROR
public static final int CG_INVALID_EFFECT_HANDLE_ERROR
public static final int CG_INVALID_ENUMERANT_ERROR
public static final int CG_INVALID_FUNCTION_HANDLE_ERROR
public static final int CG_INVALID_PARAMETER_ERROR
public static final int CG_INVALID_PARAMETER_HANDLE_ERROR
public static final int CG_INVALID_PARAMETER_TYPE_ERROR
public static final int CG_INVALID_PARAMETER_VARIABILITY_ERROR
public static final int CG_INVALID_PARAM_HANDLE_ERROR
public static final int CG_INVALID_PASS_HANDLE_ERROR
public static final int CG_INVALID_POINTER_ERROR
public static final int CG_INVALID_PROFILE_ERROR
public static final int CG_INVALID_PROGRAM_HANDLE_ERROR
public static final int CG_INVALID_SIZE_ERROR
public static final int CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR
public static final int CG_INVALID_STATE_HANDLE_ERROR
public static final int CG_INVALID_TECHNIQUE_ERROR
public static final int CG_INVALID_TECHNIQUE_HANDLE_ERROR
public static final int CG_INVALID_VALUE_TYPE_ERROR
public static final int CG_IS_NOT_PROGRAM_PARAMETER_ERROR
public static final int CG_LITERAL
public static final int CG_MEMORY_ALLOC_ERROR
public static final int CG_MIXED
public static final int CG_NON_NUMERIC_PARAMETER_ERROR
public static final int CG_NORMAL0
public static final int CG_NORMAL1
public static final int CG_NORMAL10
public static final int CG_NORMAL11
public static final int CG_NORMAL12
public static final int CG_NORMAL13
public static final int CG_NORMAL14
public static final int CG_NORMAL15
public static final int CG_NORMAL2
public static final int CG_NORMAL3
public static final int CG_NORMAL4
public static final int CG_NORMAL5
public static final int CG_NORMAL6
public static final int CG_NORMAL7
public static final int CG_NORMAL8
public static final int CG_NORMAL9
public static final int CG_NOT_4x4_MATRIX_ERROR
public static final int CG_NOT_ENOUGH_DATA_ERROR
public static final int CG_NOT_MATRIX_PARAM_ERROR
public static final int CG_NOT_ROOT_PARAMETER_ERROR
public static final int CG_NO_ERROR
public static final int CG_NVPARSE_ERROR
public static final int CG_OBJECT
public static final int CG_OFFSET_TEXTURE_BIAS
public static final int CG_OFFSET_TEXTURE_MATRIX
public static final int CG_OFFSET_TEXTURE_SCALE
public static final int CG_OUT
public static final int CG_OUT_OF_ARRAY_BOUNDS_ERROR
public static final int CG_PARAMETERCLASS_ARRAY
public static final int CG_PARAMETERCLASS_MATRIX
public static final int CG_PARAMETERCLASS_OBJECT
public static final int CG_PARAMETERCLASS_SAMPLER
public static final int CG_PARAMETERCLASS_SCALAR
public static final int CG_PARAMETERCLASS_STRUCT
public static final int CG_PARAMETERCLASS_UNKNOWN
public static final int CG_PARAMETERCLASS_VECTOR
public static final int CG_PARAMETERS_DO_NOT_MATCH_ERROR
public static final int CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR
public static final int CG_PARAMETER_IS_NOT_SHARED_ERROR
public static final int CG_POSITION0
public static final int CG_POSITION1
public static final int CG_POSITION10
public static final int CG_POSITION11
public static final int CG_POSITION12
public static final int CG_POSITION13
public static final int CG_POSITION14
public static final int CG_POSITION15
public static final int CG_POSITION2
public static final int CG_POSITION3
public static final int CG_POSITION4
public static final int CG_POSITION5
public static final int CG_POSITION6
public static final int CG_POSITION7
public static final int CG_POSITION8
public static final int CG_POSITION9
public static final int CG_PROFILE_ARBFP1
public static final int CG_PROFILE_ARBVP1
public static final int CG_PROFILE_FP20
public static final int CG_PROFILE_FP30
public static final int CG_PROFILE_FP40
public static final int CG_PROFILE_MAX
public static final int CG_PROFILE_PS_1_1
public static final int CG_PROFILE_PS_1_2
public static final int CG_PROFILE_PS_1_3
public static final int CG_PROFILE_PS_2_0
public static final int CG_PROFILE_PS_2_X
public static final int CG_PROFILE_START
public static final int CG_PROFILE_UNKNOWN
public static final int CG_PROFILE_VP20
public static final int CG_PROFILE_VP30
public static final int CG_PROFILE_VP40
public static final int CG_PROFILE_VS_1_1
public static final int CG_PROFILE_VS_2_0
public static final int CG_PROFILE_VS_2_X
public static final int CG_PROGRAM
public static final int CG_PROGRAM_BIND_ERROR
public static final int CG_PROGRAM_ENTRY
public static final int CG_PROGRAM_LOAD_ERROR
public static final int CG_PROGRAM_NOT_LOADED_ERROR
public static final int CG_PROGRAM_PROFILE
public static final int CG_PROGRAM_SOURCE
public static final int CG_PROGRAM_TYPE
public static final int CG_PSIZ
public static final int CG_PSIZE0
public static final int CG_PSIZE1
public static final int CG_PSIZE10
public static final int CG_PSIZE11
public static final int CG_PSIZE12
public static final int CG_PSIZE13
public static final int CG_PSIZE14
public static final int CG_PSIZE15
public static final int CG_PSIZE2
public static final int CG_PSIZE3
public static final int CG_PSIZE4
public static final int CG_PSIZE5
public static final int CG_PSIZE6
public static final int CG_PSIZE7
public static final int CG_PSIZE8
public static final int CG_PSIZE9
public static final int CG_ROW_MAJOR
public static final int CG_SAMPLE0
public static final int CG_SAMPLE1
public static final int CG_SAMPLE10
public static final int CG_SAMPLE11
public static final int CG_SAMPLE12
public static final int CG_SAMPLE13
public static final int CG_SAMPLE14
public static final int CG_SAMPLE15
public static final int CG_SAMPLE2
public static final int CG_SAMPLE3
public static final int CG_SAMPLE4
public static final int CG_SAMPLE5
public static final int CG_SAMPLE6
public static final int CG_SAMPLE7
public static final int CG_SAMPLE8
public static final int CG_SAMPLE9
public static final int CG_SAMPLER1D
public static final int CG_SAMPLER2D
public static final int CG_SAMPLER3D
public static final int CG_SAMPLERCUBE
public static final int CG_SAMPLERRECT
public static final int CG_SOURCE
public static final int CG_SPECULAR0
public static final int CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR
public static final int CG_STRING
public static final int CG_STRUCT
public static final int CG_TANGENT0
public static final int CG_TANGENT1
public static final int CG_TANGENT10
public static final int CG_TANGENT11
public static final int CG_TANGENT12
public static final int CG_TANGENT13
public static final int CG_TANGENT14
public static final int CG_TANGENT15
public static final int CG_TANGENT2
public static final int CG_TANGENT3
public static final int CG_TANGENT4
public static final int CG_TANGENT5
public static final int CG_TANGENT6
public static final int CG_TANGENT7
public static final int CG_TANGENT8
public static final int CG_TANGENT9
public static final int CG_TESSFACTOR
public static final int CG_TEX0
public static final int CG_TEX1
public static final int CG_TEX2
public static final int CG_TEX3
public static final int CG_TEX4
public static final int CG_TEX5
public static final int CG_TEX6
public static final int CG_TEX7
public static final int CG_TEXCOORD0
public static final int CG_TEXCOORD1
public static final int CG_TEXCOORD10
public static final int CG_TEXCOORD11
public static final int CG_TEXCOORD12
public static final int CG_TEXCOORD13
public static final int CG_TEXCOORD14
public static final int CG_TEXCOORD15
public static final int CG_TEXCOORD2
public static final int CG_TEXCOORD3
public static final int CG_TEXCOORD4
public static final int CG_TEXCOORD5
public static final int CG_TEXCOORD6
public static final int CG_TEXCOORD7
public static final int CG_TEXCOORD8
public static final int CG_TEXCOORD9
public static final int CG_TEXTURE
public static final int CG_TEXUNIT0
public static final int CG_TEXUNIT1
public static final int CG_TEXUNIT10
public static final int CG_TEXUNIT11
public static final int CG_TEXUNIT12
public static final int CG_TEXUNIT13
public static final int CG_TEXUNIT14
public static final int CG_TEXUNIT15
public static final int CG_TEXUNIT2
public static final int CG_TEXUNIT3
public static final int CG_TEXUNIT4
public static final int CG_TEXUNIT5
public static final int CG_TEXUNIT6
public static final int CG_TEXUNIT7
public static final int CG_TEXUNIT8
public static final int CG_TEXUNIT9
public static final int CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR
public static final int CG_TYPE_START_ENUM
public static final int CG_UNDEFINED
public static final int CG_UNIFORM
public static final int CG_UNKNOWN
public static final int CG_UNKNOWN_PROFILE_ERROR
public static final int CG_UNKNOWN_TYPE
public static final int CG_UNSUPPORTED_GL_EXTENSION_ERROR
public static final int CG_VARYING
public static final int CG_VAR_ARG_ERROR
public static final int CG_VERSION
public static final int CG_VERSION_NUM
public static final int CG_WPOS
public static final int GENERIC
public static void cgAddStateEnumerant(CGstate arg0, String name, int value)
void cgAddStateEnumerant(CGstate, const char * name, int value)
public static boolean cgCallStateResetCallback(CGstateassignment arg0)
CGbool cgCallStateResetCallback(CGstateassignment)
public static boolean cgCallStateSetCallback(CGstateassignment arg0)
CGbool cgCallStateSetCallback(CGstateassignment)
public static boolean cgCallStateValidateCallback(CGstateassignment arg0)
CGbool cgCallStateValidateCallback(CGstateassignment)
public static void cgCompileProgram(CGprogram program)
void cgCompileProgram(CGprogram program)
public static void cgConnectParameter(CGparameter from, CGparameter to)
void cgConnectParameter(CGparameter from, CGparameter to)
public static CGprogram cgCopyProgram(CGprogram program)
CGprogram cgCopyProgram(CGprogram program)
public static CGstate cgCreateArraySamplerState(CGcontext arg0, String name, int arg2, int nelems)
CGstate cgCreateArraySamplerState(CGcontext, const char * name, CGtype, int nelems)
arg2
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static CGstate cgCreateArrayState(CGcontext arg0, String name, int arg2, int nelems)
CGstate cgCreateArrayState(CGcontext, const char * name, CGtype, int nelems)
arg2
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static CGcontext cgCreateContext()
CGcontext cgCreateContext(void)
public static CGeffect cgCreateEffect(CGcontext arg0, String code, String[] args)
CGeffect cgCreateEffect(CGcontext, const char * code, const char * * args)
public static CGeffect cgCreateEffectFromFile(CGcontext arg0, String filename, String[] args)
CGeffect cgCreateEffectFromFile(CGcontext, const char * filename, const char * * args)
public static CGparameter cgCreateParameter(CGcontext ctx, int type)
CGparameter cgCreateParameter(CGcontext ctx, CGtype type)
type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static CGparameter cgCreateParameterArray(CGcontext ctx, int type, int length)
CGparameter cgCreateParameterArray(CGcontext ctx, CGtype type, int length)
type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static CGparameter cgCreateParameterMultiDimArray(CGcontext ctx, int type, int dim, IntBuffer lengths)
CGparameter cgCreateParameterMultiDimArray(CGcontext ctx, CGtype type, int dim, const int * lengths)
type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
lengths
- a direct or array-backed IntBuffer
public static CGparameter cgCreateParameterMultiDimArray(CGcontext ctx, int type, int dim, int[] lengths, int lengths_offset)
CGparameter cgCreateParameterMultiDimArray(CGcontext ctx, CGtype type, int dim, const int * lengths)
type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static CGprogram cgCreateProgram(CGcontext ctx, int program_type, String program, int profile, String entry, String[] args)
CGprogram cgCreateProgram(CGcontext ctx, CGenum program_type, const char * program, CGprofile profile, const char * entry, const char * * args)
program_type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static CGprogram cgCreateProgramFromEffect(CGeffect effect, int profile, String entry, String[] args)
CGprogram cgCreateProgramFromEffect(CGeffect effect, CGprofile profile, const char * entry, const char * * args)
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static CGprogram cgCreateProgramFromFile(CGcontext ctx, int program_type, String program_file, int profile, String entry, String[] args)
CGprogram cgCreateProgramFromFile(CGcontext ctx, CGenum program_type, const char * program_file, CGprofile profile, const char * entry, const char * * args)
program_type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static CGstate cgCreateSamplerState(CGcontext arg0, String name, int arg2)
CGstate cgCreateSamplerState(CGcontext, const char * name, CGtype)
arg2
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static CGstate cgCreateState(CGcontext arg0, String name, int arg2)
CGstate cgCreateState(CGcontext, const char * name, CGtype)
arg2
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static void cgDestroyContext(CGcontext ctx)
void cgDestroyContext(CGcontext ctx)
public static void cgDestroyEffect(CGeffect arg0)
void cgDestroyEffect(CGeffect)
public static void cgDestroyParameter(CGparameter param)
void cgDestroyParameter(CGparameter param)
public static void cgDestroyProgram(CGprogram program)
void cgDestroyProgram(CGprogram program)
public static void cgDisconnectParameter(CGparameter param)
void cgDisconnectParameter(CGparameter param)
public static void cgEvaluateProgram(CGprogram arg0, FloatBuffer arg1, int ncomps, int nx, int ny, int nz)
void cgEvaluateProgram(CGprogram, float * , int ncomps, int nx, int ny, int nz)
arg1
- a direct or array-backed FloatBuffer
public static void cgEvaluateProgram(CGprogram arg0, float[] arg1, int arg1_offset, int ncomps, int nx, int ny, int nz)
void cgEvaluateProgram(CGprogram, float * , int ncomps, int nx, int ny, int nz)
public static void cgGLBindProgram(CGprogram program)
void cgGLBindProgram(CGprogram program)
public static void cgGLDisableClientState(CGparameter param)
void cgGLDisableClientState(CGparameter param)
public static void cgGLDisableProfile(int profile)
void cgGLDisableProfile(CGprofile profile)
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static void cgGLDisableTextureParameter(CGparameter param)
void cgGLDisableTextureParameter(CGparameter param)
public static void cgGLEnableClientState(CGparameter param)
void cgGLEnableClientState(CGparameter param)
public static void cgGLEnableProfile(int profile)
void cgGLEnableProfile(CGprofile profile)
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static void cgGLEnableTextureParameter(CGparameter param)
void cgGLEnableTextureParameter(CGparameter param)
public static int cgGLGetLatestProfile(int profile_type)
CGprofile cgGLGetLatestProfile(CGGLenum profile_type)
profile_type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR, CG_GL_MATRIX_IDENTITY, CG_GL_MATRIX_TRANSPOSE, CG_GL_MATRIX_INVERSE, CG_GL_MATRIX_INVERSE_TRANSPOSE, CG_GL_MODELVIEW_MATRIX, CG_GL_PROJECTION_MATRIX, CG_GL_TEXTURE_MATRIX, CG_GL_MODELVIEW_PROJECTION_MATRIX, CG_GL_VERTEX, CG_GL_FRAGMENT
public static boolean cgGLGetManageTextureParameters(CGcontext ctx)
CGbool cgGLGetManageTextureParameters(CGcontext ctx)
public static void cgGLGetMatrixParameterArraydc(CGparameter param, long offset, long nelements, DoubleBuffer matrices)
void cgGLGetMatrixParameterArraydc(CGparameter param, long offset, long nelements, double * matrices)
matrices
- a direct or array-backed DoubleBuffer
public static void cgGLGetMatrixParameterArraydc(CGparameter param, long offset, long nelements, double[] matrices, int matrices_offset)
void cgGLGetMatrixParameterArraydc(CGparameter param, long offset, long nelements, double * matrices)
public static void cgGLGetMatrixParameterArraydr(CGparameter param, long offset, long nelements, DoubleBuffer matrices)
void cgGLGetMatrixParameterArraydr(CGparameter param, long offset, long nelements, double * matrices)
matrices
- a direct or array-backed DoubleBuffer
public static void cgGLGetMatrixParameterArraydr(CGparameter param, long offset, long nelements, double[] matrices, int matrices_offset)
void cgGLGetMatrixParameterArraydr(CGparameter param, long offset, long nelements, double * matrices)
public static void cgGLGetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, FloatBuffer matrices)
void cgGLGetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, float * matrices)
matrices
- a direct or array-backed FloatBuffer
public static void cgGLGetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, float[] matrices, int matrices_offset)
void cgGLGetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, float * matrices)
public static void cgGLGetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, FloatBuffer matrices)
void cgGLGetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, float * matrices)
matrices
- a direct or array-backed FloatBuffer
public static void cgGLGetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, float[] matrices, int matrices_offset)
void cgGLGetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, float * matrices)
public static void cgGLGetMatrixParameterdc(CGparameter param, DoubleBuffer matrix)
void cgGLGetMatrixParameterdc(CGparameter param, double * matrix)
matrix
- a direct or array-backed DoubleBuffer
public static void cgGLGetMatrixParameterdc(CGparameter param, double[] matrix, int matrix_offset)
void cgGLGetMatrixParameterdc(CGparameter param, double * matrix)
public static void cgGLGetMatrixParameterdr(CGparameter param, DoubleBuffer matrix)
void cgGLGetMatrixParameterdr(CGparameter param, double * matrix)
matrix
- a direct or array-backed DoubleBuffer
public static void cgGLGetMatrixParameterdr(CGparameter param, double[] matrix, int matrix_offset)
void cgGLGetMatrixParameterdr(CGparameter param, double * matrix)
public static void cgGLGetMatrixParameterfc(CGparameter param, FloatBuffer matrix)
void cgGLGetMatrixParameterfc(CGparameter param, float * matrix)
matrix
- a direct or array-backed FloatBuffer
public static void cgGLGetMatrixParameterfc(CGparameter param, float[] matrix, int matrix_offset)
void cgGLGetMatrixParameterfc(CGparameter param, float * matrix)
public static void cgGLGetMatrixParameterfr(CGparameter param, FloatBuffer matrix)
void cgGLGetMatrixParameterfr(CGparameter param, float * matrix)
matrix
- a direct or array-backed FloatBuffer
public static void cgGLGetMatrixParameterfr(CGparameter param, float[] matrix, int matrix_offset)
void cgGLGetMatrixParameterfr(CGparameter param, float * matrix)
public static void cgGLGetParameter1d(CGparameter param, DoubleBuffer v)
void cgGLGetParameter1d(CGparameter param, double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLGetParameter1d(CGparameter param, double[] v, int v_offset)
void cgGLGetParameter1d(CGparameter param, double * v)
public static void cgGLGetParameter1f(CGparameter param, FloatBuffer v)
void cgGLGetParameter1f(CGparameter param, float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLGetParameter1f(CGparameter param, float[] v, int v_offset)
void cgGLGetParameter1f(CGparameter param, float * v)
public static void cgGLGetParameter2d(CGparameter param, DoubleBuffer v)
void cgGLGetParameter2d(CGparameter param, double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLGetParameter2d(CGparameter param, double[] v, int v_offset)
void cgGLGetParameter2d(CGparameter param, double * v)
public static void cgGLGetParameter2f(CGparameter param, FloatBuffer v)
void cgGLGetParameter2f(CGparameter param, float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLGetParameter2f(CGparameter param, float[] v, int v_offset)
void cgGLGetParameter2f(CGparameter param, float * v)
public static void cgGLGetParameter3d(CGparameter param, DoubleBuffer v)
void cgGLGetParameter3d(CGparameter param, double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLGetParameter3d(CGparameter param, double[] v, int v_offset)
void cgGLGetParameter3d(CGparameter param, double * v)
public static void cgGLGetParameter3f(CGparameter param, FloatBuffer v)
void cgGLGetParameter3f(CGparameter param, float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLGetParameter3f(CGparameter param, float[] v, int v_offset)
void cgGLGetParameter3f(CGparameter param, float * v)
public static void cgGLGetParameter4d(CGparameter param, DoubleBuffer v)
void cgGLGetParameter4d(CGparameter param, double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLGetParameter4d(CGparameter param, double[] v, int v_offset)
void cgGLGetParameter4d(CGparameter param, double * v)
public static void cgGLGetParameter4f(CGparameter param, FloatBuffer v)
void cgGLGetParameter4f(CGparameter param, float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLGetParameter4f(CGparameter param, float[] v, int v_offset)
void cgGLGetParameter4f(CGparameter param, float * v)
public static void cgGLGetParameterArray1d(CGparameter param, long offset, long nelements, DoubleBuffer v)
void cgGLGetParameterArray1d(CGparameter param, long offset, long nelements, double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLGetParameterArray1d(CGparameter param, long offset, long nelements, double[] v, int v_offset)
void cgGLGetParameterArray1d(CGparameter param, long offset, long nelements, double * v)
public static void cgGLGetParameterArray1f(CGparameter param, long offset, long nelements, FloatBuffer v)
void cgGLGetParameterArray1f(CGparameter param, long offset, long nelements, float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLGetParameterArray1f(CGparameter param, long offset, long nelements, float[] v, int v_offset)
void cgGLGetParameterArray1f(CGparameter param, long offset, long nelements, float * v)
public static void cgGLGetParameterArray2d(CGparameter param, long offset, long nelements, DoubleBuffer v)
void cgGLGetParameterArray2d(CGparameter param, long offset, long nelements, double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLGetParameterArray2d(CGparameter param, long offset, long nelements, double[] v, int v_offset)
void cgGLGetParameterArray2d(CGparameter param, long offset, long nelements, double * v)
public static void cgGLGetParameterArray2f(CGparameter param, long offset, long nelements, FloatBuffer v)
void cgGLGetParameterArray2f(CGparameter param, long offset, long nelements, float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLGetParameterArray2f(CGparameter param, long offset, long nelements, float[] v, int v_offset)
void cgGLGetParameterArray2f(CGparameter param, long offset, long nelements, float * v)
public static void cgGLGetParameterArray3d(CGparameter param, long offset, long nelements, DoubleBuffer v)
void cgGLGetParameterArray3d(CGparameter param, long offset, long nelements, double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLGetParameterArray3d(CGparameter param, long offset, long nelements, double[] v, int v_offset)
void cgGLGetParameterArray3d(CGparameter param, long offset, long nelements, double * v)
public static void cgGLGetParameterArray3f(CGparameter param, long offset, long nelements, FloatBuffer v)
void cgGLGetParameterArray3f(CGparameter param, long offset, long nelements, float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLGetParameterArray3f(CGparameter param, long offset, long nelements, float[] v, int v_offset)
void cgGLGetParameterArray3f(CGparameter param, long offset, long nelements, float * v)
public static void cgGLGetParameterArray4d(CGparameter param, long offset, long nelements, DoubleBuffer v)
void cgGLGetParameterArray4d(CGparameter param, long offset, long nelements, double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLGetParameterArray4d(CGparameter param, long offset, long nelements, double[] v, int v_offset)
void cgGLGetParameterArray4d(CGparameter param, long offset, long nelements, double * v)
public static void cgGLGetParameterArray4f(CGparameter param, long offset, long nelements, FloatBuffer v)
void cgGLGetParameterArray4f(CGparameter param, long offset, long nelements, float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLGetParameterArray4f(CGparameter param, long offset, long nelements, float[] v, int v_offset)
void cgGLGetParameterArray4f(CGparameter param, long offset, long nelements, float * v)
public static int cgGLGetProgramID(CGprogram program)
GLuint cgGLGetProgramID(CGprogram program)
public static int cgGLGetTextureEnum(CGparameter param)
GLenum cgGLGetTextureEnum(CGparameter param)
public static int cgGLGetTextureParameter(CGparameter param)
GLuint cgGLGetTextureParameter(CGparameter param)
public static boolean cgGLIsProfileSupported(int profile)
CGbool cgGLIsProfileSupported(CGprofile profile)
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static boolean cgGLIsProgramLoaded(CGprogram program)
CGbool cgGLIsProgramLoaded(CGprogram program)
public static void cgGLLoadProgram(CGprogram program)
void cgGLLoadProgram(CGprogram program)
public static void cgGLRegisterStates(CGcontext arg0)
void cgGLRegisterStates(CGcontext)
public static void cgGLSetManageTextureParameters(CGcontext ctx, boolean flag)
void cgGLSetManageTextureParameters(CGcontext ctx, CGbool flag)
public static void cgGLSetMatrixParameterArraydc(CGparameter param, long offset, long nelements, DoubleBuffer matrices)
void cgGLSetMatrixParameterArraydc(CGparameter param, long offset, long nelements, const double * matrices)
matrices
- a direct or array-backed DoubleBuffer
public static void cgGLSetMatrixParameterArraydc(CGparameter param, long offset, long nelements, double[] matrices, int matrices_offset)
void cgGLSetMatrixParameterArraydc(CGparameter param, long offset, long nelements, const double * matrices)
public static void cgGLSetMatrixParameterArraydr(CGparameter param, long offset, long nelements, DoubleBuffer matrices)
void cgGLSetMatrixParameterArraydr(CGparameter param, long offset, long nelements, const double * matrices)
matrices
- a direct or array-backed DoubleBuffer
public static void cgGLSetMatrixParameterArraydr(CGparameter param, long offset, long nelements, double[] matrices, int matrices_offset)
void cgGLSetMatrixParameterArraydr(CGparameter param, long offset, long nelements, const double * matrices)
public static void cgGLSetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, FloatBuffer matrices)
void cgGLSetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, const float * matrices)
matrices
- a direct or array-backed FloatBuffer
public static void cgGLSetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, float[] matrices, int matrices_offset)
void cgGLSetMatrixParameterArrayfc(CGparameter param, long offset, long nelements, const float * matrices)
public static void cgGLSetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, FloatBuffer matrices)
void cgGLSetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, const float * matrices)
matrices
- a direct or array-backed FloatBuffer
public static void cgGLSetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, float[] matrices, int matrices_offset)
void cgGLSetMatrixParameterArrayfr(CGparameter param, long offset, long nelements, const float * matrices)
public static void cgGLSetMatrixParameterdc(CGparameter param, DoubleBuffer matrix)
void cgGLSetMatrixParameterdc(CGparameter param, const double * matrix)
matrix
- a direct or array-backed DoubleBuffer
public static void cgGLSetMatrixParameterdc(CGparameter param, double[] matrix, int matrix_offset)
void cgGLSetMatrixParameterdc(CGparameter param, const double * matrix)
public static void cgGLSetMatrixParameterdr(CGparameter param, DoubleBuffer matrix)
void cgGLSetMatrixParameterdr(CGparameter param, const double * matrix)
matrix
- a direct or array-backed DoubleBuffer
public static void cgGLSetMatrixParameterdr(CGparameter param, double[] matrix, int matrix_offset)
void cgGLSetMatrixParameterdr(CGparameter param, const double * matrix)
public static void cgGLSetMatrixParameterfc(CGparameter param, FloatBuffer matrix)
void cgGLSetMatrixParameterfc(CGparameter param, const float * matrix)
matrix
- a direct or array-backed FloatBuffer
public static void cgGLSetMatrixParameterfc(CGparameter param, float[] matrix, int matrix_offset)
void cgGLSetMatrixParameterfc(CGparameter param, const float * matrix)
public static void cgGLSetMatrixParameterfr(CGparameter param, FloatBuffer matrix)
void cgGLSetMatrixParameterfr(CGparameter param, const float * matrix)
matrix
- a direct or array-backed FloatBuffer
public static void cgGLSetMatrixParameterfr(CGparameter param, float[] matrix, int matrix_offset)
void cgGLSetMatrixParameterfr(CGparameter param, const float * matrix)
public static void cgGLSetOptimalOptions(int profile)
void cgGLSetOptimalOptions(CGprofile profile)
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static void cgGLSetParameter1d(CGparameter param, double x)
void cgGLSetParameter1d(CGparameter param, double x)
public static void cgGLSetParameter1dv(CGparameter param, DoubleBuffer v)
void cgGLSetParameter1dv(CGparameter param, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLSetParameter1dv(CGparameter param, double[] v, int v_offset)
void cgGLSetParameter1dv(CGparameter param, const double * v)
public static void cgGLSetParameter1f(CGparameter param, float x)
void cgGLSetParameter1f(CGparameter param, float x)
public static void cgGLSetParameter1fv(CGparameter param, FloatBuffer v)
void cgGLSetParameter1fv(CGparameter param, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLSetParameter1fv(CGparameter param, float[] v, int v_offset)
void cgGLSetParameter1fv(CGparameter param, const float * v)
public static void cgGLSetParameter2d(CGparameter param, double x, double y)
void cgGLSetParameter2d(CGparameter param, double x, double y)
public static void cgGLSetParameter2dv(CGparameter param, DoubleBuffer v)
void cgGLSetParameter2dv(CGparameter param, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLSetParameter2dv(CGparameter param, double[] v, int v_offset)
void cgGLSetParameter2dv(CGparameter param, const double * v)
public static void cgGLSetParameter2f(CGparameter param, float x, float y)
void cgGLSetParameter2f(CGparameter param, float x, float y)
public static void cgGLSetParameter2fv(CGparameter param, FloatBuffer v)
void cgGLSetParameter2fv(CGparameter param, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLSetParameter2fv(CGparameter param, float[] v, int v_offset)
void cgGLSetParameter2fv(CGparameter param, const float * v)
public static void cgGLSetParameter3d(CGparameter param, double x, double y, double z)
void cgGLSetParameter3d(CGparameter param, double x, double y, double z)
public static void cgGLSetParameter3dv(CGparameter param, DoubleBuffer v)
void cgGLSetParameter3dv(CGparameter param, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLSetParameter3dv(CGparameter param, double[] v, int v_offset)
void cgGLSetParameter3dv(CGparameter param, const double * v)
public static void cgGLSetParameter3f(CGparameter param, float x, float y, float z)
void cgGLSetParameter3f(CGparameter param, float x, float y, float z)
public static void cgGLSetParameter3fv(CGparameter param, FloatBuffer v)
void cgGLSetParameter3fv(CGparameter param, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLSetParameter3fv(CGparameter param, float[] v, int v_offset)
void cgGLSetParameter3fv(CGparameter param, const float * v)
public static void cgGLSetParameter4d(CGparameter param, double x, double y, double z, double w)
void cgGLSetParameter4d(CGparameter param, double x, double y, double z, double w)
public static void cgGLSetParameter4dv(CGparameter param, DoubleBuffer v)
void cgGLSetParameter4dv(CGparameter param, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLSetParameter4dv(CGparameter param, double[] v, int v_offset)
void cgGLSetParameter4dv(CGparameter param, const double * v)
public static void cgGLSetParameter4f(CGparameter param, float x, float y, float z, float w)
void cgGLSetParameter4f(CGparameter param, float x, float y, float z, float w)
public static void cgGLSetParameter4fv(CGparameter param, FloatBuffer v)
void cgGLSetParameter4fv(CGparameter param, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLSetParameter4fv(CGparameter param, float[] v, int v_offset)
void cgGLSetParameter4fv(CGparameter param, const float * v)
public static void cgGLSetParameterArray1d(CGparameter param, long offset, long nelements, DoubleBuffer v)
void cgGLSetParameterArray1d(CGparameter param, long offset, long nelements, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLSetParameterArray1d(CGparameter param, long offset, long nelements, double[] v, int v_offset)
void cgGLSetParameterArray1d(CGparameter param, long offset, long nelements, const double * v)
public static void cgGLSetParameterArray1f(CGparameter param, long offset, long nelements, FloatBuffer v)
void cgGLSetParameterArray1f(CGparameter param, long offset, long nelements, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLSetParameterArray1f(CGparameter param, long offset, long nelements, float[] v, int v_offset)
void cgGLSetParameterArray1f(CGparameter param, long offset, long nelements, const float * v)
public static void cgGLSetParameterArray2d(CGparameter param, long offset, long nelements, DoubleBuffer v)
void cgGLSetParameterArray2d(CGparameter param, long offset, long nelements, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLSetParameterArray2d(CGparameter param, long offset, long nelements, double[] v, int v_offset)
void cgGLSetParameterArray2d(CGparameter param, long offset, long nelements, const double * v)
public static void cgGLSetParameterArray2f(CGparameter param, long offset, long nelements, FloatBuffer v)
void cgGLSetParameterArray2f(CGparameter param, long offset, long nelements, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLSetParameterArray2f(CGparameter param, long offset, long nelements, float[] v, int v_offset)
void cgGLSetParameterArray2f(CGparameter param, long offset, long nelements, const float * v)
public static void cgGLSetParameterArray3d(CGparameter param, long offset, long nelements, DoubleBuffer v)
void cgGLSetParameterArray3d(CGparameter param, long offset, long nelements, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLSetParameterArray3d(CGparameter param, long offset, long nelements, double[] v, int v_offset)
void cgGLSetParameterArray3d(CGparameter param, long offset, long nelements, const double * v)
public static void cgGLSetParameterArray3f(CGparameter param, long offset, long nelements, FloatBuffer v)
void cgGLSetParameterArray3f(CGparameter param, long offset, long nelements, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLSetParameterArray3f(CGparameter param, long offset, long nelements, float[] v, int v_offset)
void cgGLSetParameterArray3f(CGparameter param, long offset, long nelements, const float * v)
public static void cgGLSetParameterArray4d(CGparameter param, long offset, long nelements, DoubleBuffer v)
void cgGLSetParameterArray4d(CGparameter param, long offset, long nelements, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgGLSetParameterArray4d(CGparameter param, long offset, long nelements, double[] v, int v_offset)
void cgGLSetParameterArray4d(CGparameter param, long offset, long nelements, const double * v)
public static void cgGLSetParameterArray4f(CGparameter param, long offset, long nelements, FloatBuffer v)
void cgGLSetParameterArray4f(CGparameter param, long offset, long nelements, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgGLSetParameterArray4f(CGparameter param, long offset, long nelements, float[] v, int v_offset)
void cgGLSetParameterArray4f(CGparameter param, long offset, long nelements, const float * v)
public static void cgGLSetParameterPointer(CGparameter param, int fsize, int type, int stride, Buffer pointer)
void cgGLSetParameterPointer(CGparameter param, GLint fsize, GLenum type, GLsizei stride, const GLvoid * pointer)
pointer
- a direct only Buffer
public static void cgGLSetStateMatrixParameter(CGparameter param, int matrix, int transform)
void cgGLSetStateMatrixParameter(CGparameter param, CGGLenum matrix, CGGLenum transform)
matrix
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR, CG_GL_MATRIX_IDENTITY, CG_GL_MATRIX_TRANSPOSE, CG_GL_MATRIX_INVERSE, CG_GL_MATRIX_INVERSE_TRANSPOSE, CG_GL_MODELVIEW_MATRIX, CG_GL_PROJECTION_MATRIX, CG_GL_TEXTURE_MATRIX, CG_GL_MODELVIEW_PROJECTION_MATRIX, CG_GL_VERTEX, CG_GL_FRAGMENT
transform
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR, CG_GL_MATRIX_IDENTITY, CG_GL_MATRIX_TRANSPOSE, CG_GL_MATRIX_INVERSE, CG_GL_MATRIX_INVERSE_TRANSPOSE, CG_GL_MODELVIEW_MATRIX, CG_GL_PROJECTION_MATRIX, CG_GL_TEXTURE_MATRIX, CG_GL_MODELVIEW_PROJECTION_MATRIX, CG_GL_VERTEX, CG_GL_FRAGMENT
public static void cgGLSetTextureParameter(CGparameter param, int texobj)
void cgGLSetTextureParameter(CGparameter param, GLuint texobj)
public static void cgGLSetupSampler(CGparameter param, int texobj)
void cgGLSetupSampler(CGparameter param, GLuint texobj)
public static void cgGLUnbindProgram(int profile)
void cgGLUnbindProgram(CGprofile profile)
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static String cgGetAnnotationName(CGannotation arg0)
const char * cgGetAnnotationName(CGannotation)
public static int cgGetAnnotationType(CGannotation arg0)
CGtype cgGetAnnotationType(CGannotation)
public static int cgGetArrayDimension(CGparameter param)
int cgGetArrayDimension(CGparameter param)
public static CGparameter cgGetArrayParameter(CGparameter aparam, int index)
CGparameter cgGetArrayParameter(CGparameter aparam, int index)
public static int cgGetArraySize(CGparameter param, int dimension)
int cgGetArraySize(CGparameter param, int dimension)
public static int cgGetArrayTotalSize(CGparameter param)
int cgGetArrayTotalSize(CGparameter param)
public static int cgGetArrayType(CGparameter param)
CGtype cgGetArrayType(CGparameter param)
public static int cgGetAutoCompile(CGcontext ctx)
CGenum cgGetAutoCompile(CGcontext ctx)
public static CGparameter cgGetConnectedParameter(CGparameter param)
CGparameter cgGetConnectedParameter(CGparameter param)
public static CGparameter cgGetConnectedToParameter(CGparameter param, int index)
CGparameter cgGetConnectedToParameter(CGparameter param, int index)
public static CGparameter cgGetDependentAnnotationParameter(CGannotation arg0, int index)
CGparameter cgGetDependentAnnotationParameter(CGannotation, int index)
public static CGparameter cgGetDependentStateAssignmentParameter(CGstateassignment arg0, int index)
CGparameter cgGetDependentStateAssignmentParameter(CGstateassignment, int index)
public static CGcontext cgGetEffectContext(CGeffect arg0)
CGcontext cgGetEffectContext(CGeffect)
public static CGparameter cgGetEffectParameterBySemantic(CGeffect arg0, String arg1)
CGparameter cgGetEffectParameterBySemantic(CGeffect, const char * )
public static int cgGetEnum(String enum_string)
CGenum cgGetEnum(const char * enum_string)
public static String cgGetEnumString(int en)
const char * cgGetEnumString(CGenum en)
en
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
public static int cgGetError()
CGerror cgGetError(void)
public static String cgGetErrorString(int error)
const char * cgGetErrorString(CGerror error)
error
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR
public static CGparameter cgGetFirstDependentParameter(CGparameter param)
CGparameter cgGetFirstDependentParameter(CGparameter param)
public static CGeffect cgGetFirstEffect(CGcontext arg0)
CGeffect cgGetFirstEffect(CGcontext)
public static CGparameter cgGetFirstEffectParameter(CGeffect arg0)
CGparameter cgGetFirstEffectParameter(CGeffect)
public static int cgGetFirstError()
CGerror cgGetFirstError(void)
public static CGparameter cgGetFirstLeafEffectParameter(CGeffect arg0)
CGparameter cgGetFirstLeafEffectParameter(CGeffect)
public static CGparameter cgGetFirstLeafParameter(CGprogram prog, int name_space)
CGparameter cgGetFirstLeafParameter(CGprogram prog, CGenum name_space)
name_space
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
public static CGparameter cgGetFirstParameter(CGprogram prog, int name_space)
CGparameter cgGetFirstParameter(CGprogram prog, CGenum name_space)
name_space
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
public static CGannotation cgGetFirstParameterAnnotation(CGparameter arg0)
CGannotation cgGetFirstParameterAnnotation(CGparameter)
public static CGpass cgGetFirstPass(CGtechnique arg0)
CGpass cgGetFirstPass(CGtechnique)
public static CGannotation cgGetFirstPassAnnotation(CGpass arg0)
CGannotation cgGetFirstPassAnnotation(CGpass)
public static CGprogram cgGetFirstProgram(CGcontext ctx)
CGprogram cgGetFirstProgram(CGcontext ctx)
public static CGannotation cgGetFirstProgramAnnotation(CGprogram arg0)
CGannotation cgGetFirstProgramAnnotation(CGprogram)
public static CGstate cgGetFirstSamplerState(CGcontext arg0)
CGstate cgGetFirstSamplerState(CGcontext)
public static CGstateassignment cgGetFirstSamplerStateAssignment(CGparameter arg0)
CGstateassignment cgGetFirstSamplerStateAssignment(CGparameter)
public static CGstate cgGetFirstState(CGcontext arg0)
CGstate cgGetFirstState(CGcontext)
public static CGstateassignment cgGetFirstStateAssignment(CGpass arg0)
CGstateassignment cgGetFirstStateAssignment(CGpass)
public static CGparameter cgGetFirstStructParameter(CGparameter param)
CGparameter cgGetFirstStructParameter(CGparameter param)
public static CGtechnique cgGetFirstTechnique(CGeffect arg0)
CGtechnique cgGetFirstTechnique(CGeffect)
public static CGannotation cgGetFirstTechniqueAnnotation(CGtechnique arg0)
CGannotation cgGetFirstTechniqueAnnotation(CGtechnique)
public static String cgGetLastErrorString(IntBuffer error)
const char * cgGetLastErrorString(CGerror * error)
error
- a direct or array-backed IntBuffer
public static String cgGetLastErrorString(int[] error, int error_offset)
const char * cgGetLastErrorString(CGerror * error)
public static String cgGetLastListing(CGcontext ctx)
const char * cgGetLastListing(CGcontext ctx)
public static void cgGetMatrixParameterdc(CGparameter param, DoubleBuffer matrix)
void cgGetMatrixParameterdc(CGparameter param, double * matrix)
matrix
- a direct or array-backed DoubleBuffer
public static void cgGetMatrixParameterdc(CGparameter param, double[] matrix, int matrix_offset)
void cgGetMatrixParameterdc(CGparameter param, double * matrix)
public static void cgGetMatrixParameterdr(CGparameter param, DoubleBuffer matrix)
void cgGetMatrixParameterdr(CGparameter param, double * matrix)
matrix
- a direct or array-backed DoubleBuffer
public static void cgGetMatrixParameterdr(CGparameter param, double[] matrix, int matrix_offset)
void cgGetMatrixParameterdr(CGparameter param, double * matrix)
public static void cgGetMatrixParameterfc(CGparameter param, FloatBuffer matrix)
void cgGetMatrixParameterfc(CGparameter param, float * matrix)
matrix
- a direct or array-backed FloatBuffer
public static void cgGetMatrixParameterfc(CGparameter param, float[] matrix, int matrix_offset)
void cgGetMatrixParameterfc(CGparameter param, float * matrix)
public static void cgGetMatrixParameterfr(CGparameter param, FloatBuffer matrix)
void cgGetMatrixParameterfr(CGparameter param, float * matrix)
matrix
- a direct or array-backed FloatBuffer
public static void cgGetMatrixParameterfr(CGparameter param, float[] matrix, int matrix_offset)
void cgGetMatrixParameterfr(CGparameter param, float * matrix)
public static void cgGetMatrixParameteric(CGparameter param, IntBuffer matrix)
void cgGetMatrixParameteric(CGparameter param, int * matrix)
matrix
- a direct or array-backed IntBuffer
public static void cgGetMatrixParameteric(CGparameter param, int[] matrix, int matrix_offset)
void cgGetMatrixParameteric(CGparameter param, int * matrix)
public static void cgGetMatrixParameterir(CGparameter param, IntBuffer matrix)
void cgGetMatrixParameterir(CGparameter param, int * matrix)
matrix
- a direct or array-backed IntBuffer
public static void cgGetMatrixParameterir(CGparameter param, int[] matrix, int matrix_offset)
void cgGetMatrixParameterir(CGparameter param, int * matrix)
public static CGparameter cgGetNamedEffectParameter(CGeffect arg0, String arg1)
CGparameter cgGetNamedEffectParameter(CGeffect, const char * )
public static CGparameter cgGetNamedParameter(CGprogram prog, String name)
CGparameter cgGetNamedParameter(CGprogram prog, const char * name)
public static CGannotation cgGetNamedParameterAnnotation(CGparameter arg0, String arg1)
CGannotation cgGetNamedParameterAnnotation(CGparameter, const char * )
public static CGpass cgGetNamedPass(CGtechnique arg0, String name)
CGpass cgGetNamedPass(CGtechnique, const char * name)
public static CGannotation cgGetNamedPassAnnotation(CGpass arg0, String arg1)
CGannotation cgGetNamedPassAnnotation(CGpass, const char * )
public static CGannotation cgGetNamedProgramAnnotation(CGprogram arg0, String arg1)
CGannotation cgGetNamedProgramAnnotation(CGprogram, const char * )
public static CGparameter cgGetNamedProgramParameter(CGprogram prog, int name_space, String name)
CGparameter cgGetNamedProgramParameter(CGprogram prog, CGenum name_space, const char * name)
name_space
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
public static CGstate cgGetNamedSamplerState(CGcontext arg0, String name)
CGstate cgGetNamedSamplerState(CGcontext, const char * name)
public static CGstateassignment cgGetNamedSamplerStateAssignment(CGparameter arg0, String arg1)
CGstateassignment cgGetNamedSamplerStateAssignment(CGparameter, const char * )
public static CGstate cgGetNamedState(CGcontext arg0, String name)
CGstate cgGetNamedState(CGcontext, const char * name)
public static CGstateassignment cgGetNamedStateAssignment(CGpass arg0, String name)
CGstateassignment cgGetNamedStateAssignment(CGpass, const char * name)
public static CGparameter cgGetNamedStructParameter(CGparameter param, String name)
CGparameter cgGetNamedStructParameter(CGparameter param, const char * name)
public static CGtechnique cgGetNamedTechnique(CGeffect arg0, String name)
CGtechnique cgGetNamedTechnique(CGeffect, const char * name)
public static CGannotation cgGetNamedTechniqueAnnotation(CGtechnique arg0, String arg1)
CGannotation cgGetNamedTechniqueAnnotation(CGtechnique, const char * )
public static int cgGetNamedUserType(Buffer handle, String name)
CGtype cgGetNamedUserType(CGhandle handle, const char * name)
handle
- a direct or array-backed Buffer
public static CGannotation cgGetNextAnnotation(CGannotation arg0)
CGannotation cgGetNextAnnotation(CGannotation)
public static CGeffect cgGetNextEffect(CGeffect arg0)
CGeffect cgGetNextEffect(CGeffect)
public static CGparameter cgGetNextLeafParameter(CGparameter current)
CGparameter cgGetNextLeafParameter(CGparameter current)
public static CGparameter cgGetNextParameter(CGparameter current)
CGparameter cgGetNextParameter(CGparameter current)
public static CGpass cgGetNextPass(CGpass arg0)
CGpass cgGetNextPass(CGpass)
public static CGprogram cgGetNextProgram(CGprogram current)
CGprogram cgGetNextProgram(CGprogram current)
public static CGstate cgGetNextState(CGstate arg0)
CGstate cgGetNextState(CGstate)
public static CGstateassignment cgGetNextStateAssignment(CGstateassignment arg0)
CGstateassignment cgGetNextStateAssignment(CGstateassignment)
public static CGtechnique cgGetNextTechnique(CGtechnique arg0)
CGtechnique cgGetNextTechnique(CGtechnique)
public static int cgGetNumConnectedToParameters(CGparameter param)
int cgGetNumConnectedToParameters(CGparameter param)
public static int cgGetNumDependentAnnotationParameters(CGannotation arg0)
int cgGetNumDependentAnnotationParameters(CGannotation)
public static int cgGetNumDependentStateAssignmentParameters(CGstateassignment arg0)
int cgGetNumDependentStateAssignmentParameters(CGstateassignment)
public static int cgGetNumParentTypes(int type)
int cgGetNumParentTypes(CGtype type)
type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static int cgGetNumUserTypes(Buffer handle)
int cgGetNumUserTypes(CGhandle handle)
handle
- a direct or array-backed Buffer
public static int cgGetParameterBaseResource(CGparameter param)
CGresource cgGetParameterBaseResource(CGparameter param)
public static int cgGetParameterBaseType(CGparameter param)
CGtype cgGetParameterBaseType(CGparameter param)
public static int cgGetParameterClass(CGparameter param)
CGparameterclass cgGetParameterClass(CGparameter param)
public static int cgGetParameterColumns(CGparameter param)
int cgGetParameterColumns(CGparameter param)
public static CGcontext cgGetParameterContext(CGparameter param)
CGcontext cgGetParameterContext(CGparameter param)
public static int cgGetParameterDirection(CGparameter param)
CGenum cgGetParameterDirection(CGparameter param)
public static int cgGetParameterIndex(CGparameter param)
int cgGetParameterIndex(CGparameter param)
public static String cgGetParameterName(CGparameter param)
const char * cgGetParameterName(CGparameter param)
public static int cgGetParameterNamedType(CGparameter param)
CGtype cgGetParameterNamedType(CGparameter param)
public static int cgGetParameterOrdinalNumber(CGparameter param)
int cgGetParameterOrdinalNumber(CGparameter param)
public static CGprogram cgGetParameterProgram(CGparameter param)
CGprogram cgGetParameterProgram(CGparameter param)
public static int cgGetParameterResource(CGparameter param)
CGresource cgGetParameterResource(CGparameter param)
public static long cgGetParameterResourceIndex(CGparameter param)
unsigned long cgGetParameterResourceIndex(CGparameter param)
public static int cgGetParameterRows(CGparameter param)
int cgGetParameterRows(CGparameter param)
public static String cgGetParameterSemantic(CGparameter param)
const char * cgGetParameterSemantic(CGparameter param)
public static int cgGetParameterType(CGparameter param)
CGtype cgGetParameterType(CGparameter param)
public static int cgGetParameterValuedc(CGparameter param, int n, DoubleBuffer vals)
int cgGetParameterValuedc(CGparameter param, int n, double * vals)
vals
- a direct or array-backed DoubleBuffer
public static int cgGetParameterValuedc(CGparameter param, int n, double[] vals, int vals_offset)
int cgGetParameterValuedc(CGparameter param, int n, double * vals)
public static int cgGetParameterValuedr(CGparameter param, int n, DoubleBuffer vals)
int cgGetParameterValuedr(CGparameter param, int n, double * vals)
vals
- a direct or array-backed DoubleBuffer
public static int cgGetParameterValuedr(CGparameter param, int n, double[] vals, int vals_offset)
int cgGetParameterValuedr(CGparameter param, int n, double * vals)
public static int cgGetParameterValuefc(CGparameter param, int n, FloatBuffer vals)
int cgGetParameterValuefc(CGparameter param, int n, float * vals)
vals
- a direct or array-backed FloatBuffer
public static int cgGetParameterValuefc(CGparameter param, int n, float[] vals, int vals_offset)
int cgGetParameterValuefc(CGparameter param, int n, float * vals)
public static int cgGetParameterValuefr(CGparameter param, int n, FloatBuffer vals)
int cgGetParameterValuefr(CGparameter param, int n, float * vals)
vals
- a direct or array-backed FloatBuffer
public static int cgGetParameterValuefr(CGparameter param, int n, float[] vals, int vals_offset)
int cgGetParameterValuefr(CGparameter param, int n, float * vals)
public static int cgGetParameterValueic(CGparameter param, int n, IntBuffer vals)
int cgGetParameterValueic(CGparameter param, int n, int * vals)
vals
- a direct or array-backed IntBuffer
public static int cgGetParameterValueic(CGparameter param, int n, int[] vals, int vals_offset)
int cgGetParameterValueic(CGparameter param, int n, int * vals)
public static int cgGetParameterValueir(CGparameter param, int n, IntBuffer vals)
int cgGetParameterValueir(CGparameter param, int n, int * vals)
vals
- a direct or array-backed IntBuffer
public static int cgGetParameterValueir(CGparameter param, int n, int[] vals, int vals_offset)
int cgGetParameterValueir(CGparameter param, int n, int * vals)
public static int cgGetParameterVariability(CGparameter param)
CGenum cgGetParameterVariability(CGparameter param)
public static int cgGetParentType(int type, int index)
CGtype cgGetParentType(CGtype type, int index)
type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static String cgGetPassName(CGpass arg0)
const char * cgGetPassName(CGpass)
public static CGtechnique cgGetPassTechnique(CGpass arg0)
CGtechnique cgGetPassTechnique(CGpass)
public static int cgGetProfile(String profile_string)
CGprofile cgGetProfile(const char * profile_string)
public static String cgGetProfileString(int profile)
const char * cgGetProfileString(CGprofile profile)
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static CGcontext cgGetProgramContext(CGprogram prog)
CGcontext cgGetProgramContext(CGprogram prog)
public static int cgGetProgramProfile(CGprogram prog)
CGprofile cgGetProgramProfile(CGprogram prog)
public static CGprogram cgGetProgramStateAssignmentValue(CGstateassignment arg0)
CGprogram cgGetProgramStateAssignmentValue(CGstateassignment)
public static String cgGetProgramString(CGprogram prog, int pname)
const char * cgGetProgramString(CGprogram prog, CGenum pname)
pname
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
public static int cgGetResource(String resource_string)
CGresource cgGetResource(const char * resource_string)
public static String cgGetResourceString(int resource)
const char * cgGetResourceString(CGresource resource)
resource
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED
public static CGparameter cgGetSamplerStateAssignmentParameter(CGstateassignment arg0)
CGparameter cgGetSamplerStateAssignmentParameter(CGstateassignment)
public static CGstate cgGetSamplerStateAssignmentState(CGstateassignment arg0)
CGstate cgGetSamplerStateAssignmentState(CGstateassignment)
public static CGparameter cgGetSamplerStateAssignmentValue(CGstateassignment arg0)
CGparameter cgGetSamplerStateAssignmentValue(CGstateassignment)
public static int cgGetStateAssignmentIndex(CGstateassignment arg0)
int cgGetStateAssignmentIndex(CGstateassignment)
public static CGpass cgGetStateAssignmentPass(CGstateassignment arg0)
CGpass cgGetStateAssignmentPass(CGstateassignment)
public static CGstate cgGetStateAssignmentState(CGstateassignment arg0)
CGstate cgGetStateAssignmentState(CGstateassignment)
public static String cgGetStateName(CGstate arg0)
const char * cgGetStateName(CGstate)
public static int cgGetStateType(CGstate arg0)
CGtype cgGetStateType(CGstate)
public static String cgGetString(int sname)
const char * cgGetString(CGenum sname)
sname
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
public static String cgGetStringAnnotationValue(CGannotation arg0)
const char * cgGetStringAnnotationValue(CGannotation)
public static String cgGetStringParameterValue(CGparameter param)
const char * cgGetStringParameterValue(CGparameter param)
public static String cgGetStringStateAssignmentValue(CGstateassignment arg0)
const char * cgGetStringStateAssignmentValue(CGstateassignment)
public static CGeffect cgGetTechniqueEffect(CGtechnique arg0)
CGeffect cgGetTechniqueEffect(CGtechnique)
public static String cgGetTechniqueName(CGtechnique arg0)
const char * cgGetTechniqueName(CGtechnique)
public static CGparameter cgGetTextureStateAssignmentValue(CGstateassignment arg0)
CGparameter cgGetTextureStateAssignmentValue(CGstateassignment)
public static int cgGetType(String type_string)
CGtype cgGetType(const char * type_string)
public static String cgGetTypeString(int type)
const char * cgGetTypeString(CGtype type)
type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static int cgGetUserType(Buffer handle, int index)
CGtype cgGetUserType(CGhandle handle, int index)
handle
- a direct or array-backed Buffer
public static boolean cgIsAnnotation(CGannotation arg0)
CGbool cgIsAnnotation(CGannotation)
public static boolean cgIsContext(CGcontext ctx)
CGbool cgIsContext(CGcontext ctx)
public static boolean cgIsEffect(CGeffect effect)
CGbool cgIsEffect(CGeffect effect)
public static boolean cgIsInterfaceType(int type)
CGbool cgIsInterfaceType(CGtype type)
type
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static boolean cgIsParameter(CGparameter param)
CGbool cgIsParameter(CGparameter param)
public static boolean cgIsParameterGlobal(CGparameter param)
CGbool cgIsParameterGlobal(CGparameter param)
public static boolean cgIsParameterReferenced(CGparameter param)
CGbool cgIsParameterReferenced(CGparameter param)
public static boolean cgIsParameterUsed(CGparameter param, Buffer handle)
CGbool cgIsParameterUsed(CGparameter param, CGhandle handle)
handle
- a direct or array-backed Buffer
public static boolean cgIsParentType(int parent, int child)
CGbool cgIsParentType(CGtype parent, CGtype child)
parent
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
child
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE
public static boolean cgIsPass(CGpass arg0)
CGbool cgIsPass(CGpass)
public static boolean cgIsProgram(CGprogram program)
CGbool cgIsProgram(CGprogram program)
public static boolean cgIsProgramCompiled(CGprogram program)
CGbool cgIsProgramCompiled(CGprogram program)
public static boolean cgIsState(CGstate arg0)
CGbool cgIsState(CGstate)
public static boolean cgIsStateAssignment(CGstateassignment arg0)
CGbool cgIsStateAssignment(CGstateassignment)
public static boolean cgIsTechnique(CGtechnique arg0)
CGbool cgIsTechnique(CGtechnique)
public static boolean cgIsTechniqueValidated(CGtechnique arg0)
CGbool cgIsTechniqueValidated(CGtechnique)
public static void cgResetPassState(CGpass arg0)
void cgResetPassState(CGpass)
public static void cgSetArraySize(CGparameter param, int size)
void cgSetArraySize(CGparameter param, int size)
public static void cgSetAutoCompile(CGcontext ctx, int flag)
void cgSetAutoCompile(CGcontext ctx, CGenum flag)
flag
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
public static void cgSetLastListing(Buffer handle, String listing)
void cgSetLastListing(CGhandle handle, const char * listing)
handle
- a direct or array-backed Buffer
public static void cgSetMatrixParameterdc(CGparameter param, DoubleBuffer matrix)
void cgSetMatrixParameterdc(CGparameter param, const double * matrix)
matrix
- a direct or array-backed DoubleBuffer
public static void cgSetMatrixParameterdc(CGparameter param, double[] matrix, int matrix_offset)
void cgSetMatrixParameterdc(CGparameter param, const double * matrix)
public static void cgSetMatrixParameterdr(CGparameter param, DoubleBuffer matrix)
void cgSetMatrixParameterdr(CGparameter param, const double * matrix)
matrix
- a direct or array-backed DoubleBuffer
public static void cgSetMatrixParameterdr(CGparameter param, double[] matrix, int matrix_offset)
void cgSetMatrixParameterdr(CGparameter param, const double * matrix)
public static void cgSetMatrixParameterfc(CGparameter param, FloatBuffer matrix)
void cgSetMatrixParameterfc(CGparameter param, const float * matrix)
matrix
- a direct or array-backed FloatBuffer
public static void cgSetMatrixParameterfc(CGparameter param, float[] matrix, int matrix_offset)
void cgSetMatrixParameterfc(CGparameter param, const float * matrix)
public static void cgSetMatrixParameterfr(CGparameter param, FloatBuffer matrix)
void cgSetMatrixParameterfr(CGparameter param, const float * matrix)
matrix
- a direct or array-backed FloatBuffer
public static void cgSetMatrixParameterfr(CGparameter param, float[] matrix, int matrix_offset)
void cgSetMatrixParameterfr(CGparameter param, const float * matrix)
public static void cgSetMatrixParameteric(CGparameter param, IntBuffer matrix)
void cgSetMatrixParameteric(CGparameter param, const int * matrix)
matrix
- a direct or array-backed IntBuffer
public static void cgSetMatrixParameteric(CGparameter param, int[] matrix, int matrix_offset)
void cgSetMatrixParameteric(CGparameter param, const int * matrix)
public static void cgSetMatrixParameterir(CGparameter param, IntBuffer matrix)
void cgSetMatrixParameterir(CGparameter param, const int * matrix)
matrix
- a direct or array-backed IntBuffer
public static void cgSetMatrixParameterir(CGparameter param, int[] matrix, int matrix_offset)
void cgSetMatrixParameterir(CGparameter param, const int * matrix)
public static void cgSetMultiDimArraySize(CGparameter param, IntBuffer sizes)
void cgSetMultiDimArraySize(CGparameter param, const int * sizes)
sizes
- a direct or array-backed IntBuffer
public static void cgSetMultiDimArraySize(CGparameter param, int[] sizes, int sizes_offset)
void cgSetMultiDimArraySize(CGparameter param, const int * sizes)
public static void cgSetParameter1d(CGparameter param, double x)
void cgSetParameter1d(CGparameter param, double x)
public static void cgSetParameter1dv(CGparameter param, DoubleBuffer v)
void cgSetParameter1dv(CGparameter param, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgSetParameter1dv(CGparameter param, double[] v, int v_offset)
void cgSetParameter1dv(CGparameter param, const double * v)
public static void cgSetParameter1f(CGparameter param, float x)
void cgSetParameter1f(CGparameter param, float x)
public static void cgSetParameter1fv(CGparameter param, FloatBuffer v)
void cgSetParameter1fv(CGparameter param, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgSetParameter1fv(CGparameter param, float[] v, int v_offset)
void cgSetParameter1fv(CGparameter param, const float * v)
public static void cgSetParameter1i(CGparameter param, int x)
void cgSetParameter1i(CGparameter param, int x)
public static void cgSetParameter1iv(CGparameter param, IntBuffer v)
void cgSetParameter1iv(CGparameter param, const int * v)
v
- a direct or array-backed IntBuffer
public static void cgSetParameter1iv(CGparameter param, int[] v, int v_offset)
void cgSetParameter1iv(CGparameter param, const int * v)
public static void cgSetParameter2d(CGparameter param, double x, double y)
void cgSetParameter2d(CGparameter param, double x, double y)
public static void cgSetParameter2dv(CGparameter param, DoubleBuffer v)
void cgSetParameter2dv(CGparameter param, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgSetParameter2dv(CGparameter param, double[] v, int v_offset)
void cgSetParameter2dv(CGparameter param, const double * v)
public static void cgSetParameter2f(CGparameter param, float x, float y)
void cgSetParameter2f(CGparameter param, float x, float y)
public static void cgSetParameter2fv(CGparameter param, FloatBuffer v)
void cgSetParameter2fv(CGparameter param, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgSetParameter2fv(CGparameter param, float[] v, int v_offset)
void cgSetParameter2fv(CGparameter param, const float * v)
public static void cgSetParameter2i(CGparameter param, int x, int y)
void cgSetParameter2i(CGparameter param, int x, int y)
public static void cgSetParameter2iv(CGparameter param, IntBuffer v)
void cgSetParameter2iv(CGparameter param, const int * v)
v
- a direct or array-backed IntBuffer
public static void cgSetParameter2iv(CGparameter param, int[] v, int v_offset)
void cgSetParameter2iv(CGparameter param, const int * v)
public static void cgSetParameter3d(CGparameter param, double x, double y, double z)
void cgSetParameter3d(CGparameter param, double x, double y, double z)
public static void cgSetParameter3dv(CGparameter param, DoubleBuffer v)
void cgSetParameter3dv(CGparameter param, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgSetParameter3dv(CGparameter param, double[] v, int v_offset)
void cgSetParameter3dv(CGparameter param, const double * v)
public static void cgSetParameter3f(CGparameter param, float x, float y, float z)
void cgSetParameter3f(CGparameter param, float x, float y, float z)
public static void cgSetParameter3fv(CGparameter param, FloatBuffer v)
void cgSetParameter3fv(CGparameter param, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgSetParameter3fv(CGparameter param, float[] v, int v_offset)
void cgSetParameter3fv(CGparameter param, const float * v)
public static void cgSetParameter3i(CGparameter param, int x, int y, int z)
void cgSetParameter3i(CGparameter param, int x, int y, int z)
public static void cgSetParameter3iv(CGparameter param, IntBuffer v)
void cgSetParameter3iv(CGparameter param, const int * v)
v
- a direct or array-backed IntBuffer
public static void cgSetParameter3iv(CGparameter param, int[] v, int v_offset)
void cgSetParameter3iv(CGparameter param, const int * v)
public static void cgSetParameter4d(CGparameter param, double x, double y, double z, double w)
void cgSetParameter4d(CGparameter param, double x, double y, double z, double w)
public static void cgSetParameter4dv(CGparameter param, DoubleBuffer v)
void cgSetParameter4dv(CGparameter param, const double * v)
v
- a direct or array-backed DoubleBuffer
public static void cgSetParameter4dv(CGparameter param, double[] v, int v_offset)
void cgSetParameter4dv(CGparameter param, const double * v)
public static void cgSetParameter4f(CGparameter param, float x, float y, float z, float w)
void cgSetParameter4f(CGparameter param, float x, float y, float z, float w)
public static void cgSetParameter4fv(CGparameter param, FloatBuffer v)
void cgSetParameter4fv(CGparameter param, const float * v)
v
- a direct or array-backed FloatBuffer
public static void cgSetParameter4fv(CGparameter param, float[] v, int v_offset)
void cgSetParameter4fv(CGparameter param, const float * v)
public static void cgSetParameter4i(CGparameter param, int x, int y, int z, int w)
void cgSetParameter4i(CGparameter param, int x, int y, int z, int w)
public static void cgSetParameter4iv(CGparameter param, IntBuffer v)
void cgSetParameter4iv(CGparameter param, const int * v)
v
- a direct or array-backed IntBuffer
public static void cgSetParameter4iv(CGparameter param, int[] v, int v_offset)
void cgSetParameter4iv(CGparameter param, const int * v)
public static void cgSetParameterSemantic(CGparameter param, String semantic)
void cgSetParameterSemantic(CGparameter param, const char * semantic)
public static void cgSetParameterValuedc(CGparameter param, int n, DoubleBuffer vals)
void cgSetParameterValuedc(CGparameter param, int n, const double * vals)
vals
- a direct or array-backed DoubleBuffer
public static void cgSetParameterValuedc(CGparameter param, int n, double[] vals, int vals_offset)
void cgSetParameterValuedc(CGparameter param, int n, const double * vals)
public static void cgSetParameterValuedr(CGparameter param, int n, DoubleBuffer vals)
void cgSetParameterValuedr(CGparameter param, int n, const double * vals)
vals
- a direct or array-backed DoubleBuffer
public static void cgSetParameterValuedr(CGparameter param, int n, double[] vals, int vals_offset)
void cgSetParameterValuedr(CGparameter param, int n, const double * vals)
public static void cgSetParameterValuefc(CGparameter param, int n, FloatBuffer vals)
void cgSetParameterValuefc(CGparameter param, int n, const float * vals)
vals
- a direct or array-backed FloatBuffer
public static void cgSetParameterValuefc(CGparameter param, int n, float[] vals, int vals_offset)
void cgSetParameterValuefc(CGparameter param, int n, const float * vals)
public static void cgSetParameterValuefr(CGparameter param, int n, FloatBuffer vals)
void cgSetParameterValuefr(CGparameter param, int n, const float * vals)
vals
- a direct or array-backed FloatBuffer
public static void cgSetParameterValuefr(CGparameter param, int n, float[] vals, int vals_offset)
void cgSetParameterValuefr(CGparameter param, int n, const float * vals)
public static void cgSetParameterValueic(CGparameter param, int n, IntBuffer vals)
void cgSetParameterValueic(CGparameter param, int n, const int * vals)
vals
- a direct or array-backed IntBuffer
public static void cgSetParameterValueic(CGparameter param, int n, int[] vals, int vals_offset)
void cgSetParameterValueic(CGparameter param, int n, const int * vals)
public static void cgSetParameterValueir(CGparameter param, int n, IntBuffer vals)
void cgSetParameterValueir(CGparameter param, int n, const int * vals)
vals
- a direct or array-backed IntBuffer
public static void cgSetParameterValueir(CGparameter param, int n, int[] vals, int vals_offset)
void cgSetParameterValueir(CGparameter param, int n, const int * vals)
public static void cgSetParameterVariability(CGparameter param, int vary)
void cgSetParameterVariability(CGparameter param, CGenum vary)
vary
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX, CG_NO_ERROR, CG_COMPILER_ERROR, CG_INVALID_PARAMETER_ERROR, CG_INVALID_PROFILE_ERROR, CG_PROGRAM_LOAD_ERROR, CG_PROGRAM_BIND_ERROR, CG_PROGRAM_NOT_LOADED_ERROR, CG_UNSUPPORTED_GL_EXTENSION_ERROR, CG_INVALID_VALUE_TYPE_ERROR, CG_NOT_MATRIX_PARAM_ERROR, CG_INVALID_ENUMERANT_ERROR, CG_NOT_4x4_MATRIX_ERROR, CG_FILE_READ_ERROR, CG_FILE_WRITE_ERROR, CG_NVPARSE_ERROR, CG_MEMORY_ALLOC_ERROR, CG_INVALID_CONTEXT_HANDLE_ERROR, CG_INVALID_PROGRAM_HANDLE_ERROR, CG_INVALID_PARAM_HANDLE_ERROR, CG_UNKNOWN_PROFILE_ERROR, CG_VAR_ARG_ERROR, CG_INVALID_DIMENSION_ERROR, CG_ARRAY_PARAM_ERROR, CG_OUT_OF_ARRAY_BOUNDS_ERROR, CG_CONFLICTING_TYPES_ERROR, CG_CONFLICTING_PARAMETER_TYPES_ERROR, CG_PARAMETER_IS_NOT_SHARED_ERROR, CG_INVALID_PARAMETER_VARIABILITY_ERROR, CG_CANNOT_DESTROY_PARAMETER_ERROR, CG_NOT_ROOT_PARAMETER_ERROR, CG_PARAMETERS_DO_NOT_MATCH_ERROR, CG_IS_NOT_PROGRAM_PARAMETER_ERROR, CG_INVALID_PARAMETER_TYPE_ERROR, CG_PARAMETER_IS_NOT_RESIZABLE_ARRAY_ERROR, CG_INVALID_SIZE_ERROR, CG_BIND_CREATES_CYCLE_ERROR, CG_ARRAY_TYPES_DO_NOT_MATCH_ERROR, CG_ARRAY_DIMENSIONS_DO_NOT_MATCH_ERROR, CG_ARRAY_HAS_WRONG_DIMENSION_ERROR, CG_TYPE_IS_NOT_DEFINED_IN_PROGRAM_ERROR, CG_INVALID_EFFECT_HANDLE_ERROR, CG_INVALID_STATE_HANDLE_ERROR, CG_INVALID_STATE_ASSIGNMENT_HANDLE_ERROR, CG_INVALID_PASS_HANDLE_ERROR, CG_INVALID_ANNOTATION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_HANDLE_ERROR, CG_INVALID_PARAMETER_HANDLE_ERROR, CG_STATE_ASSIGNMENT_TYPE_MISMATCH_ERROR, CG_INVALID_FUNCTION_HANDLE_ERROR, CG_INVALID_TECHNIQUE_ERROR, CG_INVALID_POINTER_ERROR, CG_NOT_ENOUGH_DATA_ERROR, CG_NON_NUMERIC_PARAMETER_ERROR, CG_ARRAY_SIZE_MISMATCH_ERROR, CG_PARAMETERCLASS_UNKNOWN, CG_PARAMETERCLASS_SCALAR, CG_PARAMETERCLASS_VECTOR, CG_PARAMETERCLASS_MATRIX, CG_PARAMETERCLASS_STRUCT, CG_PARAMETERCLASS_ARRAY, CG_PARAMETERCLASS_SAMPLER, CG_PARAMETERCLASS_OBJECT, CG_UNKNOWN, CG_IN, CG_OUT, CG_INOUT, CG_MIXED, CG_VARYING, CG_UNIFORM, CG_CONSTANT, CG_PROGRAM_SOURCE, CG_PROGRAM_ENTRY, CG_COMPILED_PROGRAM, CG_PROGRAM_PROFILE, CG_GLOBAL, CG_PROGRAM, CG_DEFAULT, CG_ERROR, CG_SOURCE, CG_OBJECT, CG_COMPILE_MANUAL, CG_COMPILE_IMMEDIATE, CG_COMPILE_LAZY, CG_CURRENT, CG_LITERAL, CG_VERSION, CG_ROW_MAJOR, CG_COLUMN_MAJOR
public static void cgSetPassProgramParameters(CGprogram arg0)
void cgSetPassProgramParameters(CGprogram)
public static void cgSetPassState(CGpass arg0)
void cgSetPassState(CGpass)
public static void cgSetProgramProfile(CGprogram prog, int profile)
void cgSetProgramProfile(CGprogram prog, CGprofile profile)
profile
- valid values are: CG_UNKNOWN_TYPE, CG_STRUCT, CG_ARRAY, CG_TYPE_START_ENUM, CG_HALF, CG_HALF2, CG_HALF3, CG_HALF4, CG_HALF1x1, CG_HALF1x2, CG_HALF1x3, CG_HALF1x4, CG_HALF2x1, CG_HALF2x2, CG_HALF2x3, CG_HALF2x4, CG_HALF3x1, CG_HALF3x2, CG_HALF3x3, CG_HALF3x4, CG_HALF4x1, CG_HALF4x2, CG_HALF4x3, CG_HALF4x4, CG_FLOAT, CG_FLOAT2, CG_FLOAT3, CG_FLOAT4, CG_FLOAT1x1, CG_FLOAT1x2, CG_FLOAT1x3, CG_FLOAT1x4, CG_FLOAT2x1, CG_FLOAT2x2, CG_FLOAT2x3, CG_FLOAT2x4, CG_FLOAT3x1, CG_FLOAT3x2, CG_FLOAT3x3, CG_FLOAT3x4, CG_FLOAT4x1, CG_FLOAT4x2, CG_FLOAT4x3, CG_FLOAT4x4, CG_SAMPLER1D, CG_SAMPLER2D, CG_SAMPLER3D, CG_SAMPLERRECT, CG_SAMPLERCUBE, CG_FIXED, CG_FIXED2, CG_FIXED3, CG_FIXED4, CG_FIXED1x1, CG_FIXED1x2, CG_FIXED1x3, CG_FIXED1x4, CG_FIXED2x1, CG_FIXED2x2, CG_FIXED2x3, CG_FIXED2x4, CG_FIXED3x1, CG_FIXED3x2, CG_FIXED3x3, CG_FIXED3x4, CG_FIXED4x1, CG_FIXED4x2, CG_FIXED4x3, CG_FIXED4x4, CG_HALF1, CG_FLOAT1, CG_FIXED1, CG_INT, CG_INT1, CG_INT2, CG_INT3, CG_INT4, CG_INT1x1, CG_INT1x2, CG_INT1x3, CG_INT1x4, CG_INT2x1, CG_INT2x2, CG_INT2x3, CG_INT2x4, CG_INT3x1, CG_INT3x2, CG_INT3x3, CG_INT3x4, CG_INT4x1, CG_INT4x2, CG_INT4x3, CG_INT4x4, CG_BOOL, CG_BOOL1, CG_BOOL2, CG_BOOL3, CG_BOOL4, CG_BOOL1x1, CG_BOOL1x2, CG_BOOL1x3, CG_BOOL1x4, CG_BOOL2x1, CG_BOOL2x2, CG_BOOL2x3, CG_BOOL2x4, CG_BOOL3x1, CG_BOOL3x2, CG_BOOL3x3, CG_BOOL3x4, CG_BOOL4x1, CG_BOOL4x2, CG_BOOL4x3, CG_BOOL4x4, CG_STRING, CG_PROGRAM_TYPE, CG_TEXTURE, CG_TEXUNIT0, CG_TEXUNIT1, CG_TEXUNIT2, CG_TEXUNIT3, CG_TEXUNIT4, CG_TEXUNIT5, CG_TEXUNIT6, CG_TEXUNIT7, CG_TEXUNIT8, CG_TEXUNIT9, CG_TEXUNIT10, CG_TEXUNIT11, CG_TEXUNIT12, CG_TEXUNIT13, CG_TEXUNIT14, CG_TEXUNIT15, CG_ATTR0, CG_ATTR1, CG_ATTR2, CG_ATTR3, CG_ATTR4, CG_ATTR5, CG_ATTR6, CG_ATTR7, CG_ATTR8, CG_ATTR9, CG_ATTR10, CG_ATTR11, CG_ATTR12, CG_ATTR13, CG_ATTR14, CG_ATTR15, CG_C, CG_TEX0, CG_TEX1, CG_TEX2, CG_TEX3, CG_TEX4, CG_TEX5, CG_TEX6, CG_TEX7, CG_HPOS, CG_COL0, CG_COL1, CG_COL2, CG_COL3, CG_PSIZ, CG_WPOS, CG_POSITION0, CG_POSITION1, CG_POSITION2, CG_POSITION3, CG_POSITION4, CG_POSITION5, CG_POSITION6, CG_POSITION7, CG_POSITION8, CG_POSITION9, CG_POSITION10, CG_POSITION11, CG_POSITION12, CG_POSITION13, CG_POSITION14, CG_POSITION15, CG_DIFFUSE0, CG_TANGENT0, CG_TANGENT1, CG_TANGENT2, CG_TANGENT3, CG_TANGENT4, CG_TANGENT5, CG_TANGENT6, CG_TANGENT7, CG_TANGENT8, CG_TANGENT9, CG_TANGENT10, CG_TANGENT11, CG_TANGENT12, CG_TANGENT13, CG_TANGENT14, CG_TANGENT15, CG_SPECULAR0, CG_BLENDINDICES0, CG_BLENDINDICES1, CG_BLENDINDICES2, CG_BLENDINDICES3, CG_BLENDINDICES4, CG_BLENDINDICES5, CG_BLENDINDICES6, CG_BLENDINDICES7, CG_BLENDINDICES8, CG_BLENDINDICES9, CG_BLENDINDICES10, CG_BLENDINDICES11, CG_BLENDINDICES12, CG_BLENDINDICES13, CG_BLENDINDICES14, CG_BLENDINDICES15, CG_COLOR0, CG_COLOR1, CG_COLOR2, CG_COLOR3, CG_COLOR4, CG_COLOR5, CG_COLOR6, CG_COLOR7, CG_COLOR8, CG_COLOR9, CG_COLOR10, CG_COLOR11, CG_COLOR12, CG_COLOR13, CG_COLOR14, CG_COLOR15, CG_PSIZE0, CG_PSIZE1, CG_PSIZE2, CG_PSIZE3, CG_PSIZE4, CG_PSIZE5, CG_PSIZE6, CG_PSIZE7, CG_PSIZE8, CG_PSIZE9, CG_PSIZE10, CG_PSIZE11, CG_PSIZE12, CG_PSIZE13, CG_PSIZE14, CG_PSIZE15, CG_BINORMAL0, CG_BINORMAL1, CG_BINORMAL2, CG_BINORMAL3, CG_BINORMAL4, CG_BINORMAL5, CG_BINORMAL6, CG_BINORMAL7, CG_BINORMAL8, CG_BINORMAL9, CG_BINORMAL10, CG_BINORMAL11, CG_BINORMAL12, CG_BINORMAL13, CG_BINORMAL14, CG_BINORMAL15, CG_FOG0, CG_FOG1, CG_FOG2, CG_FOG3, CG_FOG4, CG_FOG5, CG_FOG6, CG_FOG7, CG_FOG8, CG_FOG9, CG_FOG10, CG_FOG11, CG_FOG12, CG_FOG13, CG_FOG14, CG_FOG15, CG_DEPTH0, CG_DEPTH1, CG_DEPTH2, CG_DEPTH3, CG_DEPTH4, CG_DEPTH5, CG_DEPTH6, CG_DEPTH7, CG_DEPTH8, CG_DEPTH9, CG_DEPTH10, CG_DEPTH11, CG_DEPTH12, CG_DEPTH13, CG_DEPTH14, CG_DEPTH15, CG_SAMPLE0, CG_SAMPLE1, CG_SAMPLE2, CG_SAMPLE3, CG_SAMPLE4, CG_SAMPLE5, CG_SAMPLE6, CG_SAMPLE7, CG_SAMPLE8, CG_SAMPLE9, CG_SAMPLE10, CG_SAMPLE11, CG_SAMPLE12, CG_SAMPLE13, CG_SAMPLE14, CG_SAMPLE15, CG_BLENDWEIGHT0, CG_BLENDWEIGHT1, CG_BLENDWEIGHT2, CG_BLENDWEIGHT3, CG_BLENDWEIGHT4, CG_BLENDWEIGHT5, CG_BLENDWEIGHT6, CG_BLENDWEIGHT7, CG_BLENDWEIGHT8, CG_BLENDWEIGHT9, CG_BLENDWEIGHT10, CG_BLENDWEIGHT11, CG_BLENDWEIGHT12, CG_BLENDWEIGHT13, CG_BLENDWEIGHT14, CG_BLENDWEIGHT15, CG_NORMAL0, CG_NORMAL1, CG_NORMAL2, CG_NORMAL3, CG_NORMAL4, CG_NORMAL5, CG_NORMAL6, CG_NORMAL7, CG_NORMAL8, CG_NORMAL9, CG_NORMAL10, CG_NORMAL11, CG_NORMAL12, CG_NORMAL13, CG_NORMAL14, CG_NORMAL15, CG_FOGCOORD, CG_TEXCOORD0, CG_TEXCOORD1, CG_TEXCOORD2, CG_TEXCOORD3, CG_TEXCOORD4, CG_TEXCOORD5, CG_TEXCOORD6, CG_TEXCOORD7, CG_TEXCOORD8, CG_TEXCOORD9, CG_TEXCOORD10, CG_TEXCOORD11, CG_TEXCOORD12, CG_TEXCOORD13, CG_TEXCOORD14, CG_TEXCOORD15, CG_COMBINER_CONST0, CG_COMBINER_CONST1, CG_COMBINER_STAGE_CONST0, CG_COMBINER_STAGE_CONST1, CG_OFFSET_TEXTURE_MATRIX, CG_OFFSET_TEXTURE_SCALE, CG_OFFSET_TEXTURE_BIAS, CG_CONST_EYE, CG_TESSFACTOR, CG_UNDEFINED, CG_PROFILE_START, CG_PROFILE_UNKNOWN, CG_PROFILE_VP20, CG_PROFILE_FP20, CG_PROFILE_VP30, CG_PROFILE_FP30, CG_PROFILE_ARBVP1, CG_PROFILE_FP40, CG_PROFILE_ARBFP1, CG_PROFILE_VP40, CG_PROFILE_VS_1_1, CG_PROFILE_VS_2_0, CG_PROFILE_VS_2_X, CG_PROFILE_PS_1_1, CG_PROFILE_PS_1_2, CG_PROFILE_PS_1_3, CG_PROFILE_PS_2_0, CG_PROFILE_PS_2_X, GENERIC, CG_PROFILE_MAX
public static void cgSetSamplerState(CGparameter arg0)
void cgSetSamplerState(CGparameter)
public static void cgSetStringParameterValue(CGparameter param, String str)
void cgSetStringParameterValue(CGparameter param, const char * str)
public static boolean cgValidateTechnique(CGtechnique arg0)
CGbool cgValidateTechnique(CGtechnique)
public static CgProcAddressTable getCgProcAddressTable()
public static CGprogram cgCreateProgramFromStream(CGcontext ctx, int program_type, InputStream stream, int profile, String entry, String[] args) throws IOException
IOException
Copyright 2010 JogAmp Community.