Exemplo n.º 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);
        }
Exemplo n.º 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();
 }
Exemplo n.º 3
0
 public void setTexParameters(ccTexParams texParams)
 {
 }
Exemplo n.º 4
0
        public void setAliasTexParameters()
        {
            ccTexParams texParams = new ccTexParams();

            this.setTexParameters(texParams);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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();
 }