pex-renderer
Version:
Physically Based Renderer (PBR) and scene graph designed as ECS for PEX: define entities to be rendered as collections of components with their update orchestrated by systems.
53 lines (52 loc) • 1.31 kB
TypeScript
declare function _default(ctx: any): {
_cache: ({
type: string;
props: {
attributes: {
aPosition: any;
};
count: number;
};
value: {
attributes: {
aPosition: any;
};
count: number;
};
usage: string;
} | {
type: string;
props: {
attributes: {
aPosition: any;
aTexCoord0: any;
};
indices: any;
};
value: {
attributes: {
aPosition: any;
aTexCoord0: any;
};
indices: any;
};
usage: string;
})[];
Usage: {
Transient: string;
Retained: string;
};
texture2D: (props: any, usage: any) => any;
textureCube: (props: any, usage: any) => any;
renderbuffer: (props: any, usage: any) => any;
pass: (props: any, usage: any) => any;
pipeline: (props: any, usage: any) => any;
vertexBuffer: (props: any, usage: any) => any;
indexBuffer: (props: any, usage: any) => any;
fullscreenTriangle: () => any;
fullscreenQuad: () => any;
beginFrame(): void;
endFrame(): void;
dispose(): void;
};
export default _default;