Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / OGLTexture Class / Load Method / Load(RenderContextBase,Bitmap,textureFilteringFunctionType,textureFilteringFunctionType,Boolean,Boolean,Boolean,Boolean,Boolean) Method
if true, checks that the texture is power of two and resizes it if it's not.
If true, the image is put in a bigger image (with some empty border, keeping the originla size of image) when the image is not power of two and the hardware does not support it. Else it is resized to a smaller power of two size.

In This Topic
    Load(RenderContextBase,Bitmap,textureFilteringFunctionType,textureFilteringFunctionType,Boolean,Boolean,Boolean,Boolean,Boolean) Method
    In This Topic
    Loads a bitmap in the graphics memory.
    Syntax
    'Declaration
     
    Public Overloads Overrides Sub Load( _
       ByVal renderContext As RenderContextBase, _
       ByVal bitmap As Bitmap, _
       ByVal minFunc As textureFilteringFunctionType, _
       Optional ByVal magFunc As textureFilteringFunctionType, _
       Optional ByVal anisotropicFiltering As Boolean, _
       Optional ByVal repeatX As Boolean, _
       Optional ByVal repeatY As Boolean, _
       Optional ByVal checkPowerOfTwo As Boolean, _
       Optional ByVal enlargeIfSizeNotSupported As Boolean _
    ) 

    Parameters

    renderContext
    bitmap
    minFunc
    magFunc
    anisotropicFiltering
    repeatX
    repeatY
    checkPowerOfTwo
    if true, checks that the texture is power of two and resizes it if it's not.
    enlargeIfSizeNotSupported
    If true, the image is put in a bigger image (with some empty border, keeping the originla size of image) when the image is not power of two and the hardware does not support it. Else it is resized to a smaller power of two size.
    See Also