GFX.Texture¶
| Name | Mandatory | Description | Default | Type | 
|---|---|---|---|---|
| ⬅️ Input | The input of the shard, if any | ImageNoneAny | ||
| Output ➡️ | The resulting output of the shard | GFX.Texture2DGFX.TextureCube | ||
| InterpretAs | No | Type to interpret image data as. (From image only, Default: UNormSRGB for RGBA8 images, UNorm for other formats) | none | TextureType | 
| Format | No | The format to use to create the texture. The texture will be usable as a render target. (Render target only) | none | TextureFormatVar(TextureFormat) | 
| Resolution | No | The resolution of the texture to create. (Render target only) | none | Int2Var(Int2) | 
| MipLevels | No | The number of mip levels to create. (Render target only) | none | IntVar(Int) | 
| Dimension | No | The type of texture to create. (Render target only) | none | TextureDimension | 
| Addressing | No | For sampling, sets the address modes. | none | TextureAddressing[TextureAddressing] | 
| Filtering | No | For sampling, sets the filter mode. | none | TextureFiltering | 
| Label | No | Debug label for this object. | none | StringVar(String)None | 
Creates a texture from an image. Or as a render target