We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For my addon Empty Shell, I have a color fill mode and I used undocumented rendering code to make color filled empty shells render a LOT faster
no workaround or alternative
I just need to be able to port this:
_UpdateRendererStateGroup() { const renderer = this._runtime.GetRenderer(); const wi = this.GetWorldInfo(); if (wi._stateGroup) renderer.ReleaseStateGroup(wi._stateGroup); let shaderProgram; if (this.useColorFill) shaderProgram = renderer._spColorFill || "<fill>"; else shaderProgram = renderer.GetTextureFillShaderProgram() || "<default>"; wi._stateGroup = renderer.AcquireStateGroup( shaderProgram, wi.GetBlendMode(), wi._colorPremultiplied, wi.GetZElevation() ); }
I need it to port my addon
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reviewed guidelines
Checked for duplicate suggestions
Summary
For my addon Empty Shell, I have a color fill mode and I used undocumented rendering code to make color filled empty shells render a LOT faster
Possible workarounds or alternatives
no workaround or alternative
Proposed solution
I just need to be able to port this:
Why is this idea important?
I need it to port my addon
Additional remarks
No response
The text was updated successfully, but these errors were encountered: