implements IDisposable
0x00x0170
Members 51
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_RayMap | RenderTexture | Private | — | |
| 0x08 | m_SignMap | RenderTexture | Private | — | |
| 0x08 | m_SignMapBis | RenderTexture | Private | — | |
| 0x08 | m_RenderTextureViews | RenderTexture[] | Private | — | |
| 0x08 | m_CounterBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_AccumCounterBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_TrianglesInVoxels | GraphicsBuffer | Private | — | |
| 0x08 | m_TrianglesUV | GraphicsBuffer | Private | — | |
| 0x08 | m_TmpBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_AccumSumBlocks | GraphicsBuffer | Private | — | |
| 0x08 | m_SumBlocksBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_InSumBlocksBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_SumBlocksAdditional | GraphicsBuffer | Private | — | |
| 0x08 | m_IndicesBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_VerticesBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_VerticesOutBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_CoordFlipBuffer | GraphicsBuffer | Private | — | |
| 0x08 | m_AabbBuffer | GraphicsBuffer | Private | — | |
| 0x04 | m_VertexBufferOffset | int | Private | — | |
| 0x04 | m_ThreadGroupSize | int | Private | — | |
| 0x04 | m_SignPassesCount | int | Private | — | |
| 0x04 | m_InOutThreshold | float | Private | — | |
| 0x08 | m_Material | Material[] | Private | — | |
| 0x08 | m_WorldToClip | Matrix4x4[] | Private | — | |
| 0x08 | m_ProjMat | Matrix4x4[] | Private | — | |
| 0x08 | m_ViewMat | Matrix4x4[] | Private | — | |
| 0x04 | m_nStepsJFA | int | Private | — | |
| 0x00D4 | 0x04 | padding / unreflected | |||
| 0x08 | m_Kernels | Kernels | Private | — | |
| 0x08 | m_Mesh | Mesh | Private | — | |
| 0x08 | m_textureVoxel | RenderTexture | Private | — | |
| 0x08 | m_textureVoxelBis | RenderTexture | Private | — | |
| 0x08 | m_DistanceTexture | RenderTexture | Private | — | |
| 0x08 | m_bufferVoxel | GraphicsBuffer | Private | — | |
| 0x08 | m_computeShader | ComputeShader | Private | — | |
| 0x04 | m_maxResolution | int | Private | — | |
| 0x04 | m_MaxExtent | float | Private | — | |
| 0x04 | m_SdfOffset | float | Private | — | |
| 0x04 | nTriangles | int | Private | — | |
| 0x0C | m_SizeBox | Vector3 | Private | — | |
| 0x0C | m_Center | Vector3 | Private | — | |
| 0x08 | m_Cmd | CommandBuffer | Private | — | |
| 0x01 | m_OwnsCommandBuffer | bool | Private | — | |
| 0x01 | m_IsDisposed | bool | Private | — | |
| 0x0142 | 0x06 | padding / unreflected | |||
| 0x08 | m_Dimensions | int[] | Private | — | |
| 0x08 | m_OffsetRayMap | int[] | Private | — | |
| 0x08 | m_MinBoundsExtended | float[] | Private | — | |
| 0x08 | m_MaxBoundsExtended | float[] | Private | — | |
| 0x04 | kMaxRecommandedGridSize | uint | Static+1 flags | — | |
| 0x04 | kMaxAbsoluteGridSize | uint | Static+1 flags | — | |
| 0x04 | kNbActualRT | int | PrivateStatic | — | |
| 0x08 | m_RuntimeResources | VFXRuntimeResources | 1 flags | — | |
Functions 44
| Signature | Flags | Native | Params |
|---|---|---|---|
| RenderTexture get_SdfTexture() | Public+1 flags | — | 0x08 |
| void InitMeshFromList(List<UnityEngine.Mesh> meshes, List<UnityEngine.Matrix4x4> transforms) | Private | — | 0x08 |
| void InitCommandBuffer() | Private | — | 0x00 |
| int GetTotalVoxelCount() | Private | — | 0x04 |
| void InitSizeBox() | Private | — | 0x00 |
| Vector3Int GetGridSize() | Public | — | 0x0C |
| Vector3 GetActualBoxSize() | Public | — | 0x0C |
| void .ctor(const Vector3& sizeBox, const Vector3& center, int maxRes, Mesh mesh, int signPassesCount, float threshold, float sdfOffset, CommandBuffer cmd) | Public+1 flags | — | 0x0C |
| void .ctor(const Vector3& sizeBox, const Vector3& center, int maxRes, List<UnityEngine.Mesh> meshes, List<UnityEngine.Matrix4x4> transforms, int signPassesCount, float threshold, float sdfOffset, CommandBuffer cmd) | Public+1 flags | — | 0x0C |
| void Finalize() | 2 flags | — | 0x00 |
| void Reinit(const Vector3& sizeBox, const Vector3& center, int maxRes, Mesh mesh, int signPassesCount, float threshold, float sdfOffset) | Public | — | 0x0C |
| void Reinit(const Vector3& sizeBox, const Vector3& center, int maxRes, List<UnityEngine.Mesh> meshes, List<UnityEngine.Matrix4x4> transforms, int signPassesCount, float threshold, float sdfOffset) | Public | — | 0x0C |
| void InitTextures() | Private | — | 0x00 |
| void Init() | Private | — | 0x00 |
| void UpdateCameras() | Private | — | 0x00 |
| Matrix4x4 ComputeOrthographicWorldToClip(const Vector3& pos, const Quaternion& rot, float width, float height, float near, float far, const Matrix4x4&& proj, const Matrix4x4&& view) | Private | — | 0x40 |
| int iDivUp(int a, int b) | Private | — | 0x04 |
| Vector2Int GetThreadGroupsCount(int nbThreads, int threadCountPerGroup) | Private | — | 0x08 |
| void PrefixSumCount() | Private | — | 0x00 |
| void SurfaceClosing() | Private | — | 0x00 |
| RenderTexture GetTextureVoxelPrincipal(int step) | Private | 0x08 | |
| RenderTexture GetTextureVoxelBis(int step) | Private | 0x08 | |
| void JFA() | Private | 0x00 | |
| void GenerateRayMap() | Private | 0x00 | |
| RenderTexture GetSignMapPrincipal(int step) | Private | 0x08 | |
| RenderTexture GetSignMapBis(int step) | Private | 0x08 | |
| void SignPass() | Private | 0x00 | |
| void BakeSDF() | Public | 0x00 | |
| void InitMeshBuffers() | Private | 0x00 | |
| void FirstDraw() | Private | 0x00 | |
| void SecondDraw() | Private | 0x00 | |
| void BuildGeometry() | Private | 0x00 | |
| void InitGeometryBuffers(int upperBoundCount) | Private | 0x04 | |
| void InitPrefixSumBuffers() | Private | 0x00 | |
| void ClearRenderTexturesAndBuffers() | Private | 0x00 | |
| void PerformDistanceTransformWinding() | Private | 0x00 | |
| RenderTexture get_RayMap() | Private+1 flags | 0x08 | |
| void ReleaseBuffersAndTextures() | Private | 0x00 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| void CreateGraphicsBufferIfNeeded(GraphicsBuffer& gb, int length, int stride) | Private | 0x08 | |
| void ReleaseGraphicsBuffer(GraphicsBuffer& gb) | Private | 0x08 | |
| void CreateRenderTextureIfNeeded(RenderTexture& rt, const RenderTextureDescriptor& rtDesc) | Private | 0x34 | |
| void ReleaseRenderTexture(RenderTexture& rt) | Private | 0x08 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 |