// Filename: glTextureContext_src.I // Created by: drose (07Oct99) // //////////////////////////////////////////////////////////////////// // // 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." // //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // Function: CLP(TextureContext)::Constructor // Access: Public // Description: //////////////////////////////////////////////////////////////////// INLINE CLP(TextureContext):: CLP(TextureContext)(PreparedGraphicsObjects *pgo, Texture *tex) : TextureContext(pgo, tex) { _index = 0; _already_applied = false; _uses_mipmaps = false; _internal_format = 0; _width = 0; _height = 0; _depth = 0; }