Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Samples a 3D texture using a projective divide; the texture coordinate is divided by t.w before the lookup takes place.
| ret tex3Dproj(s, t) |
|---|
Parameters
| Item | Description |
|---|---|
| s |
[in] The sampler state. |
| t |
[in] The texture coordinate. |
Return Value
The value of the texture data.
Type Description
| Name | In/Out | Template Type | Component Type | Size |
|---|---|---|---|---|
| s | in | object | sampler3D | 1 |
| t | in | vector | float | 4 |
| ret | out | vector | float | 4 |
Minimum Shader Model
This function is supported in the following shader models.
| Shader Model | Supported |
|---|---|
| Shader Model 4 | yes (pixel shader only) |
| Shader Model 3 (DirectX HLSL) | yes (pixel shader only) |
| Shader Model 2 (DirectX HLSL) | yes (pixel shader only) |
| Shader Model 1 (DirectX HLSL) | no |