Linux 참고
libfacebetter.so를 배포하세요.LD_LIBRARY_PATH, rpath, 또는ldconfig를 설정하세요../scripts/build_linux.sh로 SDK를 빌드하세요(출력build/linux/release) 또는 CMake를 사용하세요.resource_path는resource.fbd파일이어야 합니다.SetRenderView는 없습니다.external_context = true는 호출 스레드의 현재 GL 컨텍스트를 사용합니다(GLFW / EGL / OSMesa).
로깅
Create 전에 SetLogConfig를 호출하세요.
엔진
EngineConfig
피부
리셰이프
Reshape 목록: 파라미터 열거형.
바디 리셰이프
BodyReshape 목록: 파라미터 열거형. resource_body.fbd가 필요합니다. 선택 리소스 팩.
메이크업
크로마키와 가상 배경
필터와 스티커
경로 또는 인코딩된.fbd 바이트입니다. 등록 / ID API는 없습니다. 다음 ProcessImage에서 적용됩니다.
통계, 콜백, 처리
frame->type을 FrameType::Image 또는 FrameType::Video로 설정하세요.
이벤트
이미지
CreateWithFile, Create, CreateWithRGBA/BGRA/RGB/BGR, CreateWithI420/NV12/NV21, CreateWithTexture.
연산: Rotate, Mirror("horizontal"|"vertical"|"both"), SetMirror, Convert, ToFile.
접근자: Width/Height/Stride/Size/GetFormat/Data, YUV 평면, Texture(), Buffer(). 필드: FrameType type.
오류 코드
ProcessImage를 한 스레드에서 직렬화하세요. 픽셀 Data() 포인터는 읽기 전용입니다.
