Skip to content

Commit

Permalink
Add getter
Browse files Browse the repository at this point in the history
  • Loading branch information
vanruesc committed Mar 8, 2024
1 parent 1512506 commit 8e0faf3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/materials/CopyMaterial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ export class CopyMaterial extends FullscreenMaterial {

}

override get inputBuffer(): Texture | null {

return super.inputBuffer;

}

override set inputBuffer(value: Texture | null) {

const colorWrite = value !== null;
Expand Down

0 comments on commit 8e0faf3

Please sign in to comment.