Lines Matching refs:atlas
40 * An asset atlas holds a collection of framework bitmaps in a single OpenGL
42 * inside the atlas. The atlas is generated by the framework and bound as
49 * bitmap inside the atlas.
53 * The bitmap that generated this atlas entry.
58 * Location of the bitmap inside the atlas, in pixels.
65 * inside the atlas.
78 * correct range to sample this entry from the atlas.
85 const AssetAtlas& atlas;
89 * in the atlas.
92 return texture->blend ? &atlas.mBlendKey : &atlas.mOpaqueKey;
97 Texture* texture, const UvMapper& mapper, const AssetAtlas& atlas):
99 texture(texture), uvMapper(mapper), atlas(atlas) {
114 * Initializes the atlas with the specified buffer and
120 * This method returns immediately if the atlas is already
121 * initialized. To re-initialize the atlas, you must
127 * Destroys the atlas texture. This object can be
136 * Returns the width of this atlas in pixels.
137 * Can return 0 if the atlas is not initialized.
144 * Returns the height of this atlas in pixels.
145 * Can return 0 if the atlas is not initialized.
152 * Returns the OpenGL name of the texture backing this atlas.
153 * Can return 0 if the atlas is not initialized.
160 * Returns the entry in the atlas associated with the specified
161 * bitmap. If the bitmap is not in the atlas, return NULL.
166 * Returns the texture for the atlas entry associated with the
167 * specified bitmap. If the bitmap is not in the atlas, return NULL.
172 * Returns the current generation id of the atlas.