title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | api_location | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
texCUBEproj |
Samples a cube texture using a projective divide; the texture coordinate is divided by t.w before the lookup takes place. |
86bdd1c3-0a8d-4d09-b70d-1ebcee32c866 |
|
|
|
|
reference |
05/31/2018 |
Samples a cube texture using a projective divide; the texture coordinate is divided by t.w before the lookup takes place.
ret texCUBEproj(s, t) |
---|
Item | Description |
---|---|
s |
[in] The sampler state. |
t |
[in] The texture coordinate. |
The value of the texture data.
Name | In/Out | Template Type | Component Type | Size |
---|---|---|---|---|
s | in | object | samplerCUBE | 1 |
t | in | vector | float | 4 |
ret | out | vector | float | 4 |
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 |