Add Nodes/Image/GetDimensions

Chromum 2025-05-09 11:13:18 +00:00
parent ab0a11afe5
commit 3b9410e119

@ -0,0 +1,36 @@
# Texture Get Dimensions
---
## 🔌 INPUT PORTS
| Name | Type | Description |
|-----------------|-------------|-----------------------------------------------------|
| `inputTexture` | `ImageData` | The input texture data from which the dimensions are extracted. |
---
## 📤 EXPORT PORTS
| Name | Type | Description |
|-----------------|--------|-------------------------------------------------|
| `Width` | `int` | The width of the input texture. |
| `Height` | `int` | The height of the input texture. |
---
## 📝 DESCRIPTION
The **Texture Get Dimensions** node extracts the dimensions (width and height) of an input texture. This node is used to retrieve the size of a texture asset for further processing or adjustments in the image processing graph.
This node is derived from [`BaseImageNode`](Nodes/BaseImageNode).
---
## ⚠️ KNOWN ISSUES
- The node assumes that the input texture is valid. If the texture is null or invalid, the dimensions may not be accurately retrieved.
---