public class ImagePool extends Object
EffectPeer
implementations. Image allocation can be
a fairly expensive operation (in terms of footprint and performance),
especially for the GPU backends, so image reuse is critical.Modifier and Type | Field and Description |
---|---|
static long |
numEffects |
Modifier and Type | Method and Description |
---|---|
void |
checkIn(PoolFilterable img) |
PoolFilterable |
checkOut(Renderer renderer,
int w,
int h) |
void |
dispose() |
void |
releasePurgatory() |
public PoolFilterable checkOut(Renderer renderer, int w, int h)
public void checkIn(PoolFilterable img)
public void releasePurgatory()
public void dispose()
Copyright © 2020. All rights reserved.