Specify a two-dimensional texture subimage.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void TexSubImage2D(
uint target,
int level,
int xoffset,
int yoffset,
int width,
int height,
uint format,
uint type,
int[] pixels
)
参数
- target
- 类型:SystemUInt32
Specifies the target texture. Must be OpenGL.TEXTURE_1D. - level
- 类型:SystemInt32
Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. - xoffset
- 类型:SystemInt32
Specifies a texel offset in the x direction within the texture array. - yoffset
- 类型:SystemInt32
Specifies a texel offset in the y direction within the texture array. - width
- 类型:SystemInt32
Specifies the width of the texture subimage. - height
- 类型:SystemInt32
Specifies the height of the texture subimage. - format
- 类型:SystemUInt32
Specifies the format of the pixel data. - type
- 类型:SystemUInt32
Specifies the data type of the pixel data. - pixels
- 类型:SystemInt32
Specifies a pointer to the image data in memory.
参见