Panda3D
samplerContext.I
1 // Filename: samplerContext.I
2 // Created by: rdb (11Dec14)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: SamplerContext::Constructor
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE SamplerContext::
22 SamplerContext(const SamplerState &sampler) :
23  SimpleLruPage(1)
24 {
25 }
One atomic piece that may be managed by a SimpleLru chain.
Definition: simpleLru.h:70
Represents a set of settings that indicate how a texture is sampled.
Definition: samplerState.h:39