TextureCubeArray object

TextureCubeArray type (as it exists in Shader Model 4) plus resource variables. This texture object supports these methods in addition to the methods in Shader Model 4.

Methods

The TextureCubeArray object has these methods.

Method Description
Gather Returns the four texel values that would be used in a bi-linear filtering operation.
GatherAlpha Returns the alpha components of the four texel values that would be used in a bi-linear filtering operation.
GatherBlue Returns the blue components of the four texel values that would be used in a bi-linear filtering operation.
GatherCmp For four texel values that would be used in a bi-linear filtering operation, returns their comparison against a compare value.
GatherCmpAlpha For four texel values that would be used in a bi-linear filtering operation, returns a comparison of their alpha component against a compare value.
GatherCmpBlue For four texel values that would be used in a bi-linear filtering operation, returns a comparison of their blue component against a compare value.
GatherCmpGreen For four texel values that would be used in a bi-linear filtering operation, returns a comparison of their green component against a compare value.
GatherCmpRed For four texel values that would be used in a bi-linear filtering operation, returns a comparison of their red component against a compare value.
GatherGreen Returns the green components of the four texel values that would be used in a bi-linear filtering operation.
GatherRed Returns the red components of the four texel values that would be used in a bi-linear filtering operation.
Sample Samples a texture.
SampleBias Samples a texture, after applying the bias value to the mipmap level.
SampleCmp Samples a texture, using a comparison value to reject samples.
SampleCmpLevelZero Samples a texture (mipmap level 0 only), using a comparison value to reject samples.
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.

Remarks

Minimum Shader Model

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

See also

Shader Model 5 Objects