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

///|
#external
pub type DRACOExportOptions

///|
#module("@mizchi/three-mbt/asset-formats")
pub extern "js" fn DRACOExportOptions::DRACOExportOptions() -> DRACOExportOptions = "dRACOExportOptions"

///|
pub extern "js" fn DRACOExportOptions::encode_speed(
  self : DRACOExportOptions,
) -> Int =
  #| (self) => self.encodeSpeed

///|
pub extern "js" fn DRACOExportOptions::set_encode_speed(
  self : DRACOExportOptions,
  value : Int,
) -> Unit =
  #| (self, value) => { self.encodeSpeed = value; }

///|
pub extern "js" fn DRACOExportOptions::decode_speed(
  self : DRACOExportOptions,
) -> Int =
  #| (self) => self.decodeSpeed

///|
pub extern "js" fn DRACOExportOptions::set_decode_speed(
  self : DRACOExportOptions,
  value : Int,
) -> Unit =
  #| (self, value) => { self.decodeSpeed = value; }

///|
pub extern "js" fn DRACOExportOptions::encoding_method(
  self : DRACOExportOptions,
) -> DracoEncodingMethod =
  #| (self) => self.encoderMethod

///|
pub extern "js" fn DRACOExportOptions::set_encoding_method(
  self : DRACOExportOptions,
  value : DracoEncodingMethod,
) -> Unit =
  #| (self, value) => { self.encoderMethod = value; }

///|
pub extern "js" fn DRACOExportOptions::export_uvs(
  self : DRACOExportOptions,
) -> Bool =
  #| (self) => self.exportUvs

///|
pub extern "js" fn DRACOExportOptions::set_export_uvs(
  self : DRACOExportOptions,
  value : Bool,
) -> Unit =
  #| (self, value) => { self.exportUvs = value; }

///|
pub extern "js" fn DRACOExportOptions::export_normals(
  self : DRACOExportOptions,
) -> Bool =
  #| (self) => self.exportNormals

///|
pub extern "js" fn DRACOExportOptions::set_export_normals(
  self : DRACOExportOptions,
  value : Bool,
) -> Unit =
  #| (self, value) => { self.exportNormals = value; }

///|
pub extern "js" fn DRACOExportOptions::export_color(
  self : DRACOExportOptions,
) -> Bool =
  #| (self) => self.exportColor

///|
pub extern "js" fn DRACOExportOptions::set_export_color(
  self : DRACOExportOptions,
  value : Bool,
) -> Unit =
  #| (self, value) => { self.exportColor = value; }

///|
pub extern "js" fn DRACOExportOptions::set_quantization(
  self : DRACOExportOptions,
  position : Int,
  normal : Int,
  color : Int,
  uv : Int,
  generic : Int,
) -> Unit =
  #| (self, position, normal, color, uv, generic) => { self.quantization = [position,normal,color,uv,generic]; }