Uses of Class
playn.core.Texture.Config
-
Uses of Texture.Config in playn.core
Fields in playn.core declared as Texture.ConfigModifier 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.Methods in playn.core that return Texture.ConfigModifier and TypeMethodDescriptionTexture.Config.repeat
(boolean repeatX, boolean repeatY) Returns a copy of this config withrepeatX
,repeatY
set as specified.Methods in playn.core with parameters of type Texture.ConfigModifier 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.Constructors in playn.core with parameters of type Texture.ConfigModifierConstructorDescriptionTexture
(Graphics gfx, int id, Texture.Config config, int pixWidth, int pixHeight, Scale scale, float dispWidth, float dispHeight)