Package org.oscim.renderer.bucket
Class TextureItem
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.oscim.utils.pool.Inlist
Inlist.List<T extends Inlist<?>> -
Field Summary
FieldsModifier and TypeFieldDescriptiontemporary Bitmapfinal intintbooleanintvertex offset from which this texture is referencedfinal booleanfinal intcurrent settings -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind()Bind Texture for rendering [on GL-Thread]static TextureItemclone(TextureItem ti) dispose()Dispose TextureItem [Threadsafe]static voidDisposed textures are released by MapRenderer after each framevoidupload()Upload Image to Texture [on GL-Thread]Methods inherited from class org.oscim.utils.pool.Inlist
appendItem, appendList, get, last, next, prependRelative, push, remove, size
-
Field Details
-
width
public final int widthcurrent settings -
height
public final int height -
repeat
public final boolean repeat -
offset
public int offsetvertex offset from which this texture is referenced -
indices
public int indices -
bitmap
temporary Bitmap -
mipmap
public boolean mipmap
-
-
Constructor Details
-
TextureItem
-
TextureItem
-
-
Method Details
-
clone
-
upload
public void upload()Upload Image to Texture [on GL-Thread] -
bind
public void bind()Bind Texture for rendering [on GL-Thread] -
dispose
Dispose TextureItem [Threadsafe]- Returns:
- this.next
-
disposeTextures
public static void disposeTextures()Disposed textures are released by MapRenderer after each frame
-