Package com.banuba.sdk.scene
Class Texture.CppProxy
java.lang.Object
com.banuba.sdk.scene.Texture.CppProxy
- All Implemented Interfaces:
Texture
- Enclosing interface:
- Texture
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.Texture
Texture.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
asImage()
protected void
finalize()
int
int
boolean
int
getWidth()
boolean
hasMips()
void
Load texture data from specified file name.void
loadByFd
(int fd) Load texture data from specified file descriptor.void
loadResource
(Resource res) void
set texture filtering mode param mode (texture_filtering_mode)void
setMips
(boolean enable) set mimpap generation flag.void
setTiling
(boolean enable) enable/disable texture tiling
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
loadResource
- Specified by:
loadResource
in interfaceTexture
-
loadByFd
public void loadByFd(int fd) Description copied from interface:Texture
Load texture data from specified file descriptor. -
load
Description copied from interface:Texture
Load texture data from specified file name. For now only supported .png, .jpeg, .jpg, .ktx (2d) images. -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getLayers
public int getLayers() -
setMips
public void setMips(boolean enable) Description copied from interface:Texture
set mimpap generation flag. (affect only on ogl backend). -
hasMips
public boolean hasMips() -
setTiling
public void setTiling(boolean enable) Description copied from interface:Texture
enable/disable texture tiling -
getTiling
public boolean getTiling() -
setFiltering
Description copied from interface:Texture
set texture filtering mode param mode (texture_filtering_mode)- Specified by:
setFiltering
in interfaceTexture
-
getFilteringMode
- Specified by:
getFilteringMode
in interfaceTexture
- Returns:
- filtering mode (texture_filtering_mode)
-
asImage
-