toJSON method

Map<String, dynamic> toJSON()

Implementation

Map<String, dynamic> toJSON() {
  return {
    "wrapS": wrapS,
    "wrapT": wrapT,
    "magFilter": magFilter,
    "minFilter": minFilter,
    "format": format,
    "type": type,
    "anisotropy": anisotropy,
    "depthBuffer": depthBuffer,
    "mapping": mapping,
    "stencilBuffer": stencilBuffer,
    "generateMipmaps": generateMipmaps,
    "depthTexture": depthTexture,
    "encoding": encoding,
    "useMultisampleRenderToTexture": useMultisampleRenderToTexture,
    "ignoreDepth": ignoreDepth,
    "useRenderToTexture": useRenderToTexture,
    "samples": samples
  };
}