ProtoFlux:Texture2D Format

From Resonite Wiki
Revision as of 20:59, 19 February 2024 by 989onan (talk | contribs) (fix example)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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