OpenGLAlphaFunc 方法 (AlphaTestFunction, Single) |
Specify the Alpha Test function.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void AlphaFunc(
AlphaTestFunction function,
float reference
)
参数
- function
- 类型:DSkin.OpenGLAlphaTestFunction
Specifies the alpha comparison function. - reference
- 类型:SystemSingle
Specifies the reference value that incoming alpha values are compared to. This value is clamped to the range 0 through 1, where 0 represents the lowest possible alpha value and 1 the highest possible value. The initial reference value is 0.
参见