点击或拖拽改变大小

OpenGLGetLight 方法 (UInt32, UInt32, Single)

Return light source parameter values.

命名空间:  DSkin.OpenGL
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public void GetLight(
	uint light,
	uint pname,
	float[] parameters
)

参数

light
类型:SystemUInt32
Specifies a light source. The number of possible lights depends on the implementation, but at least eight lights are supported. They are identified by symbolic names of the form OpenGL.LIGHTi where i ranges from 0 to the value of OpenGL.GL_MAX_LIGHTS - 1.
pname
类型:SystemUInt32
Specifies a light source parameter for light.
parameters
类型:SystemSingle
Returns the requested data.
参见