Skip to content

Commit

Permalink
Allow defines the shader name that appears in spector.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebavan committed Apr 26, 2024
1 parent abb9275 commit 21d1e42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/dev/core/src/Materials/effect.ts
Expand Up @@ -53,6 +53,10 @@ export type IShaderPath = {
* Used with shader code in script tags
*/
fragmentElement?: string;
/**
* Defines the name appearing in spector when framgent/vertex...source are being used
*/
spectorName?: string;
};

/**
Expand Down

0 comments on commit 21d1e42

Please sign in to comment.