WWRuntimeException - if this texture atlas is too full to fit the image in its layout. Greater than this texture atlas' maximum dimensions. Throws: IllegalArgumentException - if either the key or image is null, or if the image dimensions are Parameters: key - an object used to reference the image. Requires space for an image with dimensions (width + 2, height + 2), where width and height are the image's Neighboring atlas elements when an OpenGL box filter is applied to this image. Image's outer pixels into a border surrounding the original image. This adds a one pixel border around the specified image in this texture atlas' backing image by copying the If this texture atlas is not configured to evict oldĮntries, this throws an exception if the image does not fit in the current atlas layout and the atlas cannot be Than or equal to this texture atlas' maximum dimensions. Throws: IllegalArgumentException - if any of initialWidth, initialHeight, maxWidth, or maxHeight are less than orĪdds a new element to this texture atlas with the specified key and image. This has no effect if useMipMaps isįalse. true to apply anĪnisotropic filter, and false otherwise. useAnisotropy - whether to apply an anisotropic filter to each atlas element. true to generate mip-maps,Īnd false otherwise. useMipMaps - whether to generate mip-maps for each atlas element. maxHeight - the texture atlas' maximum height, in pixels. Must be greater than or equal to initialWidth. maxWidth - the texture atlas' maximum width, in pixels. initialHeight - the texture atlas' initial height, in pixels. Parameters: initialWidth - the texture atlas' initial width, in pixels. This constructorĮnables specification of whether the texture atlas generates mip-maps and applies an anisotropic filter to eachĮlement. ![]() Zero, and the maximum dimensions must be greater than or equal to the initial dimensions. TextureAtlas public TextureAtlas(int initialWidth,.Throws: IllegalArgumentException - if any of initialWidth, initialHeight, maxWidth, or maxHeight are less than orĮqual to zero, if maxWidth is less than initialWidth, or if maxHeight is less ![]() Its a self-contained component intended to serve as an applications WorldWindow.Construction options exist to specify a specific graphics device and to share graphics resources with another graphics device. maxHeight - the texture atlas' maximum height, in pixels. WorldWindowGLCanvas is a heavyweight AWT component for displaying World Wind Models (globe and layers). ![]() The constructed textureĪtlas generates mip-maps and applies an anisotropic filter to each element. Constructs a texture atlas with the specified initial and maximum dimensions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |