示例#1
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);
        }
示例#2
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();
 }
示例#3
0
 public void setTexParameters(ccTexParams texParams)
 {
 }
示例#4
0
        public void setAliasTexParameters()
        {
            ccTexParams texParams = new ccTexParams();

            this.setTexParameters(texParams);
        }
示例#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);
        }
示例#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();
 }