Texture 2D Format
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
-
Example of a Sample Texture2D UV being used in a larger example code reading 3D and 2D textures.