Lines Matching full:texture
30 #include "Texture.h"
45 * A layer has dimensions and is backed by an OpenGL texture or FBO.
55 texture.width = layerWidth;
56 texture.height = layerHeight;
70 * texture coordinates.
77 const float texX = 1.0f / float(texture.width);
78 const float texY = 1.0f / float(texture.height);
97 return texture.width;
101 return texture.height;
105 texture.width = width;
106 texture.height = height;
110 texture.blend = blend;
114 return texture.blend;
151 return &texture.id;
155 return texture.id;
167 texture.setWrap(wrap, bindTexture, force, renderTarget);
171 texture.setFilter(filter, bindTexture, force, renderTarget);
199 glBindTexture(renderTarget, texture.id);
203 glGenTextures(1, &texture.id);
207 if (texture.id) glDeleteTextures(1, &texture.id);
231 * Texture coordinates of the layer.
264 * this layer is not backed by an FBO, but a simple texture.
274 * The texture backing this layer.
276 Texture texture;
284 * When set to true, this layer must be treated as a texture
309 * Optional texture coordinates transform.