RenderWindow.Draw Method (Vertex[], UInt32, UInt32, PrimitiveType, RenderStates)

SFML.Net

RenderWindowDraw Method (Vertex, UInt32, UInt32, PrimitiveType, RenderStates)
Draw primitives defined by a sub-array of vertices

Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public void Draw(
	Vertex[] vertices,
	uint start,
	uint count,
	PrimitiveType type,
	RenderStates states
)
Public Sub Draw ( 
	vertices As Vertex(),
	start As UInteger,
	count As UInteger,
	type As PrimitiveType,
	states As RenderStates
)
public:
virtual void Draw(
	array<Vertex>^ vertices, 
	unsigned int start, 
	unsigned int count, 
	PrimitiveType type, 
	RenderStates states
) sealed
abstract Draw : 
        vertices : Vertex[] * 
        start : uint32 * 
        count : uint32 * 
        type : PrimitiveType * 
        states : RenderStates -> unit 
override Draw : 
        vertices : Vertex[] * 
        start : uint32 * 
        count : uint32 * 
        type : PrimitiveType * 
        states : RenderStates -> unit 

Parameters

vertices
Type: SFML.GraphicsVertex
Pointer to the vertices
start
Type: SystemUInt32
Index of the first vertex to use in the array
count
Type: SystemUInt32
Number of vertices to draw
type
Type: SFML.GraphicsPrimitiveType
Type of primitives to draw
states
Type: SFML.GraphicsRenderStates
Render states to use for drawing

Implements

RenderTargetDraw(Vertex, UInt32, UInt32, PrimitiveType, RenderStates)
See Also