GL_APICALL void GL_APIENTRY glTexSubImage1D(
GLenum target,
GLint level,
GLint xoffset,
GLsizei width,
GLenum format,
GLenum type,
const GLvoid * pixels
);
| Name | Description | |
|---|---|---|
| in | target | Target texture |
| in | level | Mipmap level of the data to load |
| in | xoffset | Number of the first entry to replace |
| in | width | Size of entries in the lookup table |
| in | format | Format of lookup table data |
| in | type | Type of lookup table data |
| in | pixels | Pointer to the lookup table data |
Partially configures lookup table data.
You can set target to GL_LUT_TEXTUREi_DMP. Set i to a value that is greater than or equal to 0 and is at least one less than the value that can be obtained from glGetIntegerv with GL_MAX_LUT_ENTRIES_DMP specified. Specify 0 for level. Set xoffset to the number at which to start replacing entries. Set width to the entry size to replace. Set format to GL_LUMINANCEF_DMP. Set type to GL_FLOAT. The sum of width and xoffset must not be greater than the value obtained from glGetIntegerv with GL_MAX_LUT_ENTRIES_DMP specified. Set pixels to a pointer to the partial lookup table data.
Specify 0 for level.
Set xoffset to the number at which to start replacing entries.
Set width to the entry size to replace.
The sum of width and xoffset must not be greater than the value obtained from glGetIntegerv with GL_MAX_LUT_ENTRIES_DMP specified.
Set format to GL_LUMINANCEF_DMP.
Set type to GL_FLOAT.
Set pixels to a pointer to the partial lookup table data.
This function generates the following errors.
| GL_INVALID_ENUM | The target, format, or type arguments were set to an invalid value. |
|---|---|
| GL_INVALID_VALUE | The level, xoffset, or width argument was set to an invalid value. |
| GL_INVALID_OPERATION | 0 was bound to the lookup table texture target specified by target. |
CONFIDENTIAL