Lines Matching defs:layer
41 * A layer has dimensions and is backed by an OpenGL texture or FBO.
43 struct Layer {
44 Layer(const uint32_t layerWidth, const uint32_t layerHeight) {
56 ~Layer() {
62 * Sets this layer's region to a rectangle. Computes the appropriate
72 const float height = layer.getHeight();
77 regionRect.translate(layer.left, layer.top);
211 * Bounds of the layer.
213 Rect layer;
215 * Texture coordinates of the layer.
220 * Dirty region indicating what parts of the layer
231 * If the layer can be rendered as a mesh, this is non-null.
239 * Name of the FBO used to render the layer. If the name is 0
240 * this layer is not backed by an FBO, but a simple texture.
245 * Indicates whether this layer has been used already.
250 * The texture backing this layer.
255 * If set to true (by default), the layer can be reused.
260 * When set to true, this layer must be treated as a texture
261 * layer.
271 * Color filter used to draw this layer. Optional.
276 * Opacity of the layer.
280 * Blending mode of the layer.
294 }; // struct Layer