ProtoFlux:Texture2D Format

From Resonite Wiki
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