A game about forced loneliness, made by TACStudios
at master 26 lines 1.0 kB view raw view rendered
1# Texture 2D Array Asset Node 2 3## Description 4 5Defines a constant **Texture 2D Array Asset** for use in the shader. To sample the **Texture 2D Array Asset** it should be used in conjunction with a [Sample Texture 2D Array Node](Sample-Texture-2D-Array-Node.md). When using a separate **Texture 2D Array Asset Node**, you can sample a **Texture 2D Array** twice, with different parameters, without defining the **Texture 2D Array** itself twice. 6 7## Ports 8 9| Name | Direction | Type | Description | 10|:------------ |:-------------|:-----|:---| 11| Out | Output | Texture 2D Array | Output value | 12 13## Controls 14 15| Name | Type | Options | Description | 16|:------------ |:-------------|:-----|:---| 17| | Object Field (Texture 2D Array) | | Defines the texture 2D array asset from the project. | 18 19## Generated Code Example 20 21The following example code represents one possible outcome of this node. 22 23``` 24TEXTURE2D_ARRAY(_Texture2DArrayAsset); 25SAMPLER(sampler_Texture2DArrayAsset); 26```