WebGLParameters constructor
Implementation
WebGLParameters(Map<String, dynamic> json) {
isWebGL2 = json["isWebGL2"];
shaderID = json["shaderID"];
customVertexShaderID = json["customVertexShaderID"];
customFragmentShaderID = json["customFragmentShaderID"];
shaderName = json["shaderName"];
vertexShader = json["vertexShader"];
fragmentShader = json["fragmentShader"];
defines = json["defines"];
isRawShaderMaterial = json["isRawShaderMaterial"];
glslVersion = json["glslVersion"];
precision = json["precision"];
instancing = json["instancing"];
instancingColor = json["instancingColor"];
supportsVertexTextures = json["supportsVertexTextures"];
outputEncoding = json["outputEncoding"];
map = json["map"];
matcap = json["matcap"];
envMap = json["envMap"];
envMapMode = json["envMapMode"];
lightMap = json["lightMap"];
aoMap = json["aoMap"];
emissiveMap = json["emissiveMap"];
bumpMap = json["bumpMap"];
normalMap = json["normalMap"];
objectSpaceNormalMap = json["objectSpaceNormalMap"];
tangentSpaceNormalMap = json["tangentSpaceNormalMap"];
clearcoat = json["clearcoat"];
clearcoatMap = json["clearcoatMap"];
clearcoatRoughnessMap = json["clearcoatRoughnessMap"];
clearcoatNormalMap = json["clearcoatNormalMap"];
displacementMap = json["displacementMap"];
roughnessMap = json["roughnessMap"];
metalnessMap = json["metalnessMap"];
specularMap = json["specularMap"];
specularIntensityMap = json["specularIntensityMap"];
specularColorMap = json["specularColorMap"];
alphaMap = json["alphaMap"];
gradientMap = json["gradientMap"];
transmission = json["transmission"];
transmissionMap = json["transmissionMap"];
thicknessMap = json["thicknessMap"];
sheen = json["sheen"];
sheenColorMap = json["sheenColorMap"];
sheenRoughnessMap = json["sheenRoughnessMap"];
combine = json["combine"];
vertexTangents = json["vertexTangents"];
vertexColors = json["vertexColors"];
vertexUvs = json["vertexUvs"];
uvsVertexOnly = json["uvsVertexOnly"];
fog = json["fog"];
useFog = json["useFog"];
fogExp2 = json["fogExp2"];
flatShading = json["flatShading"];
sizeAttenuation = json["sizeAttenuation"];
logarithmicDepthBuffer = json["logarithmicDepthBuffer"];
skinning = json["skinning"];
morphTargets = json["morphTargets"];
morphNormals = json["morphNormals"];
morphColors = json["morphColors"];
numDirLights = json["numDirLights"];
numPointLights = json["numPointLights"];
numSpotLights = json["numSpotLights"];
numRectAreaLights = json["numRectAreaLights"];
numHemiLights = json["numHemiLights"];
numDirLightShadows = json["numDirLightShadows"];
numPointLightShadows = json["numPointLightShadows"];
numSpotLightShadows = json["numSpotLightShadows"];
numClippingPlanes = json["numClippingPlanes"];
numClipIntersection = json["numClipIntersection"];
dithering = json["dithering"];
shadowMapEnabled = json["shadowMapEnabled"];
shadowMapType = json["shadowMapType"];
toneMapping = json["toneMapping"];
physicallyCorrectLights = json["physicallyCorrectLights"];
premultipliedAlpha = json["premultipliedAlpha"];
alphaTest = json["alphaTest"];
doubleSided = json["doubleSided"];
flipSided = json["flipSided"];
useDepthPacking = json["useDepthPacking"];
depthPacking = json["depthPacking"];
index0AttributeName = json["index0AttributeName"];
extensionDerivatives = json["extensionDerivatives"];
extensionFragDepth = json["extensionFragDepth"];
extensionDrawBuffers = json["extensionDrawBuffers"];
extensionShaderTextureLOD = json["extensionShaderTextureLOD"];
rendererExtensionFragDepth = json["rendererExtensionFragDepth"];
rendererExtensionDrawBuffers = json["rendererExtensionDrawBuffers"];
rendererExtensionShaderTextureLod =
json["rendererExtensionShaderTextureLod"];
customProgramCacheKey = json["customProgramCacheKey"] ?? "";
uniforms = json["uniforms"];
vertexAlphas = json["vertexAlphas"];
decodeVideoTexture = json["decodeVideoTexture"];
morphTargetsCount = json["morphTargetsCount"];
opaque = json["opaque"];
cubeUVHeight = json["cubeUVHeight"];
morphTextureStride = json["morphTextureStride"];
}