Draw specified index range of part of a mesh using the current context state.

Parameters:

ism

mesh object to render

primitiveIndex

for meshes that contain multiple primitive groups this parameter specifies the index of the group to draw.

start

starting index in the range

len

number of indices to draw

void rsgDrawQuad

(

float

x1,

float

y1,

float

z1,

float

x2,

float

y2,

float

z2,

float

x3,

float

y3,

float

z3,

float

x4,

float

y4,

float

z4

)

Low performance utility function for drawing a simple quad. Not intended for drawing large quantities of geometry.

Parameters:

x1

y1

z1

x2

y2

z2

x3

y3

z3

x4

y4

z4

void rsgDrawQuadTexCoords

(

float

x1,

float

y1,

float

z1,

float

u1,

float

v1,

float

x2,

float

y2,

float

z2,

float

u2,

float

v2,

float

x3,

float

y3,

float

z3,

float

u3,

float

v3,

float

x4,

float

y4,

float

z4,

float

u4,

float

v4

)

Low performance utility function for drawing a textured quad. Not intended for drawing large quantities of geometry.

Parameters:

x1

y1

z1

u1

v1

x2

y2

z2

u2

v2

x3

y3

z3

u3

v3

x4

y4

z4

u4

v4

void rsgDrawRect

(

float

x1,

float

y1,

float

x2,

float

y2,

float

z

)

Low performance utility function for drawing a simple rectangle. Not intended for drawing large quantities of geometry.

Parameters:

x1

y1

x2

y2

z

void rsgDrawSpriteScreenspace

(

float

x,

float

y,

float

z,

float

w,

float

h

)

Low performance function for drawing rectangles in screenspace. This function uses the default passthough ProgramVertex. Any bound ProgramVertex is ignored. This function has considerable overhead and should not be used for drawing in shipping applications.