// Generated by scripts/generate.mjs from bindings/api.mjs. Do not edit.

///|
#external
pub type UnrealBloomPass

///|
#module("@mizchi/three-mbt/postprocessing")
pub extern "js" fn UnrealBloomPass::UnrealBloomPass(
  resolution : Vector2,
  strength : Double,
  radius : Double,
  threshold : Double,
) -> UnrealBloomPass = "unrealBloomPass"

///|
pub fn UnrealBloomPass::as_pass(self : UnrealBloomPass) -> Pass = "%identity"

///|
pub extern "js" fn UnrealBloomPass::strength(self : UnrealBloomPass) -> Double =
  #| (self) => self.strength

///|
pub extern "js" fn UnrealBloomPass::set_strength(
  self : UnrealBloomPass,
  value : Double,
) -> Unit =
  #| (self, value) => { self.strength = value; }

///|
pub extern "js" fn UnrealBloomPass::radius(self : UnrealBloomPass) -> Double =
  #| (self) => self.radius

///|
pub extern "js" fn UnrealBloomPass::set_radius(
  self : UnrealBloomPass,
  value : Double,
) -> Unit =
  #| (self, value) => { self.radius = value; }

///|
pub extern "js" fn UnrealBloomPass::threshold(self : UnrealBloomPass) -> Double =
  #| (self) => self.threshold

///|
pub extern "js" fn UnrealBloomPass::set_threshold(
  self : UnrealBloomPass,
  value : Double,
) -> Unit =
  #| (self, value) => { self.threshold = value; }