Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / OGLTexture Class / OGLTexture Constructor / OGLTexture Constructor(RenderContextBase,UInt32,UInt32,Boolean,textureFilteringFunctionType,textureFilteringFunctionType)
The rendering context
The texture width
The texture height
if true creates a depth texture
The minification filter function
The magnification filter function

In This Topic
    OGLTexture Constructor(RenderContextBase,UInt32,UInt32,Boolean,textureFilteringFunctionType,textureFilteringFunctionType)
    In This Topic
    Create a texture for rendering.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal context As RenderContextBase, _
       ByVal width As UInteger, _
       ByVal height As UInteger, _
       ByVal depthTexture As Boolean, _
       Optional ByVal minFilterFunc As textureFilteringFunctionType, _
       Optional ByVal magFilterFunc As textureFilteringFunctionType _
    )

    Parameters

    context
    The rendering context
    width
    The texture width
    height
    The texture height
    depthTexture
    if true creates a depth texture
    minFilterFunc
    The minification filter function
    magFilterFunc
    The magnification filter function
    See Also