Lines Matching refs:m_ShapeVertexCount
37 m_ShapeVertexCount( 0 ), in GraphicsDrawing()
201 m_ShapeVertexCount = 0; in BeginDrawingShape()
220 m_ShapeIndexStream.drawVtxNum = m_ShapeVertexCount; in EndDrawingShape()
222 u32 shapePositionStreamArraySize = 2 * 4 * m_ShapeVertexCount; in EndDrawingShape()
223 u32 shapeColorStreamArraySize = 4 * 4 * m_ShapeVertexCount; in EndDrawingShape()
224 u32 shapeIndexStreamArraySize = 2 * m_ShapeVertexCount; in EndDrawingShape()
242 m_ShapeVertexCount = 0; in EndDrawingShape()
250 NW_ASSERT( ( m_ShapeVertexCount + SHAPE_DRAW_LINE_VERTEX_COUNT ) <= m_MaxShapeVertexCount ); in DrawLine()
252 … count = this->BuildLine( p1, p2, m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount ] ); in DrawLine()
254 u32 index = 4 * m_ShapeVertexCount; in DrawLine()
257 m_ShapeVertexCount += count; in DrawLine()
264 … NW_ASSERT( ( m_ShapeVertexCount + SHAPE_DRAW_RECTANGLE_VERTEX_COUNT ) <= m_MaxShapeVertexCount ); in DrawRectangle()
269 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
273 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
276 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
279 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
281 u32 index = 4 * m_ShapeVertexCount; in DrawRectangle()
284 m_ShapeVertexCount += count; in DrawRectangle()
291 … NW_ASSERT( ( m_ShapeVertexCount + SHAPE_FILL_RECTANGLE_VERTEX_COUNT ) <= m_MaxShapeVertexCount ); in FillRectangle()
293 s32 count = this->BuildRectangle(pos, size, &m_ShapePositionStreamArray[ m_ShapeVertexCount ]); in FillRectangle()
295 u32 index = 4 * m_ShapeVertexCount; in FillRectangle()
298 m_ShapeVertexCount += count; in FillRectangle()
305 NW_ASSERT( ( m_ShapeVertexCount + SHAPE_FILL_TRIANGLE_VERTEX_COUNT ) <= m_MaxShapeVertexCount ); in FillTriangle()
307 …s32 count = this->BuildTriangle( pt1, pt2, pt3, &m_ShapePositionStreamArray[ m_ShapeVertexCount ] … in FillTriangle()
309 u32 index = 4 * m_ShapeVertexCount; in FillTriangle()
312 m_ShapeVertexCount += count; in FillTriangle()
322 NW_ASSERT( ( m_ShapeVertexCount + pointCount ) <= m_MaxShapeVertexCount ); in FillTriangles()
325 std::memcpy( &m_ShapePositionStreamArray[ m_ShapeVertexCount ], in FillTriangles()
328 u32 index = 4 * m_ShapeVertexCount; in FillTriangles()
331 m_ShapeVertexCount += pointCount; in FillTriangles()