aboutsummaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/models')
-rw-r--r--src/models/RaytraceContext.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/models/RaytraceContext.ts b/src/models/RaytraceContext.ts
index acd4336..d028c1a 100644
--- a/src/models/RaytraceContext.ts
+++ b/src/models/RaytraceContext.ts
@@ -38,6 +38,13 @@ export interface RaytracerOptions {
refractions: boolean;
maxRecurseDepth: number;
maxDrawDistance: number;
- bufferDrawCalls: boolean;
directMemoryTransfer: boolean;
+ chunkAllocationMode: ChunkAllocationMode;
}
+
+export enum ChunkAllocationMode {
+ SEQUENTIAL,
+ RANDOM,
+ CENTER_TO_EDGE,
+ EDGE_TO_CENTER
+} \ No newline at end of file