Rechercher une page de manuel
texBUFsize.3Cg
Langue: en
Version: 360817 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
texBUFsize - returns the size of a given texture image for a given level of detail.SYNOPSIS
int3 texBUFsize(samplerBUF samp, int lod)
int3 texBUFsize(isamplerBUF samp, int lod)
int3 texBUFsize(usamplerBUF 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 (width in x, height in y, and depth in z) of the corresponding texture buffer is returned as the result of the operation.Because texture buffers lack mipmaps, the lod parameter is unused.
Texture buffer samplers are created with the EXT_texture_buffer_object extension. See:
http://developer.download.nvidia.com/opengl/specs/GL_EXT_texture_buffer_object.txtTexture buffer object samplers roughly correspond to the tbuffer functionality of DirectX 10.
PROFILE SUPPORT
texBUF is supported in gp4vp, gp4gp, and gp4fp profiles.SEE ALSO
tex1Dsize, texBUFContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre