mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
add clear_cached_state
This commit is contained in:
parent
fead331673
commit
88baa467d0
@ -157,6 +157,8 @@ public:
|
||||
// coordinate space differently.
|
||||
virtual float compute_distance_to(const LPoint3f &point) const=0;
|
||||
|
||||
INLINE void clear_cached_state(void) { _state.clear(); };
|
||||
|
||||
protected:
|
||||
virtual PT(SavedFrameBuffer) save_frame_buffer(const RenderBuffer &buffer,
|
||||
CPT(DisplayRegion) dr)=0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user