title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | api_location | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Texture3D |
Texture3D |
a3640aac-b503-4716-8bc6-105e96bea03c |
|
|
|
|
reference |
05/31/2018 |
Texture3D type (as it exists in Shader Model 4) plus resource variables. This texture object supports the following methods in addition to the methods in Shader Model 4.
Method | Description |
---|---|
GetDimensions | Gets the resource dimensions. |
Load | Reads texture data. |
mips.Operator[][] | Gets a read-only resource variable. |
Operator[] | Gets a read-only resource variable. |
Sample | Samples a texture. |
SampleBias | Samples a texture, after applying the bias value to the mipmap level. |
SampleGrad | Samples a texture using a gradient to influence the way the sample location is calculated. |
SampleLevel | Samples a texture on the specified mipmap level. |
This object is supported in the following shader models.
Shader Model | Supported |
---|---|
Shader Model 5 and higher shader models | yes |
This object is supported for the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x | x | x | x | x |