gl.glColor4d(.2,.2,.2, opacity); gl.glBegin(GL.GL_LINES); gl.glVertex2d(screenPoint.x, screenPoint.y); gl.glVertex2d(projectedPoint.x, projectedPoint.y); gl.glEnd(); gl.glEnable(GL.GL_TEXTURE_2D); gl.glColor4f(1,1,1,1); } 开发者ID:iedadata,项目名称:geomapapp,代码行数:...
GL_TEXTURE_2D 如果启用,则执行二维纹理。 请参阅 glTexImage2D。 GL_TEXTURE_GEN_Q 如果启用,则使用 glTexGen 定义的纹理生成函数计算 q 纹理坐标。 否则,使用当前 q 纹理坐标。 GL_TEXTURE_GEN_R 如果启用,则使用 glTexGen 定义的纹理生成函数计算 r 纹理坐标。 如果禁用,则使用当前 r 纹理坐标。 GL_TEXTU...
glColor4f(1.0,1.0,1.0,1.0)glEnable(GL_TEXTURE_2D) 开发者ID:xoryouyou,项目名称:NetArgos,代码行数:30,代码来源:pool.py 示例5: enable_states ▲点赞 1▼ defenable_states(gl_states):"""Context Manager that callsglEnableand glDisable on a list of gl states."""forstateingl_states: gl.gl...
GL_TEXTURE_GEN_S); GL11.glEnable(GL11.GL_TEXTURE_GEN_T); GLStateStack.switchState(GLState.VERTEX_ARRAY); if (Globals.draw_detail) { GLState.activeTexture(GL13.GL_TEXTURE1); GL11.glEnable(GL11.GL_TEXTURE_2D); bindDetail(); GL11.glEnable(GL11.GL_TEXTURE_GEN_S); GL11.glEnable(...
GL_TEXTURE_2D If enabled, two-dimensional texturing is performed. See glTexImage2D. GL_TEXTURE_GEN_Q If enabled, the q texture coordinate is computed using the texture-generation function defined with glTexGen. Otherwise, the current q texture coordinate is used. GL_TEXTURE_GEN_R If enabled,...
GL_TEXTURE_2D3553启用二维文理 GL_TEXTURE_GEN_Q3171根据函数glTexGen,启用纹理处理 GL_TEXTURE_GEN_R3170根据函数glTexGen,启用纹理处理 GL_TEXTURE_GEN_S3168根据函数glTexGen,启用纹理处理 GL_TEXTURE_GEN_T3169根据函数glTexGen,启用纹理处理 错误提示代码/glEnable编辑 ...
GL_TEXTURE_1DIf enabled, one-dimensional texturing is performed (unless two-dimensional texturing is also enabled). (SeeglTexImage1D.) GL_TEXTURE_2DIf enabled, two-dimensional texturing is performed. (SeeglTexImage2D.) GL_TEXTURE_3DIf enabled, three-dimensional texturing is performed. (SeeglTex...
GL_TEXTURE_2D ); gl.glDisable( GL2.GL_BLEND ); } }; 代码示例来源:origin: deegree/deegree3 private void oldInit( GL gl ) { LOG.debug( "Initializing opengl context settings." ); gl.glShadeModel( GL.GL_SMOOTH ); gl.glPolygonMode( GL.GL_FRONT_AND_BACK, GL.GL_FILL ); gl....
V var GL_SAMPLER_2D_SHADOW: Int32 V var GL_TEXTURE_ENV_COLOR: Int32 V var GL_TEXTURE_ENV_MODE: Int32 V var GL_TIMEOUT_IGNORED: UInt64 Functions func glFramebufferTextureLayer(GLenum, GLenum, GLuint, GLint, GLint)Deprecated 18 items were found. Tab back to navigate through them...