Project

General

Profile

« Previous | Next » 

Revision ad16ed3b

Added by Leszek Koltunski about 7 years ago

Progress with Stencil App; should be working now AFAIK but doesn't.

View differences:

src/main/java/org/distorted/library/DistortedNode.java
685 685
    return mData.mFBO;
686 686
    }
687 687

  
688

  
688
///////////////////////////////////////////////////////////////////////////////////////////////////
689
// APIs that control how to set the OpenGL state just before rendering this Node.
689 690
///////////////////////////////////////////////////////////////////////////////////////////////////
690 691
/**
691 692
 * When rendering this Node, use ColorMask (r,g,b,a).
......
807 808
    {
808 809
    mState.glBlendFunc(src,dst);
809 810
    }
811

  
812
///////////////////////////////////////////////////////////////////////////////////////////////////
813
/**
814
 * Before rendering this Node, clear the following buffers.
815
 * <p>
816
 * Valid values: 0, or bitwise OR of one or more values from the set GL_COLOR_BUFFER_BIT,
817
 *               GL_DEPTH_BUFFER_BIT, GL_STENCIL_BUFFER_BIT.
818
 * Default: 0
819
 *
820
 * @param mask bitwise OR of BUFFER_BITs to clear.
821
 */
822
  @SuppressWarnings("unused")
823
  public void glClear(int mask)
824
    {
825
    mState.glClear(mask);
826
    }
810 827
  }

Also available in: Unified diff