texCUBEARRAY

> # NAME

> texCUBEARRAY - performs a texture lookup in a given sampler array may use pre computed derivatives.

> # SYNOPSIS

>       float4 texCUBEARRAY(samplerCUBEARRAY samp, float4 s)
>       float4 texCUBEARRAY(samplerCUBEARRAY samp, float4 s, float3 dx, float3 dy)

>       int4 texCUBEARRAY(isamplerCUBEARRAY samp, float4 s)
>       int4 texCUBEARRAY(isamplerCUBEARRAY samp, float4 s, float3 dx, float3 dy)

>       unsigned int4 texCUBEARRAY(usamplerCUBEARRAY samp, float4 s)
>       unsigned int4 texCUBEARRAY(usamplerCUBEARRAY samp, float4 s, float3 dx, float3 dy)

> # PARAMETERS

> samp

>   Sampler array to look up.

> s

>   Coordinates to perform the lookup. The value used to select the layer is passed immediatelly after the regular coordinates.

> dx

>   Pre computed derivative along the x axis.

> dy

>   Pre computed derivative along the y axis.

> texelOff

>   Offset to be added to obtain the final texel.

> # DESCRIPTION

> Performs a texture lookup in sampler samp using coordinates s, the texture to be sampled is selected from the layer specified in the coordinates. Also may use the derivatives dx and dy, the lookup may use texel offset texelOff to compute the final texel.

> # PROFILE SUPPORT

> texCUBEARRAY is only supported in gp4 and newer profiles.

> # SEE ALSO

> texCUBEARRAYbias, texCUBEARRAYlod