Name

tex2DARRAYsize - returns the size of a given texture array image for a given level of detail.

Synopsis

int3 tex2DARRAYsize(sampler2DARRAY samp, int lod)
int3 tex2DARRAYsize(isampler2DARRAY samp, int lod)
int3 tex2DARRAYsize(usampler2DARRAY samp, int lod)

Parameters

samp
Sampler to be queried for size.
lod
Level of detail to obtain size.

Description

Given a sampler array and a level of detail the size of one element of the corresponding texture array for a given level of detail is returned as a result of the operation.

Profile Support

tex2DARRAYsize is only supported in gp4 and newer profiles.

See Also

tex2Dsize