Skip to content
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

Export internal CameraShaderParams class which is currently required by the Editor #7168

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

mvaligursky
Copy link
Contributor

not exposed in docs

@mvaligursky mvaligursky self-assigned this Dec 4, 2024
@mvaligursky mvaligursky added the area: graphics Graphics related issue label Dec 4, 2024
@mvaligursky mvaligursky requested a review from a team December 4, 2024 10:00
@willeastcott
Copy link
Contributor

Why is this needed by the Editor?

@mvaligursky
Copy link
Contributor Author

This class is used by the shader generator, and Editor has a case where it manually generates depth shader. Not a good solution, but that's what it is. I used to use RenderParams, but I removed those and forgot to expose this new way.

@willeastcott
Copy link
Contributor

If I approve this, can we consider this temporary with a view to a better solution based on public API in the future?

@mvaligursky
Copy link
Contributor Author

If I approve this, can we consider this temporary with a view to a better solution based on public API in the future?

Of course.

@mvaligursky mvaligursky merged commit f56b0df into main Dec 4, 2024
8 checks passed
@mvaligursky mvaligursky deleted the mv-expose-camerashaderparams branch December 4, 2024 11:45
mvaligursky added a commit that referenced this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants