RenderContextBase.DrawQuadWithTextures Method

Draws a Quad with a texture.
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
)
This language is not supported or no code example is available.
public abstract void DrawQuadWithTextures( 
TextureBase texture
float[] texCoords
byte alpha
RectangleF rect
float zCoord
bool buffered 
)
This language is not supported or no code example is available.

Parameters

texture
TextureBase

The texture

texCoords
float[]

The texture coordinates

alpha
byte

The transparency

rect
RectangleF

The rectangle where the Quad is drawn

zCoord
float

Z coordinate of the quad

buffered
bool

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.

.NET Framework

Supported in: 4.8

In this article

Definition