Lines Matching refs:texture

92     // Draws a texture to the specified rectangle.
94 BasicTexture texture, int x, int y, int width, int height);
99 // Draws the source rectangle part of the texture to the target rectangle.
100 public abstract void drawTexture(BasicTexture texture, RectF source, RectF target);
102 // Draw a texture with a specified texture transform.
103 public abstract void drawTexture(BasicTexture texture, float[] mTextureTransform,
106 // Draw two textures to the specified rectangle. The actual texture used is
112 // Draw a region of a texture and a specified color to the specified
114 // The region of the texture is defined by parameter "src". The target
119 // Unloads the specified texture from the canvas. The resource allocated
120 // to draw the texture will be released. The specified texture will return
123 public abstract boolean unloadTexture(BasicTexture texture);
135 public abstract void beginRenderTarget(RawTexture texture);
140 * Sets texture parameters to use GL_CLAMP_TO_EDGE for both
141 * GL_TEXTURE_WRAP_S and GL_TEXTURE_WRAP_T. Sets texture parameters to be
145 * @param texture The texture to set parameters on.
147 public abstract void setTextureParameters(BasicTexture texture);
150 * Initializes the texture to a size by calling texImage2D on it.
152 * @param texture The texture to initialize the size.
153 * @param format The texture format (e.g. GL_RGBA)
154 * @param type The texture type (e.g. GL_UNSIGNED_BYTE)
156 public abstract void initializeTextureSize(BasicTexture texture, int format, int type);
159 * Initializes the texture to a size by calling texImage2D on it.
161 * @param texture The texture to initialize the size.
164 public abstract void initializeTexture(BasicTexture texture, Bitmap bitmap);
167 * Calls glTexSubImage2D to upload a bitmap to the texture.
169 * @param texture The target texture to write to.
171 * texture array.
173 * texture array.
174 * @param format The texture format (e.g. GL_RGBA)
175 * @param type The texture type (e.g. GL_UNSIGNED_BYTE)
177 public abstract void texSubImage2D(BasicTexture texture, int xOffset, int yOffset,