Class GraphShape

    • Constructor Detail

      • GraphShape

        public GraphShape​(int renderModes)
        Create a Graph based GLRegion UI Shape.
        Parameters:
        renderModes - Graph's Region render modes, see create(..).
    • Method Detail

      • getRenderModes

        public final int getRenderModes()
        Return Graph's Region render modes, see create(..).
      • setTextureUnit

        public void setTextureUnit​(int pass2TexUnit)
        Set the 2nd pass texture unit.
      • getQuality

        public final int getQuality()
        Return the shape's Graph Region's quality parameter.
        See Also:
        setQuality(int)
      • hasColorChannel

        public boolean hasColorChannel()
        Description copied from class: Shape
        Returns true if implementation uses an extra color channel or texture which will be modulated with the passed rgba color #drawImpl0(GL2ES2, RegionRenderer, int[], float[]). Otherwise the base color will be modulated and passed to #drawImpl0(GL2ES2, RegionRenderer, int[], float[]).
        Specified by:
        hasColorChannel in class Shape