Updates the data in a 2D texture.
Namespace:
Internal.SharpBgfx
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public void Update2D(
int arrayLayer,
int mipLevel,
int x,
int y,
int width,
int height,
MemoryBlock memory,
int pitch
)
Parameters
- arrayLayer
- Type: SystemInt32
The layer in a texture array to update. - mipLevel
- Type: SystemInt32
The mip level. - x
- Type: SystemInt32
The X coordinate of the rectangle to update. - y
- Type: SystemInt32
The Y coordinate of the rectangle to update. - width
- Type: SystemInt32
The width of the rectangle to update. - height
- Type: SystemInt32
The height of the rectangle to update. - memory
- Type: Internal.SharpBgfxMemoryBlock
The new image data. - pitch
- Type: SystemInt32
The pitch of the image data.
See Also