Add files
This commit is contained in:
commit
77bde04db3
97 changed files with 10327 additions and 0 deletions
12
build/src/graphics/rendering/rendering-pass.d.ts
vendored
Normal file
12
build/src/graphics/rendering/rendering-pass.d.ts
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { IDrawable } from '../drawables/i-drawable';
|
||||
import { IDrawableDescriptor } from '../drawables/i-drawable-descriptor';
|
||||
import { FrameBuffer } from '../graphics-library/frame-buffer/frame-buffer';
|
||||
export declare class RenderingPass {
|
||||
private frame;
|
||||
private drawables;
|
||||
private program;
|
||||
constructor(gl: WebGL2RenderingContext, shaderSources: [string, string], drawableDescriptors: Array<IDrawableDescriptor>, frame: FrameBuffer);
|
||||
initialize(): Promise<void>;
|
||||
addDrawable(drawable: IDrawable): void;
|
||||
render(commonUniforms: any, inputTexture?: WebGLTexture): void;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue