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