Package com.jme3.renderer.opengl
Class TextureUtil
java.lang.Object
com.jme3.renderer.opengl.TextureUtil
Internal utility class used by
GLRenderer
to manage textures.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetImageFormat
(Image.Format fmt, boolean isSrgb) getImageFormatWithError
(Image.Format fmt, boolean isSrgb) void
initialize
(EnumSet<Caps> caps) void
uploadSubTexture
(int target, Image src, int index, int targetX, int targetY, int areaX, int areaY, int areaWidth, int areaHeight, boolean linearizeSrgb) void
uploadSubTexture
(Image image, int target, int index, int x, int y, boolean linearizeSrgb) Deprecated.Use uploadSubTexture(int target, Image src, int index,int targetX, int targetY,int srcX,int srcY, int areaWidth,int areaHeight, boolean linearizeSrgb)void
uploadTexture
(Image image, int target, int index, boolean linearizeSrgb)
-
Constructor Details
-
TextureUtil
-
-
Method Details
-
initialize
-
getImageFormat
-
getImageFormatWithError
-
uploadTexture
-
uploadSubTexture
@Deprecated public void uploadSubTexture(Image image, int target, int index, int x, int y, boolean linearizeSrgb) Deprecated.Use uploadSubTexture(int target, Image src, int index,int targetX, int targetY,int srcX,int srcY, int areaWidth,int areaHeight, boolean linearizeSrgb) -
uploadSubTexture
public void uploadSubTexture(int target, Image src, int index, int targetX, int targetY, int areaX, int areaY, int areaWidth, int areaHeight, boolean linearizeSrgb)
-