implements IDisposable
0x00x0068
Members 7
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | m_HardwareDynamicResRequested | bool | Private | — | |
| 0x0011 | 0x07 | padding / unreflected | |||
| 0x08 | m_AutoSizedRTs | HashSet<UnityEngine.Rendering.RTHandle> | Private | — | |
| 0x08 | m_AutoSizedRTsArray | RTHandle[] | Private | — | |
| 0x08 | m_ResizeOnDemandRTs | HashSet<UnityEngine.Rendering.RTHandle> | Private | — | |
| 0x30 | m_RTHandleProperties | RTHandleProperties | Private | — | |
| 0x04 | m_MaxWidths | int | Private | — | |
| 0x04 | m_MaxHeights | int | Private | — | |
Functions 29
| Signature | Flags | Native | Params |
|---|---|---|---|
| RTHandleProperties get_rtHandleProperties() | Public+1 flags | 0x30 | |
| void .ctor() | Public+1 flags | 0x00 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| void Initialize(int width, int height) | Public | 0x04 | |
| void Initialize(int width, int height, bool useLegacyDynamicResControl) | Public | 0x04 | |
| void Release(RTHandle rth) | Public | 0x08 | |
| void Remove(RTHandle rth) | 1 flags | 0x08 | |
| void ResetReferenceSize(int width, int height) | Public | 0x04 | |
| void SetReferenceSize(int width, int height) | Public | 0x04 | |
| void SetReferenceSize(int width, int height, bool reset) | Public | 0x04 | |
| Vector2 CalculateRatioAgainstMaxSize(ref Vector2Int& viewportSize) | 1 flags | 0x08 | |
| void SetHardwareDynamicResolutionState(bool enableHWDynamicRes) | Public | 0x01 | |
| void SwitchResizeMode(RTHandle rth, const ResizeMode& mode) | 1 flags | 0x08 | |
| void DemandResize(RTHandle rth) | Private | 0x08 | |
| int GetMaxWidth() | Public | 0x04 | |
| int GetMaxHeight() | Public | 0x04 | |
| void Dispose(bool disposing) | Private | 0x01 | |
| void Resize(int width, int height, bool sizeChanged) | Private | 0x04 | |
| RTHandle Alloc(int width, int height, int slices, const DepthBits& depthBufferBits, const GraphicsFormat& colorFormat, const FilterMode& filterMode, const TextureWrapMode& wrapMode, const TextureDimension& dimension, bool enableRandomWrite, bool useMipMap, bool autoGenerateMips, bool isShadowMap, int anisoLevel, float mipMapBias, const MSAASamples& msaaSamples, bool bindTextureMS, bool useDynamicScale, const RenderTextureMemoryless& memoryless, const VRTextureUsage& vrUsage, const string& name) | Public | 0x08 | |
| RTHandle Alloc(int width, int height, const TextureWrapMode& wrapModeU, const TextureWrapMode& wrapModeV, const TextureWrapMode& wrapModeW, int slices, const DepthBits& depthBufferBits, const GraphicsFormat& colorFormat, const FilterMode& filterMode, const TextureDimension& dimension, bool enableRandomWrite, bool useMipMap, bool autoGenerateMips, bool isShadowMap, int anisoLevel, float mipMapBias, const MSAASamples& msaaSamples, bool bindTextureMS, bool useDynamicScale, const RenderTextureMemoryless& memoryless, const VRTextureUsage& vrUsage, const string& name) | Public | 0x08 | |
| RTHandle Alloc(const Vector2& scaleFactor, int slices, const DepthBits& depthBufferBits, const GraphicsFormat& colorFormat, const FilterMode& filterMode, const TextureWrapMode& wrapMode, const TextureDimension& dimension, bool enableRandomWrite, bool useMipMap, bool autoGenerateMips, bool isShadowMap, int anisoLevel, float mipMapBias, const MSAASamples& msaaSamples, bool bindTextureMS, bool useDynamicScale, const RenderTextureMemoryless& memoryless, const VRTextureUsage& vrUsage, const string& name) | Public | 0x08 | |
| RTHandle Alloc(ScaleFunc scaleFunc, int slices, const DepthBits& depthBufferBits, const GraphicsFormat& colorFormat, const FilterMode& filterMode, const TextureWrapMode& wrapMode, const TextureDimension& dimension, bool enableRandomWrite, bool useMipMap, bool autoGenerateMips, bool isShadowMap, int anisoLevel, float mipMapBias, const MSAASamples& msaaSamples, bool bindTextureMS, bool useDynamicScale, const RenderTextureMemoryless& memoryless, const VRTextureUsage& vrUsage, const string& name) | Public | 0x08 | |
| RTHandle AllocAutoSizedRenderTexture(int width, int height, int slices, const DepthBits& depthBufferBits, const GraphicsFormat& colorFormat, const FilterMode& filterMode, const TextureWrapMode& wrapMode, const TextureDimension& dimension, bool enableRandomWrite, bool useMipMap, bool autoGenerateMips, bool isShadowMap, int anisoLevel, float mipMapBias, const MSAASamples& msaaSamples, bool bindTextureMS, bool useDynamicScale, const RenderTextureMemoryless& memoryless, const VRTextureUsage& vrUsage, const string& name) | Private | 0x08 | |
| RTHandle Alloc(RenderTexture texture) | Public | 0x08 | |
| RTHandle Alloc(Texture texture) | Public | 0x08 | |
| RTHandle Alloc(const RenderTargetIdentifier& texture) | Public | 0x28 | |
| RTHandle Alloc(const RenderTargetIdentifier& texture, const string& name) | Public | 0x28 | |
| RTHandle Alloc(RTHandle tex) | PrivateStatic | 0x08 | |
| string DumpRTInfo() | 1 flags | 0x08 |