Package com.jogamp.opengl.fixedfunc
Interface GLLightingFunc
-
- All Known Implementing Classes:
DebugGL2,DebugGL3,DebugGL3bc,DebugGL4,DebugGL4bc,DebugGLES1,TraceGL2,TraceGL3,TraceGL3bc,TraceGL4,TraceGL4bc,TraceGLES1
public interface GLLightingFunc
-
-
Field Summary
Fields Modifier and Type Field Description static intGL_AMBIENTstatic intGL_AMBIENT_AND_DIFFUSEstatic intGL_COLOR_MATERIALstatic intGL_CONSTANT_ATTENUATIONstatic intGL_DIFFUSEstatic intGL_EMISSIONstatic intGL_FLATstatic intGL_LIGHT0static intGL_LIGHT1static intGL_LIGHT2static intGL_LIGHT3static intGL_LIGHT4static intGL_LIGHT5static intGL_LIGHT6static intGL_LIGHT7static intGL_LIGHTINGstatic intGL_LINEAR_ATTENUATIONstatic intGL_NORMALIZEstatic intGL_POSITIONstatic intGL_QUADRATIC_ATTENUATIONstatic intGL_SHININESSstatic intGL_SMOOTHstatic intGL_SPECULARstatic intGL_SPOT_CUTOFFstatic intGL_SPOT_DIRECTIONstatic intGL_SPOT_EXPONENT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidglColor4f(float red, float green, float blue, float alpha)voidglLightfv(int light, int pname, float[] params, int params_offset)voidglLightfv(int light, int pname, FloatBuffer params)voidglMaterialf(int face, int pname, float param)voidglMaterialfv(int face, int pname, float[] params, int params_offset)voidglMaterialfv(int face, int pname, FloatBuffer params)voidglShadeModel(int mode)
-
-
-
Field Detail
-
GL_LIGHT0
static final int GL_LIGHT0
- See Also:
- Constant Field Values
-
GL_LIGHT1
static final int GL_LIGHT1
- See Also:
- Constant Field Values
-
GL_LIGHT2
static final int GL_LIGHT2
- See Also:
- Constant Field Values
-
GL_LIGHT3
static final int GL_LIGHT3
- See Also:
- Constant Field Values
-
GL_LIGHT4
static final int GL_LIGHT4
- See Also:
- Constant Field Values
-
GL_LIGHT5
static final int GL_LIGHT5
- See Also:
- Constant Field Values
-
GL_LIGHT6
static final int GL_LIGHT6
- See Also:
- Constant Field Values
-
GL_LIGHT7
static final int GL_LIGHT7
- See Also:
- Constant Field Values
-
GL_LIGHTING
static final int GL_LIGHTING
- See Also:
- Constant Field Values
-
GL_AMBIENT
static final int GL_AMBIENT
- See Also:
- Constant Field Values
-
GL_DIFFUSE
static final int GL_DIFFUSE
- See Also:
- Constant Field Values
-
GL_SPECULAR
static final int GL_SPECULAR
- See Also:
- Constant Field Values
-
GL_POSITION
static final int GL_POSITION
- See Also:
- Constant Field Values
-
GL_SPOT_DIRECTION
static final int GL_SPOT_DIRECTION
- See Also:
- Constant Field Values
-
GL_SPOT_EXPONENT
static final int GL_SPOT_EXPONENT
- See Also:
- Constant Field Values
-
GL_SPOT_CUTOFF
static final int GL_SPOT_CUTOFF
- See Also:
- Constant Field Values
-
GL_CONSTANT_ATTENUATION
static final int GL_CONSTANT_ATTENUATION
- See Also:
- Constant Field Values
-
GL_LINEAR_ATTENUATION
static final int GL_LINEAR_ATTENUATION
- See Also:
- Constant Field Values
-
GL_QUADRATIC_ATTENUATION
static final int GL_QUADRATIC_ATTENUATION
- See Also:
- Constant Field Values
-
GL_EMISSION
static final int GL_EMISSION
- See Also:
- Constant Field Values
-
GL_SHININESS
static final int GL_SHININESS
- See Also:
- Constant Field Values
-
GL_AMBIENT_AND_DIFFUSE
static final int GL_AMBIENT_AND_DIFFUSE
- See Also:
- Constant Field Values
-
GL_COLOR_MATERIAL
static final int GL_COLOR_MATERIAL
- See Also:
- Constant Field Values
-
GL_NORMALIZE
static final int GL_NORMALIZE
- See Also:
- Constant Field Values
-
GL_FLAT
static final int GL_FLAT
- See Also:
- Constant Field Values
-
GL_SMOOTH
static final int GL_SMOOTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
glLightfv
void glLightfv(int light, int pname, FloatBuffer params)
-
glLightfv
void glLightfv(int light, int pname, float[] params, int params_offset)
-
glMaterialf
void glMaterialf(int face, int pname, float param)
-
glMaterialfv
void glMaterialfv(int face, int pname, FloatBuffer params)
-
glMaterialfv
void glMaterialfv(int face, int pname, float[] params, int params_offset)
-
glColor4f
void glColor4f(float red, float green, float blue, float alpha)
-
glShadeModel
void glShadeModel(int mode)
-
-