lib.dx11.tex.GetTextureSize - tooll3/t3 GitHub Wiki

GetTextureSize

in lib.dx11.tex


Returns the dimensions (resolution) of the connected texture in pixels.

It can also check if the texture is valid or undefined (i.e., Null).


Input Parameters

Name (Relevancy & Type) Description
Texture (Texture2DRequired) -
OverrideSize (Int2) -

Outputs

Name Type
Size T3.Core.DataTypes.Vector.Int2
SizeFloat System.Numerics.Vector2
TotalSize System.Int32
IsTextureValid System.Boolean

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️