@GeonBit wrote:
If I have a custom effect that define a texture sampler like this:
sampler2D MainTextureSampler = sampler_state { Texture = (MainTexture); MinFilter = Linear; MagFilter = Linear; AddressU = Clamp; AddressV = Clamp; };
How can I change the MinFilter / MagFilter / AddressU / AddressV params from C# code? I looked at all the options of SetValue() of shader parameters and didn't find anything that match sampler state.
Thanks!
Posts: 4
Participants: 2