OpenGLTexGen 方法 (UInt32, UInt32, Single) |
Control the generation of texture coordinates.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void TexGen(
uint coord,
uint pname,
float param
)
参数
- coord
- 类型:SystemUInt32
Specifies a texture coordinate. Must be one of OpenGL.S, OpenGL.T, OpenGL.R, or OpenGL.Q. - pname
- 类型:SystemUInt32
Specifies the symbolic name of the texture-coordinate generation function. Must be OpenGL.TEXTURE_GEN_MODE. - param
- 类型:SystemSingle
Specifies a single-valued texture generation parameter, one of OpenGL.OBJECT_LINEAR, OpenGL.GL_EYE_LINEAR, or OpenGL.SPHERE_MAP.
参见