2D texture lookup with LOD.
| ret tex2Dlod(s, t) |
|---|
Where:
| Name | In/Out | Template Type | Component Type | Size |
|---|---|---|---|---|
| s | in | object | sampler2D | 1 |
| t | in | vector | float | 4 |
| ret | out | vector | float | 4 |
The mipmap LOD is specified in t.w.
This intrinsic function is supported in the following (or later) shader versions:
| Vertex Shader | Pixel Shader |
|---|---|
| n/a | ps_3_0 |