Package com.banuba.sdk.scene
Interface CameraTexture
- All Known Implementing Classes:
CameraTexture.CppProxy
public interface CameraTexture
Special class, which represent web or phone camera image textures. Because of different platfroms can provide YUV,
or RGBA camera texture representations camera texture can be represented in Y, UV, RGBA formats, depends on
platfrom. Subclass of image
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionasImage()
void
setFormat
(CameraTextureFormat format) set camera texture format for current texture.
-
Method Details
-
getFormat
- Returns:
- camera texture format (camera_texture_format). Can be Y, UV, or RGBA.
-
setFormat
set camera texture format for current texture.- Parameters:
format
- (camera_texture_format). Can be Y, UV, or RGBA.
-
asImage
- Returns:
- upcast to base type
-