GFX.Texture¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of the shard, if any | Image None Any |
||
Output ➡️ |
The resulting output of the shard | GFX.Texture2D GFX.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 |
TextureFormat Var(TextureFormat) |
Resolution |
No | The resolution of the texture to create. (Render target only) | none |
Int2 Var(Int2) |
MipLevels |
No | The number of mip levels to create. (Render target only) | none |
Int Var(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 |
String Var(String) None |
Creates a texture from an image. Or as a render target