ProtoFlux:Texture2DFormat: Difference between revisions

From Resonite Wiki
Create Texture2D Format ProtoFlux Node Page
 
m YoshBot moved page ProtoFlux:Texture2D Format to ProtoFlux:Texture2DFormat: Automated: removing spaces from ProtoFlux namespace
 
(One intermediate revision by one other user not shown)
Line 38: Line 38:
== Examples ==
== Examples ==
<gallery widths=480px heights=480px>
<gallery widths=480px heights=480px>
File:Protoflux_texture_asset_parsing.webp|Example of a Sample Texture2D UV being used in a larger example code reading 3D and 2D textures.
File:Protoflux_texture_asset_parsing.webp|Example of a Texture2D Format being used in a larger example code reading 3D and 2D textures.
</gallery>
</gallery>


[[Category:ProtoFlux:Assets]]
[[Category:ProtoFlux:Assets]]

Latest revision as of 00:36, 21 August 2025

Texture 2D Format
Texture
Size
Format
MipMapCount
Assets

Texture 2D Format is a ProtoFlux node that returns some of the MetaData associated with a StaticTexture2D Component.

Inputs

Texture (IAsset`1<Texture2D>)

The texture to read the metadata for.

Outputs

Size (int2)

The size of the texture in pixels.

Format (TextureFormat)

The TextureFormat the texture is in.

MipMapCount (int)

How many mipmap levels this texture has.

Examples