UNPKG

@tolokoban/tgd

Version:

ToloGameDev library for WebGL2

11 lines 655 B
import { WebglEnumCullFace } from "../../types"; export interface WebglCullOptions { enabled: boolean; cullFace: WebglEnumCullFace; } export declare const webglPresetCull: Record<"off" | "back" | "front", WebglCullOptions>; export declare function webglCullSet(gl: WebGL2RenderingContext, cull: WebglCullOptions): void; export declare function webglCullGet(gl: WebGL2RenderingContext): WebglCullOptions; export declare function webglCullExec(gl: WebGL2RenderingContext, cull: WebglCullOptions, action: () => void): void; export declare function webglDebugCull(gl: WebGL2RenderingContext, caption?: string): void; //# sourceMappingURL=cull.d.ts.map