historical/toontown-classic.git/panda/include/glBufferContext_src.I

27 lines
666 B
Text
Raw Normal View History

2024-01-16 11:20:27 -06:00
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file glBufferContext_src.I
* @author rdb
* @date 2016-12-12
*/
/**
*
*/
INLINE CLP(BufferContext)::
CLP(BufferContext)(CLP(GraphicsStateGuardian) *glgsg,
PreparedGraphicsObjects *pgo,
TypedWritableReferenceCount *object) :
BufferContext(&pgo->_sbuffer_residency, object),
AdaptiveLruPage(0),
_glgsg(glgsg)
{
_index = 0;
}