Isamu Mogi
43de5fa553
com.unity.cloud.ktxが無い場合にasyncメソッドでawaitが無い警告が出るのを抑制
...
com.unity.cloud.ktxが存在していない場合にそのままnullを返す実装に切り替わりますが、そのままだとasyncメソッドで一度もawaitしていないので次のようなコンパイラの警告が出てしまっていました。
```
Assets/VRMShaders/GLTF/IO/Runtime/Texture/Importer/KtxTextureDeserializer.cs(14,38): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
```
pragmaを用いて警告を抑制するようにしました。
2024-06-07 00:01:29 +09:00
Masataka SUMI
a0626c5634
Can load y-flipped KHR_texture_basisu texture at runtime.
2024-03-14 22:52:31 +09:00
Masataka SUMI
eff6d6edd0
fix
2024-03-14 19:11:48 +09:00
Masataka SUMI
d10a17695f
Merge branch 'master' of https://github.com/vrm-c/UniVRM into basisuRuntimeImport
2024-03-14 19:09:12 +09:00
Masataka SUMI
c89e5d77f0
Can import basisu texture at runtime import
2024-03-14 19:07:31 +09:00
tsgcpp
9d4bc2a1a8
fix: Dispose texture caches of TextureFactory
2024-01-06 00:14:53 +09:00
liuchenglong.122
fb12ed80f3
Transfer "TextureImportTypes" to ITextureDeserializer.LoadTextureAsync()
2023-09-25 20:11:23 +08:00
ousttrue
3187078011
private
2023-02-09 19:01:50 +09:00
ousttrue
7572ce5ded
Func<(Texture2D, bool IsDisposable)>
2023-02-09 19:01:29 +09:00
ousttrue
04f409aa1f
(Texture2D Texture, bool IsDisposable)
2023-01-26 15:24:25 +09:00
ousttrue
6d42ba01e3
remove IDisposableResourceList
...
* UnityEngine.Object => UnityEngine.Texture2D
2023-01-26 15:18:07 +09:00
ousttrue
b1825e8968
IDisposableResourceList
...
Dispose a texture if `TextureConverter.CopyTexture` is used.
2023-01-25 18:45:20 +09:00
ousttrue
a79e6b4a5b
ITextureExporter inherit IDisposable
...
update ITextureExporter interface
2023-01-25 18:23:55 +09:00
Masataka SUMI
fd293b5f4c
fix
2022-11-03 18:34:13 +09:00
Masataka SUMI
29c4686af4
Suppress warning logs when loading vrm10 models.
2022-11-03 18:30:09 +09:00
ousttrue
85f4e22a98
typo
2022-10-04 17:55:49 +09:00
Masataka SUMI
413ed64355
Fix a importing error when the model using KHR_texture_basisu extension.
2022-09-12 22:11:48 +09:00
ousttrue
f2d587e09f
glTFTexture.source type to int?
2022-08-05 21:13:32 +09:00
Masataka SUMI
e6dba4c9c5
Can export metallic roughness occlusion correct.
2021-12-22 17:40:04 +09:00
Masataka SUMI
8cff4f52ec
make public
2021-12-09 15:18:16 +09:00
Masataka SUMI
f3b3dce186
読み込み時、MIME type による Validation ログを出す
2021-12-08 19:20:55 +09:00
Masataka SUMI
d5f7179424
不要なため、TextureDescriptor から Image file の情報を削除
2021-12-08 19:05:58 +09:00
Masataka SUMI
c96d4c1331
Image の MimeType を ITextureDeserializer に伝達する
2021-12-08 19:01:22 +09:00
Masataka SUMI
0feffcd5ef
Merge branch 'master' of https://github.com/vrm-c/UniVRM into textureDeserializerInterface
2021-12-07 18:29:43 +09:00
Masataka SUMI
7120997e3a
ITextureDeserializer のインタフェース変更。Sampler はインタフェース実装者が適用する。
2021-12-07 18:12:33 +09:00
Masataka SUMI
6fed2d0f2a
ITextureSerializer に、出力予定アセットに対する事前処理の定義を追加
2021-12-04 02:00:04 +09:00
Masataka SUMI
22bb8ba01b
VRMShaders.GLTF.IO.Runtime 以下のディレクトリ整理
2021-10-14 17:57:20 +09:00