MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / UpdateCBuffer

Function UpdateCBuffer

BakingLab/AppSettings.cpp:622–694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620 }
621
622 void UpdateCBuffer(ID3D11DeviceContext* context)
623 {
624 CBuffer.Data.EnableSun = EnableSun;
625 CBuffer.Data.SunAreaLightApproximation = SunAreaLightApproximation;
626 CBuffer.Data.SunTintColor = SunTintColor;
627 CBuffer.Data.SunIntensityScale = SunIntensityScale;
628 CBuffer.Data.SunSize = SunSize;
629 CBuffer.Data.SunDirType = SunDirType;
630 CBuffer.Data.SunDirection = SunDirection;
631 CBuffer.Data.SunAzimuth = SunAzimuth;
632 CBuffer.Data.SunElevation = SunElevation;
633 CBuffer.Data.EnableAreaLight = EnableAreaLight;
634 CBuffer.Data.AreaLightColor = AreaLightColor;
635 CBuffer.Data.AreaLightSize = AreaLightSize;
636 CBuffer.Data.AreaLightX = AreaLightX;
637 CBuffer.Data.AreaLightY = AreaLightY;
638 CBuffer.Data.AreaLightZ = AreaLightZ;
639 CBuffer.Data.AreaLightShadowBias = AreaLightShadowBias;
640 CBuffer.Data.BakeDirectAreaLight = BakeDirectAreaLight;
641 CBuffer.Data.EnableAreaLightShadows = EnableAreaLightShadows;
642 CBuffer.Data.ExposureMode = ExposureMode;
643 CBuffer.Data.ManualExposure = ManualExposure;
644 CBuffer.Data.FilmSize = FilmSize;
645 CBuffer.Data.FocalLength = FocalLength;
646 CBuffer.Data.FocusDistance = FocusDistance;
647 CBuffer.Data.NumBlades = NumBlades;
648 CBuffer.Data.KeyValue = KeyValue;
649 CBuffer.Data.AdaptationRate = AdaptationRate;
650 CBuffer.Data.ApertureFNumber = ApertureFNumber;
651 CBuffer.Data.ApertureWidth = ApertureWidth;
652 CBuffer.Data.ShutterSpeedValue = ShutterSpeedValue;
653 CBuffer.Data.ISO = ISO;
654 CBuffer.Data.BokehPolygonAmount = BokehPolygonAmount;
655 CBuffer.Data.ToneMappingMode = ToneMappingMode;
656 CBuffer.Data.WhitePoint_Hejl = WhitePoint_Hejl;
657 CBuffer.Data.ShoulderStrength = ShoulderStrength;
658 CBuffer.Data.LinearStrength = LinearStrength;
659 CBuffer.Data.LinearAngle = LinearAngle;
660 CBuffer.Data.ToeStrength = ToeStrength;
661 CBuffer.Data.WhitePoint_Hable = WhitePoint_Hable;
662 CBuffer.Data.MSAAMode = MSAAMode;
663 CBuffer.Data.FilterType = FilterType;
664 CBuffer.Data.FilterSize = FilterSize;
665 CBuffer.Data.GaussianSigma = GaussianSigma;
666 CBuffer.Data.SGDiffuseMode = SGDiffuseMode;
667 CBuffer.Data.UseASGWarp = UseASGWarp;
668 CBuffer.Data.LightMapResolution = LightMapResolution;
669 CBuffer.Data.BakeMode = BakeMode;
670 CBuffer.Data.SolveMode = SolveMode;
671 CBuffer.Data.EnableDiffuse = EnableDiffuse;
672 CBuffer.Data.EnableSpecular = EnableSpecular;
673 CBuffer.Data.EnableDirectLighting = EnableDirectLighting;
674 CBuffer.Data.EnableIndirectLighting = EnableIndirectLighting;
675 CBuffer.Data.EnableIndirectDiffuse = EnableIndirectDiffuse;
676 CBuffer.Data.EnableIndirectSpecular = EnableIndirectSpecular;
677 CBuffer.Data.EnableAlbedoMaps = EnableAlbedoMaps;
678 CBuffer.Data.EnableNormalMaps = EnableNormalMaps;
679 CBuffer.Data.NormalMapIntensity = NormalMapIntensity;

Callers 1

RunMethod · 0.85

Calls 7

ApplyChangesMethod · 0.80
SetVSMethod · 0.80
SetHSMethod · 0.80
SetDSMethod · 0.80
SetGSMethod · 0.80
SetPSMethod · 0.80
SetCSMethod · 0.80

Tested by

no test coverage detected