DrawQuadWithTextures Method (RenderContextBase)
In This Topic
Draws a Quad with a texture.
Syntax
'Declaration
Public MustOverride Sub DrawQuadWithTextures( _
ByVal As TextureBase, _
ByVal () As Single, _
ByVal As Byte, _
ByVal As RectangleF, _
ByVal As Single, _
ByVal As Boolean _
)
public abstract void DrawQuadWithTextures(
TextureBase ,
float[] ,
byte ,
RectangleF ,
float ,
bool
)
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