fix: defer creating image entity/material/etc until actually requested
feat: expose shadow options
This commit is contained in:
1 parent
7546b2a6c5
commit
c7a0b2f5cc
8 files changed
+215
-63
No files matched your search
@@ -796,6 +796,25 @@ external void set_post_processing(
|
||||
bool enabled,
|
||||
);
|
||||
|
||||
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Bool)>()
|
||||
external void set_shadows_enabled(
|
||||
ffi.Pointer<ffi.Void> viewer,
|
||||
bool enabled,
|
||||
);
|
||||
|
||||
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Int)>()
|
||||
external void set_shadow_type(
|
||||
ffi.Pointer<ffi.Void> viewer,
|
||||
int shadowType,
|
||||
);
|
||||
|
||||
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float)>()
|
||||
external void set_soft_shadow_options(
|
||||
ffi.Pointer<ffi.Void> viewer,
|
||||
double penumbraScale,
|
||||
double penumbraRatioScale,
|
||||
);
|
||||
|
||||
@ffi.Native<
|
||||
ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Bool, ffi.Bool, ffi.Bool)>()
|
||||
external void set_antialiasing(
|
||||
|
||||
Reference in new issue
Block a user