/** sets alias texture parameters:
        - GL_TEXTURE_MIN_FILTER = GL_NEAREST
        - GL_TEXTURE_MAG_FILTER = GL_NEAREST

        @since v0.8
        */
        public void setAliasTexParameters()
        {
            ccTexParams texParams = new ccTexParams();// { GL_NEAREST, GL_NEAREST, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE };
            this.setTexParameters(texParams);
        }
 /** sets the min filter, mag filter, wrap s and wrap t texture parameters.
 If the texture size is NPOT (non power of 2), then in can only use GL_CLAMP_TO_EDGE in GL_TEXTURE_WRAP_{S,T}.
 @since v0.8
 */
 public void setTexParameters(ccTexParams texParams)
 {
     //throw new NotImplementedException();
 }
Beispiel #3
0
 public void setTexParameters(ccTexParams texParams)
 {
 }
Beispiel #4
0
        public void setAliasTexParameters()
        {
            ccTexParams texParams = new ccTexParams();

            this.setTexParameters(texParams);
        }
Beispiel #5
0
        /** sets alias texture parameters:
         * - GL_TEXTURE_MIN_FILTER = GL_NEAREST
         * - GL_TEXTURE_MAG_FILTER = GL_NEAREST
         *
         * @since v0.8
         */
        public void setAliasTexParameters()
        {
            ccTexParams texParams = new ccTexParams();// { GL_NEAREST, GL_NEAREST, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE };

            this.setTexParameters(texParams);
        }
Beispiel #6
0
 /** sets the min filter, mag filter, wrap s and wrap t texture parameters.
  * If the texture size is NPOT (non power of 2), then in can only use GL_CLAMP_TO_EDGE in GL_TEXTURE_WRAP_{S,T}.
  * @since v0.8
  */
 public void setTexParameters(ccTexParams texParams)
 {
     //throw new NotImplementedException();
 }