RenderStateManager.AlphaFunction Property |
Language: |
Retrieves or sets the comparison function for the alpha test.
Visual Basic .NET Public Property AlphaFunction As Compare C# public Compare AlphaFunction { get; set; } Managed C++ public: __property Compare get_AlphaFunction();
public: __property void set_AlphaFunction(Compare);JScript .NET public function get AlphaFunction() : Compare
public function set AlphaFunction(Compare);
Microsoft.DirectX.Direct3D.Compare . Value of the Compare enumeration that represents the comparison function to set or retrieve.
This property is read/write.
The default value is Compare.Always.
The AlphaFunction property enables an application to accept or reject a pixel based on its alpha value.
Feedback? Please provide us with your comments on this topic.