toJson method
Implementation
Map<String, dynamic> toJson() {
return {
"wrapS": wrapS,
"wrapT": wrapT,
"wrapR": wrapR,
"magFilter": magFilter,
"minFilter": minFilter,
'internalFormat': internalFormat,
"format": format,
'count': count,
"type": type,
'resolveStencilBuffer': resolveStencilBuffer,
'resolveDepthBuffer': resolveDepthBuffer,
"anisotropy": anisotropy,
"depthBuffer": depthBuffer,
"mapping": mapping,
"stencilBuffer": stencilBuffer,
"generateMipmaps": generateMipmaps,
"depthTexture": depthTexture,
"encoding": encoding,
"useMultisampleRenderToTexture": useMultisampleRenderToTexture,
"ignoreDepth": ignoreDepth,
"useRenderToTexture": useRenderToTexture,
"samples": samples,
'colorSpace': colorSpace,
'depth': depth,
'multiview': multiview
};
}