Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / TextureBase Class / Load Method / Load(RenderContextBase,Bitmap,textureFilteringFunctionType,textureFilteringFunctionType,Boolean,Boolean,Boolean,Boolean,Boolean) Method
The render context
The image
Minifying function
Magnifying function
If true, enables anisotropic filtering for mipmapping
If true, the texture is repeated in the X direction
If true, the texture is repeated in the Y direction
If true, checks that the image size is power of two
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 the texture
    Syntax
    'Declaration
     
    Public Overloads MustOverride 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
    The render context
    bitmap
    The image
    minFunc
    Minifying function
    magFunc
    Magnifying function
    anisotropicFiltering
    If true, enables anisotropic filtering for mipmapping
    repeatX
    If true, the texture is repeated in the X direction
    repeatY
    If true, the texture is repeated in the Y direction
    checkPowerOfTwo
    If true, checks that the image size is power of two
    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