| // DO NOT EDIT. This file is automatically generated. |
| |
| export interface Options { |
| width: number; |
| height: number; |
| source: number; |
| source_mipmap: boolean; |
| srgb: boolean; |
| f16: boolean; |
| textOnly: boolean; |
| animated: boolean; |
| duration: number; |
| offscreen: boolean; |
| offscreen_width: number; |
| offscreen_height: number; |
| offscreen_sample_count: number; |
| offscreen_texturable: boolean; |
| offscreen_mipmap: boolean; |
| } |
| |
| export interface CompileError { |
| text: string; |
| line: number; |
| col: number; |
| } |
| |
| export interface RunResults { |
| compile_errors: CompileError[] | null; |
| runtime_error: string; |
| fiddleHash: string; |
| text: string; |
| } |
| |
| export interface FiddleContext { |
| version: string; |
| sources: string; |
| fiddlehash: string; |
| code: string; |
| name: string; |
| overwrite: boolean; |
| fast: boolean; |
| options: Options; |
| } |