C#, XNA, How to select image minimalization filter in 2D mode? -


the problem can't select minimalization filter texture2d scaling. there minfilter

graphicsdevice.samplerstates[0].minfilter 

but it's not working. when try assign filter changes linear.

is there way implement own filter or how select 1 of available?

i read article on shawn hargreaves' blog while said, "spritebatch automatically set needs drawing in 2d...", includes setting minfilter linear.

so, try article says , set spritesortmode immediate. after spritebatch.begin call, can set minfilter whatever want, , should retain setting when draws sprite.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -