Uses of Class
playn.core.Texture.Config
-
Uses of Texture.Config in playn.core
Modifier and TypeFieldDescriptionfinal Texture.Config
Texture.config
This texture's configuration.static Texture.Config
Texture.Config.DEFAULT
Default managed texture configuration: managed, no mipmaps, no repat, linear filters.static Texture.Config
Texture.Config.UNMANAGED
Default unmanaged texture configuration: unmanaged, no mipmaps, no repat, linear filters.Modifier and TypeMethodDescriptionTexture.Config.repeat
(boolean repeatX, boolean repeatY) Returns a copy of this config withrepeatX
,repeatY
set as specified.Modifier and TypeMethodDescriptionGraphics.createTexture
(float width, float height, Texture.Config config) Creates an empty texture into which one can render.Graphics.createTexture
(IDimension size, Texture.Config config) Image.createTexture
(Texture.Config config) Creates a texture with this image's bitmap data usingconfig
.Image.setConfig
(Texture.Config config) Sets the texture config used when creating this image's default texture.Canvas.toTexture
(Texture.Config config) A helper function for creating a texture from this canvas's image, and then disposing this canvas.ModifierConstructorDescriptionTexture
(Graphics gfx, int id, Texture.Config config, int pixWidth, int pixHeight, Scale scale, float dispWidth, float dispHeight)