| SetTexture(ShaderResourceView, Size2, Color4, SamplerState, BlendState) |
SetTexture method sets the specified texture to be rendered for each pixel.
This value is used when the object does not provide a PixelMaterial.
This also sets the PixelColor to colorMask and OverridePixelColor to true (when pixelTexture is not null).
When rendering texture, AlphaClipThreshold is set to 0.5 (pixel with alpha color values below this value will be clipped).
To remove the texture, set the pixelTexture to null or call RemoveTexture.
|