implements IStylePainter
0x00x0128
Members 22
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_Owner | RenderChain | Private | — | |
| 0x08 | m_Entries | List<UnityEngine.UIElements.UIR.Implementation.UIRStylePainter.Entry> | Private | — | |
| 0x08 | m_Atlas | AtlasBase | Private | — | |
| 0x08 | m_VectorImageManager | VectorImageManager | Private | — | |
| 0x50 | m_CurrentEntry | Entry | Private | — | |
| 0x38 | m_ClosingInfo | ClosingInfo | Private | — | |
| 0x04 | m_MaskDepth | int | Private | — | |
| 0x04 | m_StencilRef | int | Private | — | |
| 0x08 | m_ClipRectID | BMPAlloc | Private | — | |
| 0x04 | m_SVGBackgroundEntryIndex | int | Private | — | |
| 0x00CC | 0x04 | padding / unreflected | |||
| 0x08 | m_VertsPool | TempAllocator<UnityEngine.UIElements.Vertex> | Private | — | |
| 0x08 | m_IndicesPool | TempAllocator<System.UInt16> | Private | — | |
| 0x08 | m_MeshWriteDataPool | List<UnityEngine.UIElements.MeshWriteData> | Private | — | |
| 0x04 | m_NextMeshWriteDataPoolItem | int | Private | — | |
| 0x00EC | 0x04 | padding / unreflected | |||
| 0x08 | m_RepeatRectUVList | List<UnityEngine.UIElements.UIR.Implementation.UIRStylePainter.RepeatRectUV>[] | Private | — | |
| 0x08 | m_AllocRawVertsIndicesDelegate | Allocator | Private | — | |
| 0x08 | m_AllocThroughDrawMeshDelegate | Allocator | Private | — | |
| 0x08 | <meshGenerationContext>k__BackingField | MeshGenerationContext | Private+1 flags | — | |
| 0x08 | <currentElement>k__BackingField | VisualElement | Private | — | |
| 0x04 | <totalVertices>k__BackingField | int | Private | — | |
| 0x04 | <totalIndices>k__BackingField | int | Private | — | |
| 0x08 | m_TextInfo | TextInfo | Private | — | |
Functions 40
| Signature | Flags | Native | Params |
|---|---|---|---|
| MeshWriteData GetPooledMeshWriteData() | Private | 0x08 | |
| MeshWriteData AllocRawVertsIndices(uint vertexCount, uint indexCount, ref AllocMeshData& allocatorData) | Private | 0x30 | |
| MeshWriteData AllocThroughDrawMesh(uint vertexCount, uint indexCount, ref AllocMeshData& allocatorData) | Private | 0x30 | |
| void .ctor(RenderChain renderChain) | Public+1 flags | 0x08 | |
| MeshGenerationContext get_meshGenerationContext() | Public+1 flags | 0x08 | |
| VisualElement get_currentElement() | Public+1 flags | 0x08 | |
| void set_currentElement(VisualElement value) | Private+1 flags | 0x08 | |
| List<UnityEngine.UIElements.UIR.Implementation.UIRStylePainter.Entry> get_entries() | Public+1 flags | 0x08 | |
| ClosingInfo get_closingInfo() | Public+1 flags | 0x38 | |
| int get_totalVertices() | Public+1 flags | 0x04 | |
| void set_totalVertices(int value) | Private+1 flags | 0x04 | |
| int get_totalIndices() | Public+1 flags | 0x04 | |
| void set_totalIndices(int value) | Private+1 flags | 0x04 | |
| void Begin(VisualElement ve) | Public | 0x08 | |
| void LandClipUnregisterMeshDrawCommand(RenderChainCommand cmd) | Public | 0x08 | |
| void LandClipRegisterMesh(const NativeSlice<UnityEngine.UIElements.Vertex>& vertices, const NativeSlice<System.UInt16>& indices, int indexOffset) | Public | 0x10 | |
| MeshWriteData DrawMesh(int vertexCount, int indexCount, Texture texture, Material material, const MeshFlags& flags) | PublicFinal+2 flags | 0x08 | |
| void TryAtlasTexture(Texture texture, const MeshFlags& flags, ref Rect& outUVRegion, ref bool& outIsAtlas, ref TextureId& outTextureId, ref VertexFlags& outAddFlags) | 1 flags | 0x10 | |
| void BuildEntryFromNativeMesh(const MeshWriteDataInterface& meshData, Texture texture, const TextureId& textureId, bool isAtlas, Material material, const MeshFlags& flags, const Rect& uvRegion, const VertexFlags& addFlags) | 1 flags | 0x18 | |
| void BuildGradientEntryFromNativeMesh(const MeshWriteDataInterface& meshData, const TextureId& svgTextureId) | 1 flags | 0x18 | |
| void BuildRawEntryFromNativeMesh(const MeshWriteDataInterface& meshData) | Public | 0x18 | |
| void DrawText(TextElement te) | PublicFinal+2 flags | 0x08 | |
| void DrawTextInfo(TextInfo textInfo, const Vector2& offset, bool useHints) | Private | 0x08 | |
| void DrawRectangle(const RectangleParams& rectParams) | PublicFinal+2 flags | 0x130 | |
| void DrawBorder(const BorderParams& borderParams) | PublicFinal+2 flags | 0xB8 | |
| void DrawImmediate(Action callback, bool cullingEnabled) | PublicFinal+2 flags | 0x08 | |
| VisualElement get_visualElement() | PublicFinal+3 flags | 0x08 | |
| void DrawVisualElementBackground() | Public | 0x00 | |
| void DrawRectangleRepeat(const RectangleParams& rectParams, const Rect& totalRect, float scaledPixelsPerPoint) | Private | 0x130 | |
| void StampRectangleWithSubRect(const RectangleParams& rectParams, const Rect& targetRect, const Rect& totalRect, const Rect& targetUV) | Private | 0x130 | |
| void DrawVisualElementBorder() | Public | 0x00 | |
| void ApplyVisualElementClipping() | Public | 0x00 | |
| ushort[] AdjustSpriteWinding(const Vector2[]& vertices, const ushort[]& indices) | Private | 0x08 | |
| void DrawSprite(const RectangleParams& rectParams) | Public | 0x130 | |
| void DrawVectorImage(const RectangleParams& rectParams) | Public | 0x130 | |
| void MakeVectorGraphics(const RectangleParams& rectParams, bool isUsingGradients, const TextureId& svgTexture, int settingIndexOffset, ref int& finalVertexCount, ref int& finalIndexCount) | Private | 0x130 | |
| void Reset() | 1 flags | 0x00 | |
| void ValidateMeshWriteData() | Private | 0x00 | |
| void GenerateStencilClipEntryForRoundedRectBackground() | Private | 0x00 | |
| void GenerateStencilClipEntryForSVGBackground() | Private | 0x00 |