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