tex3Dsize
Keywords: tex3Dsize, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> tex3Dsize - returns the size of a given texture image for a given level of detail.

> ## Synopsis

>     int3 tex3Dsize(sampler3D samp, int lod)
>     int3 tex3Dsize(isampler3D samp, int lod)
>     int3 tex3Dsize(usampler3D samp, int lod)

> ## Parameters

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

> ## Description

> Given a sampler and a level of detail the size of the corresponding texture image is returned as the result of the operation.

> ## Profile Support

> tex3Dsize is only supported in gp4 and newer profiles.

> ## See Also

> tex3D