点击或拖拽改变大小

OpenGLEnableIf 方法

This is not an imported OpenGL function, but very useful. If 'test' is true, cap is enabled, otherwise, it's disable.

命名空间:  DSkin.OpenGL
程序集:  DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法
C#
public void EnableIf(
	uint cap,
	bool test
)

参数

cap
类型:SystemUInt32
The capability you want to enable.
test
类型:SystemBoolean
The logical comparison.
参见