Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 04:20:16 am
Xith3D CommunityGeneral CategoryFeature Requests & Brilliant Ideas (Moderators: Marvin Fröhlich, 'n ddrylliog)Texture filtering
Pages: [1]
Print
Author Topic: Texture filtering  (Read 1454 times)
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« on: 19. January 2007, 03:47:14 pm »

Is there a default for Texture filtering ? I mean, can I adjust in a single place min/mag filters by default when a texture is loaded ?
Logged
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #1 on: 19. January 2007, 04:10:21 pm »

Okay I added 4 methods to Texture :
Code:
Texture.setDefaultMinificationFilter(int);
Texture.getDefaultMinificationFilter();
Texture.setDefaultMagnificationFilter(int);
Texture.getDefaultMagnificationFilter();

Enjoy !
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #2 on: 19. January 2007, 07:56:19 pm »

I renamed the new methods to

setDefaultMinFilter
getDefaultMinFilter
setDefaultMaxFilter
getDefaultMaxFilter

to fit the existing set/getMinFilter and set/getMaxFilter. I think, to stay in the system is a good idea. And minification is not an existing word Wink look here

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic