Skip to content

Commit

Permalink
refactor: delete priority of material (#2320)
Browse files Browse the repository at this point in the history
  • Loading branch information
singlecoder authored Aug 8, 2024
1 parent ca4fe94 commit 702c105
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/material/Material.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ export class Material extends ReferResource implements IClone {
_shader: Shader;
/** @internal */
_renderStates: RenderState[] = []; // todo: later will as a part of shaderData when shader effect frame is OK, that is more powerful and flexible.
/** @internal */
_priority: number = 0; // todo: temporary resolution of submesh rendering order issue.

private _shaderData: ShaderData = new ShaderData(ShaderDataGroup.Material);

Expand Down

0 comments on commit 702c105

Please sign in to comment.