Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / D3DTexture2D Class / D3DTexture2D Constructor / D3DTexture2D Constructor(RenderContextBase,Bitmap,textureFilteringFunctionType,textureFilteringFunctionType,Boolean,Boolean,Boolean)
The render context
The image
Minification function
Magnification 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

In This Topic
    D3DTexture2D Constructor(RenderContextBase,Bitmap,textureFilteringFunctionType,textureFilteringFunctionType,Boolean,Boolean,Boolean)
    In This Topic
    Creates a 2D texture.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal renderContext As RenderContextBase, _
       ByVal bmp As Bitmap, _
       ByVal minFunc As textureFilteringFunctionType, _
       ByVal magFunc As textureFilteringFunctionType, _
       ByVal anisotropicFiltering As Boolean, _
       Optional ByVal repeatX As Boolean, _
       Optional ByVal repeatY As Boolean _
    )

    Parameters

    renderContext
    The render context
    bmp
    The image
    minFunc
    Minification function
    magFunc
    Magnification 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

    Return Value

    See Also