Browse Source

Fix cut and paste comment.

aignacio_sf 19 years ago
parent
commit
543b68c0ed
1 changed files with 6 additions and 2 deletions
  1. 6 2
      panda/src/pgraph/stencilAttrib.h

+ 6 - 2
panda/src/pgraph/stencilAttrib.h

@@ -26,8 +26,12 @@ class FactoryParams;
 
 ////////////////////////////////////////////////////////////////////
 //       Class : StencilAttrib
-// Description : Enables or disables writing of pixel to framebuffer
-//               based on its alpha value relative to a reference alpha value
+// Description : A StencilAttrib is a collection of all stencil render
+//               states.  The render states in a StencilAttrib are 
+//               read-only.  A StencilAttrib is created with make or 
+//               make_2_sided.  To determine if two sided stencil is 
+//               supported, call the function GraphicsStateGuardian::
+//               get_supports_two_sided_stencil.
 ////////////////////////////////////////////////////////////////////
 class EXPCL_PANDA StencilAttrib : public RenderAttrib {
 private: