private boolean equalTo(JCGLBlendState another) { return blendFunctionSourceRGB.equals(another.blendFunctionSourceRGB) && blendFunctionSourceAlpha.equals(another.blendFunctionSourceAlpha) && blendFunctionTargetRGB.equals(another.blendFunctionTargetRGB) && blendFunctionTargetAlpha.equals(another.blendFunctionTargetAlpha) && blendEquationRGB.equals(another.blendEquationRGB) && blendEquationAlpha.equals(another.blendEquationAlpha); }
@Override protected JCGLProjectionMatricesType newProjectionMatrices() { return JCGLProjectionMatrices.newMatrices(); } }
@Override public <A, E extends Exception> A matchVertexAttribute( final JCGLArrayVertexAttributeMatcherType<A, E> m) throws E { return m.matchIntegral(this); }
@Override public boolean isDeleted() { return this.framebuffer.isDeleted(); }
/** * @return {@code true} if strict buffer checking is enabled */ @Override public final boolean getStrictChecking() { return strictCheckingIsSet() ? strictChecking : JCGLClearSpecificationType.super.getStrictChecking(); }
/** * @return {@code true} if strict buffer checking is enabled */ @Override public final boolean strictChecking() { return strictCheckingIsSet() ? strictChecking : JCGLClearSpecificationType.super.strictChecking(); }
@Override public Void matchIntegral( final JCGLArrayVertexAttributeIntegralType a) { aa[a.getIndex()] = null; return null; } });
/** * Creates a builder for {@link JCGLClearSpecification JCGLClearSpecification}. * @return A new JCGLClearSpecification builder */ public static JCGLClearSpecification.Builder builder() { return new JCGLClearSpecification.Builder(); }
/** * Construct a new immutable {@code JCGLVersion} instance. * @param number The value for the {@code number} attribute * @param text The value for the {@code text} attribute * @return An immutable JCGLVersion instance */ public static JCGLVersion of(JCGLVersionNumber number, String text) { return new JCGLVersion(number, text); }
@Override public void projectionMakeMatrixUntyped(final MatrixWritable4x4FType m) { this.context.makeFrustumProjection( m, (double) this.near_x_min, (double) this.near_x_max, (double) this.near_y_min, (double) this.near_y_max, (double) this.near_z, (double) this.far_z); }
/** * This instance is equal to all instances of {@code JCGLClearSpecificationMutable} that have equal attribute values. * @return {@code true} if {@code this} is equal to {@code another} instance */ @Override public boolean equals(Object another) { if (this == another) return true; if (!(another instanceof JCGLClearSpecificationMutable)) return false; JCGLClearSpecificationMutable other = (JCGLClearSpecificationMutable) another; return equalTo(other); }
/** * Construct a new immutable {@code JCGLVersionNumber} instance. * @param major The value for the {@code major} attribute * @param minor The value for the {@code minor} attribute * @param micro The value for the {@code micro} attribute * @return An immutable JCGLVersionNumber instance */ public static JCGLVersionNumber of(int major, int minor, int micro) { return new JCGLVersionNumber(major, minor, micro); }
/** * This instance is equal to all instances of {@code JCGLBufferUpdate} that have equal attribute values. * @return {@code true} if {@code this} is equal to {@code another} instance */ @SuppressWarnings("unchecked") @Override public boolean equals(Object another) { if (this == another) return true; return another instanceof JCGLBufferUpdate<?> && equalTo((JCGLBufferUpdate<T>) another); }
/** * This instance is equal to all instances of {@code JCGLVersionNumber} that have equal attribute values. * @return {@code true} if {@code this} is equal to {@code another} instance */ @Override public boolean equals(Object another) { if (this == another) return true; return another instanceof JCGLVersionNumber && equalTo((JCGLVersionNumber) another); }
/** * This instance is equal to all instances of {@code JCGLVersion} that have equal attribute values. * @return {@code true} if {@code this} is equal to {@code another} instance */ @Override public boolean equals(Object another) { if (this == another) return true; return another instanceof JCGLVersion && equalTo((JCGLVersion) another); }
@Override public boolean isDeleted() { return this.framebuffer.isDeleted(); }