Skip to content

Commit

Permalink
Remove deprecated gfx (#520)
Browse files Browse the repository at this point in the history
* remove deprecated gfx

* Update custom-shaders.md

* Update custom-shaders.md

* Update custom-shaders.md

* Update custom-shaders.md

---------

Co-authored-by: Will Eastcott <[email protected]>
  • Loading branch information
LeXXik and willeastcott authored Dec 27, 2023
1 parent 0dd59d5 commit b519522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/tutorials/custom-shaders.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ fragmentShader = fragmentShader + this.fs.resource;
// A shader definition used to create a new shader.
var shaderDefinition = {
attributes: {
aPosition: pc.gfx.SEMANTIC_POSITION,
aUv0: pc.gfx.SEMANTIC_TEXCOORD0
aPosition: pc.SEMANTIC_POSITION,
aUv0: pc.SEMANTIC_TEXCOORD0
},
vshader: vertexShader,
fshader: fragmentShader
Expand Down

0 comments on commit b519522

Please sign in to comment.