Package com.banuba.sdk.renderer_common
Interface RendererCommon
- All Known Implementing Classes:
RendererCommon.CppProxy
public interface RendererCommon
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FullImageData
morphMesh
(FullImageData srcImage, ArrayList<Float> originalVerts, ArrayList<Float> morphedVerts, ArrayList<Integer> indices, ArrayList<Float> mvp) return rgba image, srcImage can be rgb or rgbastatic BnbMorphResult
morphMeshLandmarks
(FullImageData srcImage, ArrayList<Float> srcLandmarks, ArrayList<Float> originalVerts, ArrayList<Float> morphedVerts, ArrayList<Integer> indices, ArrayList<Float> mvp) return rgba image, srcImage can be rgb or rgba
-
Method Details
-
morphMesh
@NonNull static FullImageData morphMesh(@NonNull FullImageData srcImage, @NonNull ArrayList<Float> originalVerts, @NonNull ArrayList<Float> morphedVerts, @NonNull ArrayList<Integer> indices, @NonNull ArrayList<Float> mvp) return rgba image, srcImage can be rgb or rgba -
morphMeshLandmarks
@NonNull static BnbMorphResult morphMeshLandmarks(@NonNull FullImageData srcImage, @NonNull ArrayList<Float> srcLandmarks, @NonNull ArrayList<Float> originalVerts, @NonNull ArrayList<Float> morphedVerts, @NonNull ArrayList<Integer> indices, @NonNull ArrayList<Float> mvp) return rgba image, srcImage can be rgb or rgba
-