Eyeshot 10 WPF API Reference
UpdateRegion Method (TextureBase)

WPF Assembly > devDept.Graphics Namespace > TextureBase 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 MustOverride Sub UpdateRegion( _
   ByVal renderContext As RenderContextBase, _
   ByVal bitmap As Bitmap, _
   ByVal xOffset As Integer, _
   ByVal yOffset As Integer _
) 
public abstract 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

TextureBase Class
TextureBase Members