{"id":19053955,"url":"https://github.com/nosix/unityandroidtexturerendersample","last_synced_at":"2025-07-04T23:37:09.538Z","repository":{"id":49516866,"uuid":"350564280","full_name":"nosix/UnityAndroidTextureRenderSample","owner":"nosix","description":"This is a sample to draw on Unity Texture with Android Plugin.","archived":false,"fork":false,"pushed_at":"2021-03-23T09:25:22.000Z","size":101,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T14:09:18.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nosix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-23T03:12:27.000Z","updated_at":"2024-12-08T14:27:30.000Z","dependencies_parsed_at":"2022-09-21T08:23:07.918Z","dependency_job_id":null,"html_url":"https://github.com/nosix/UnityAndroidTextureRenderSample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nosix/UnityAndroidTextureRenderSample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosix%2FUnityAndroidTextureRenderSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosix%2FUnityAndroidTextureRenderSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosix%2FUnityAndroidTextureRenderSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosix%2FUnityAndroidTextureRenderSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nosix","download_url":"https://codeload.github.com/nosix/UnityAndroidTextureRenderSample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nosix%2FUnityAndroidTextureRenderSample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263636476,"owners_count":23492267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T23:36:02.667Z","updated_at":"2025-07-04T23:37:09.520Z","avatar_url":"https://github.com/nosix.png","language":"Kotlin","readme":"# UnityAndroidTextureRenderSample\n\nThis is a sample to draw on Unity Texture with Android Plugin.\n\n## Verified environment\n\n- Emulator\n  - Android 9.0 (Google Play), API 28, x86\n  - Android 11.0 (Google Play), API 30, x86\n- Device\n  - Android 8.1, API 26, QUALCOMM SDM845 for arm64 (Nreal Computing Unit)\n  - Android 10, API 29, Galaxy S9 (SCV38)\n\n## Usage\n\n1. Open TextureRendererPlugIn project on Android Studio\n2. Publish AAR\n  ```shell\n  ./gradlew publishToMavenLocal\n  ```\n3. Open AndroidTextureRendererExample project on Unity Editor\n4. Switch Platform to Android\n5. Select Run Device\n6. Build and Run\n\n## Abstract\n\n- This will generate an EGLContext for the thread that draws with the Android Plugin.\n- The generated EGLContext shares Unity's EGLContext.\n- The Texture target passed by Unity can be TEXTURE_2D or TEXTUER_EXTERNAL_OES.\n  - In the verification environment,\n    - the target in the emulator is TEXTUER_EXTERNAL_OES\n    - the target in the device is TEXTURE_2D\n- If the target is TEXTURE_2D, draw it on the offscreen texture and then copy it to the Unity texture.\n- If the target is TEXTUER_EXTERNAL_OES, draw directly on the Unity texture.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnosix%2Funityandroidtexturerendersample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnosix%2Funityandroidtexturerendersample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnosix%2Funityandroidtexturerendersample/lists"}