Texture2DMS
Texture2DMS type (as it exists in Shader Model 4) plus resource variables.
In this section
Topic | Description |
---|---|
GetDimensions |
Returns the dimensions of the resource. |
GetSamplePosition |
Returns the sample position for the sample index provided. |
Load methods |
Retrieves a value from the resource at the location and sample index provided. |
sample.Operator[][] |
Retrieves a value from the resource at the location and sample index provided. |
Operator[] |
Retrieves a value from the resource at the location provided at sample index 0. |
Minimum Shader Model
This object is supported in the following shader models.
Shader Model | Supported |
---|---|
Shader model 4 and higher | yes |
This object is supported for the following types of shaders:
Vertex | Hull | Domain | Geometry | Pixel | Compute |
---|---|---|---|---|---|
x | x | x | x | x | x |