implements IDisposable
0x00x0058
Members 11
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x40 | s_DirLightProj | Matrix4x4 | PrivateStatic+1 flags | — | |
| 0x08 | m_AdditionalLightsCookieAtlas | Texture2DAtlas | Private | — | |
| 0x08 | m_AdditionalLightsCookieShaderData | LightCookieShaderData | Private | — | |
| 0x18 | m_Settings | Settings | Private+1 flags | — | |
| 0x08 | m_WorkMem | WorkMemory | Private | — | |
| 0x08 | m_VisibleLightIndexToShaderDataIndex | int[] | Private | — | |
| — | 0x04 | k_MaxCookieSizeDivisor | int | PrivateStatic+1 flags | 1073741824 |
| 0x04 | m_CookieSizeDivisor | int | Private | — | |
| 0x04 | m_PrevCookieRequestPixelCount | uint | Private | — | |
| 0x04 | m_PrevWarnFrame | int | Private | — | |
| 0x01 | <IsKeywordLightCookieEnabled>k__BackingField | bool | Private | — | |
| 0x0055 | 0x03 | unreflected bytes to end of LightCookieManager | |||
Functions 25
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool get_IsKeywordLightCookieEnabled() | 2 flags | 0x01 | |
| void set_IsKeywordLightCookieEnabled(bool value) | Private+1 flags | 0x01 | |
| RTHandle get_AdditionalLightsCookieAtlasTexture() | 2 flags | 0x08 | |
| void .ctor(ref Settings& settings) | Public+1 flags | 0x18 | |
| void InitAdditionalLights(int size) | Private | 0x04 | |
| bool isInitialized() | Public | 0x01 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| int GetLightCookieShaderDataIndex(int visibleLightIndex) | Public | 0x04 | |
| void Setup(CommandBuffer cmd, UniversalLightData lightData) | Public | 0x08 | |
| bool SetupMainLight(CommandBuffer cmd, ref VisibleLight& visibleMainLight) | Private | 0x80 | |
| LightCookieShaderFormat GetLightCookieShaderFormat(const GraphicsFormat& cookieFormat) | Private | 0x04 | |
| void GetLightUVScaleOffset(ref UniversalAdditionalLightData& additionalLightData, ref Matrix4x4& uvTransform) | Private | 0x40 | |
| bool SetupAdditionalLights(CommandBuffer cmd, UniversalLightData lightData) | Private | 0x08 | |
| int FilterAndValidateAdditionalLights(UniversalLightData lightData, const LightCookieMapping[]& validLightMappings) | Private | 0x08 | |
| int UpdateAdditionalLightsAtlas(CommandBuffer cmd, ref WorkSlice<UnityEngine.Rendering.Universal.LightCookieManager.LightCookieMapping>& validLightMappings, const Vector4[]& textureAtlasUVRects) | Private | 0x10 | |
| int FetchUVRects(CommandBuffer cmd, ref WorkSlice<UnityEngine.Rendering.Universal.LightCookieManager.LightCookieMapping>& validLightMappings, const Vector4[]& textureAtlasUVRects, int cookieSizeDivisor) | Private | 0x10 | |
| uint ComputeCookieRequestPixelCount(ref WorkSlice<UnityEngine.Rendering.Universal.LightCookieManager.LightCookieMapping>& validLightMappings) | Private | 0x10 | |
| int ApproximateCookieSizeDivisor(float requestAtlasRatio) | Private | 0x04 | |
| Vector4 Fetch2D(CommandBuffer cmd, Texture cookie, int cookieSizeDivisor) | Private | 0x10 | |
| Vector4 FetchCube(CommandBuffer cmd, Texture cookie, int cookieSizeDivisor) | Private | 0x10 | |
| int ComputeOctahedralCookieSize(Texture cookie) | Private | 0x08 | |
| void AdjustUVRect(ref Vector4& uvScaleOffset, Texture cookie, ref Vector2& cookieSize) | Private | 0x10 | |
| void ShrinkUVRect(ref Vector4& uvScaleOffset, float amountPixels, ref Vector2& cookieSize) | Private | 0x10 | |
| void UploadAdditionalLights(CommandBuffer cmd, UniversalLightData lightData, ref WorkSlice<UnityEngine.Rendering.Universal.LightCookieManager.LightCookieMapping>& validLightMappings, ref WorkSlice<UnityEngine.Vector4>& validUvRects) | Private | 0x10 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |