-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature10/refactor materialimporter #739
Feature10/refactor materialimporter #739
Conversation
* MaterialImporter を interface から delegate に格下げ * UniUnlit の導入により不要になった ShaderStore を削除
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
作業途中ということでよし
namespace UniGLTF | ||
{ | ||
public delegate TextureItem GetTextureItemFunc(int i); | ||
public delegate Shader GetShaderFunc(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使ってない?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GetShaderFunc
IShaderStore が思ったより消えて不要になってました。
次で消しておきます。
public delegate MaterialItemBase MaterialImporter(int i, glTFMaterial x, bool hasVertexColor); | ||
|
||
|
||
public class MaterialFactory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MaterialFactory
自体が中間生成物の UnityEngine.Object
を生成する可能性があるので
コレ自体が IDisposable
である必要はありそう
#732 の準備