Types
SimpleShadowManager = ref object of ShadowManager depth_range*: (float32, float32) caster_bounding_points*: seq[Vec3] use_camera*: bool
- Source Edit
Procs
proc newSimpleShadowManager(light: Light; use_camera: bool; near, far: float32 = 0.0): SimpleShadowManager {. discardable, ...raises: [Exception], tags: [RootEffect].}
- Source Edit
proc renderShadow(self: SimpleShadowManager; scene: Scene; bounding_points: seq[Vec3]; sphere_center: Vec3 = vec3(0); sphere_radius: float32 = 0; min_z: float32 = 0) {. ...raises: [Exception, ValueError], tags: [RootEffect].}
- Source Edit
proc renderShadowWithCamera(self: SimpleShadowManager; camera: Camera) {. ...raises: [Exception, ValueError], tags: [RootEffect].}
- Source Edit
Methods
method destroy(self: SimpleShadowManager) {.locks: "unknown", ...raises: [Exception], tags: [RootEffect].}
- Source Edit
method renderShadow(self: SimpleShadowManager; camera: Camera): bool {. locks: "unknown", ...raises: [Exception, ValueError], tags: [RootEffect].}
- Source Edit