Eyeshot 10 WinForms API Reference
UpdateRegion Method (OGLTextureBase)

WinForms Assembly > devDept.Graphics Namespace > OGLTextureBase Class : UpdateRegion Method
The render context
The region of the image to update
The texel offset in the x direction (0,0 being the bottom-left corner)
The texel offset in the y direction (0,0 being the bottom-left corner)
Updates a region of a texture already loaded in memory.
Syntax
'Declaration
 
Public Overrides Sub UpdateRegion( _
   ByVal renderContext As RenderContextBase, _
   ByVal bitmap As Bitmap, _
   ByVal xOffset As Integer, _
   ByVal yOffset As Integer _
) 
public override void UpdateRegion( 
   RenderContextBase renderContext,
   Bitmap bitmap,
   int xOffset,
   int yOffset
)

Parameters

renderContext
The render context
bitmap
The region of the image to update
xOffset
The texel offset in the x direction (0,0 being the bottom-left corner)
yOffset
The texel offset in the y direction (0,0 being the bottom-left corner)
See Also

Reference

OGLTextureBase Class
OGLTextureBase Members