OpenGLCopyTexSubImage2D 方法 |
Copy a two-dimensional texture subimage.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void CopyTexSubImage2D(
uint target,
int level,
int xoffset,
int yoffset,
int x,
int y,
int width,
int height
)
参数
- target
- 类型:SystemUInt32
Specifies the target texture. Must be OpenGL.TEXTURE_2D. - 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 the texel offset within the texture array. - yoffset
- 类型:SystemInt32
Specifies the texel offset within the texture array. - x
- 类型:SystemInt32
Specify the window coordinates of the left corner of the row of pixels to be copied. - y
- 类型:SystemInt32
Specify the window coordinates of the left corner of the row of pixels to be copied. - width
- 类型:SystemInt32
Specifies the width of the texture image. - height
- 类型:SystemInt32
Specifies the height of the texture image.
参见