Lines Matching refs:m_ShapeVertexCount

35    m_ShapeVertexCount( 0 ),  in GraphicsDrawing()
199 m_ShapeVertexCount = 0; in BeginDrawingShape()
218 m_ShapeIndexStream.drawVtxNum = m_ShapeVertexCount; in EndDrawingShape()
220 u32 shapePositionStreamArraySize = 2 * 4 * m_ShapeVertexCount; in EndDrawingShape()
221 u32 shapeColorStreamArraySize = 4 * 4 * m_ShapeVertexCount; in EndDrawingShape()
222 u32 shapeIndexStreamArraySize = 2 * m_ShapeVertexCount; in EndDrawingShape()
240 m_ShapeVertexCount = 0; in EndDrawingShape()
248 NW_ASSERT( ( m_ShapeVertexCount + SHAPE_DRAW_LINE_VERTEX_COUNT ) <= m_MaxShapeVertexCount ); in DrawLine()
250 … count = this->BuildLine( p1, p2, m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount ] ); in DrawLine()
252 u32 index = 4 * m_ShapeVertexCount; in DrawLine()
255 m_ShapeVertexCount += count; in DrawLine()
262 … NW_ASSERT( ( m_ShapeVertexCount + SHAPE_DRAW_RECTANGLE_VERTEX_COUNT ) <= m_MaxShapeVertexCount ); in DrawRectangle()
267 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
271 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
274 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
277 m_LineWidth, &m_ShapePositionStreamArray[ m_ShapeVertexCount + count ] ); in DrawRectangle()
279 u32 index = 4 * m_ShapeVertexCount; in DrawRectangle()
282 m_ShapeVertexCount += count; in DrawRectangle()
289 … NW_ASSERT( ( m_ShapeVertexCount + SHAPE_FILL_RECTANGLE_VERTEX_COUNT ) <= m_MaxShapeVertexCount ); in FillRectangle()
291 s32 count = this->BuildRectangle(pos, size, &m_ShapePositionStreamArray[ m_ShapeVertexCount ]); in FillRectangle()
293 u32 index = 4 * m_ShapeVertexCount; in FillRectangle()
296 m_ShapeVertexCount += count; in FillRectangle()
303 NW_ASSERT( ( m_ShapeVertexCount + SHAPE_FILL_TRIANGLE_VERTEX_COUNT ) <= m_MaxShapeVertexCount ); in FillTriangle()
305 …s32 count = this->BuildTriangle( pt1, pt2, pt3, &m_ShapePositionStreamArray[ m_ShapeVertexCount ] … in FillTriangle()
307 u32 index = 4 * m_ShapeVertexCount; in FillTriangle()
310 m_ShapeVertexCount += count; in FillTriangle()
320 NW_ASSERT( ( m_ShapeVertexCount + pointCount ) <= m_MaxShapeVertexCount ); in FillTriangles()
323 std::memcpy( &m_ShapePositionStreamArray[ m_ShapeVertexCount ], in FillTriangles()
326 u32 index = 4 * m_ShapeVertexCount; in FillTriangles()
329 m_ShapeVertexCount += pointCount; in FillTriangles()