GLTEXTURETARGETISUN(3gl)GLTEXTURETARGETISUN(3gl)NAMEglSetTextureTargetiSUN - set how many times texture maps will be repli‐
cated in the hardware, or to which pipelines textures should be
assigned.
C SPECIFICATION
void glSetTextureTargetiSUN( GLenum mode,
GLuint param)
PARAMETERS
mode Specifies the texture target mode. The value can be one of
GL_NUM_PIPES_SUN, GL_PIPE_MASK_SUN.
param
Specifies the value associated with the preceeding mode.
DESCRIPTION
When GL_TEXTURE_TARGET_SUN is enabled, glTextureTargetiSUN is used to
indicate how many times texture maps will be replicated in the hard‐
ware, or to which pipelines textures should be assigned. The format
that is used is determined by the mode set by glSetTextureTargetMod‐
eSUN.
The arguments to this function are treated in the following manner:
GL_TEXTURE_TARGET_NUM_PIPES_SUN:
The "param" argument is interpreted as an integer representing the max‐
imum number of hardware pipelines to store the current texture in.
This value must be a power of two greater than zero, and less than the
total number of pipeline availables on the device. glGetInte‐
gerv(GL_TEXTURE_TARGET_MAX_PIPES_SUN) can be used to find out the maxi‐
mum number of pipes. The default is the maximum number of pipes.
GL_TEXTURE_TARGET_PIPE_MASK_SUN:
The "param" argument is treated as a bitmask in this case, indicating
which of the available pipelines are to be used to store the texture.
This value will be bit-wise and'ed by OpenGL with a mask representing
the total available pipelines. If the result of this operation is
zero, then this function is ignored. The default value is (2 ^ (maxi‐
mum number of pipes)) - 1.
ERRORS
GL_INVALID_ENUM is generated if mode is not an accepted value.
GL_INVALID_OPERATION is generated if glTextureTargetiSUN is executed on
any other frame buffer that doesn't support this extension.
GL_INVALID_OPERATION is generated if glTextureTargetiSUN is executed
between the execution of glBegin and the corresponding execution of
glEnd.
Associated Gets
glGetIntegerv with argument GL_TEXTURE_TARGET_NUM_PIPES_SUN
glGetIntegerv with argument GL_TEXTURE_TARGET_PIPE_MASK_SUN
glGetIntegerv with argument GL_TEXTURE_TARGET_MAX_PIPES_SUN
glGetIntegerv with argument GL_TEXTURE_TARGET_MODE_SUN
SEE ALSO
glSetTextureTargetModeSUN
07 Oct 02 GLTEXTURETARGETISUN(3gl)