-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(typescript): minor typescript changes (#1459)
- Loading branch information
1 parent
d5bd93e
commit 666ca3b
Showing
13 changed files
with
37 additions
and
45 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
modules/shadertools/src/modules/image-warp-filters/bulgepinch.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import {ShaderModule} from '../../types'; | ||
import {ShaderPass} from '../../types'; | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Framebuffer from './framebuffer'; | ||
|
||
export function clear( | ||
gl: WebGLRenderingContext, | ||
options?: {framebuffer?: Framebuffer; color?: any; depth?: any; stencil?: any} | ||
): void; | ||
|
||
export function clearBuffer( | ||
gl: any, | ||
options?: {framebuffer?: Framebuffer; buffer?: any; drawBuffer?: any; value?: any} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Texture2D from '../classes/texture-2d'; | ||
import TextureCube from '../classes/texture-cube'; | ||
import Texture3D from '../classes/texture-3d'; | ||
import Texture from '../classes/texture'; | ||
import Framebuffer, {FramebufferProps} from '../classes/framebuffer'; | ||
|
||
type TextureType = Texture2D | TextureCube | Texture3D; | ||
|
||
export function cloneTextureFrom<T extends TextureType>(refTexture: T, overrides?: any): T; | ||
|
||
export function toFramebuffer(texture: Texture, opts?: FramebufferProps): Framebuffer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters