fromParams static method
Implementation
static ffi.Pointer<trtc_texture_t> fromParams(TRTCTexture param) {
final texture = calloc<trtc_texture_t>();
texture.ref
..gl_texture_id = param.glTextureId
..gl_context = ffi.Pointer<ffi.Void>.fromAddress(param.glContext);
return texture;
}