Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Graphics Namespace / RenderContextBase Class / DrawQuadWithTextures Method
The texture
The texture coordinates
The transparency
The rectangle where the Quad is drawn
Z coordinate of the quad
If true, updates the graphics only after a certain number of calls. This is used to draw many quads with the same texture minimizing the overload of updating the graphics card each time.

In This Topic
    DrawQuadWithTextures Method (RenderContextBase)
    In This Topic
    Draws a Quad with a texture.
    Syntax
    'Declaration
     
    Public MustOverride Sub DrawQuadWithTextures( _
       ByVal texture As TextureBase, _
       ByVal texCoords() As Single, _
       ByVal alpha As Byte, _
       ByVal rect As RectangleF, _
       ByVal zCoord As Single, _
       ByVal buffered As Boolean _
    ) 
    public abstract void DrawQuadWithTextures( 
       TextureBase texture,
       float[] texCoords,
       byte alpha,
       RectangleF rect,
       float zCoord,
       bool buffered
    )

    Parameters

    texture
    The texture
    texCoords
    The texture coordinates
    alpha
    The transparency
    rect
    The rectangle where the Quad is drawn
    zCoord
    Z coordinate of the quad
    buffered
    If true, updates the graphics only after a certain number of calls. This is used to draw many quads with the same texture minimizing the overload of updating the graphics card each time.
    See Also