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 |
NoneTextureType |
Format |
No | The format to use to create the texture. The texture will be usable as a render target. (Render target only) | none |
NoneTextureFormatVar(TextureFormat) |
Resolution |
No | The resolution of the texture to create. (Render target only) | none |
NoneInt2Var(Int2) |
MipLevels |
No | The number of mip levels to create. (Render target only) | none |
NoneIntVar(Int) |
Dimension |
No | The type of texture to create. (Render target only) | none |
NoneTextureDimension |
Addressing |
No | For sampling, sets the address modes. | none |
NoneTextureAddressing[TextureAddressing] |
Filtering |
No | For sampling, sets the filter mode. | none |
NoneTextureFiltering |
Label |
No | Debug label for this object. | none |
StringVar(String)None |
Creates a texture from an image. Or as a render target