/** * Construct a new immutable {@code JCGLClearSpecification} instance. * @param colorBufferClear The value for the {@code colorBufferClear} attribute * @param depthBufferClear The value for the {@code depthBufferClear} attribute * @param stencilBufferClear The value for the {@code stencilBufferClear} attribute * @param strictChecking The value for the {@code strictChecking} attribute * @return An immutable JCGLClearSpecification instance */ public static JCGLClearSpecification of(Optional<Vector4D> colorBufferClear, OptionalDouble depthBufferClear, OptionalInt stencilBufferClear, boolean strictChecking) { return new JCGLClearSpecification(colorBufferClear, depthBufferClear, stencilBufferClear, strictChecking); }
/** * Construct a new immutable {@code JCGLClearSpecification} instance. * @param colorBufferClear The value for the {@code colorBufferClear} attribute * @param depthBufferClear The value for the {@code depthBufferClear} attribute * @param stencilBufferClear The value for the {@code stencilBufferClear} attribute * @param strictChecking The value for the {@code strictChecking} attribute * @return An immutable JCGLClearSpecification instance */ public static JCGLClearSpecification of(Optional<VectorReadable4FType> colorBufferClear, OptionalDouble depthBufferClear, OptionalInt stencilBufferClear, boolean strictChecking) { return new JCGLClearSpecification(colorBufferClear, depthBufferClear, stencilBufferClear, strictChecking); }
/** * Builds a new {@link JCGLClearSpecification JCGLClearSpecification}. * @return An immutable instance of JCGLClearSpecification * @throws java.lang.IllegalStateException if any required attributes are missing */ public JCGLClearSpecification build() { return new JCGLClearSpecification(this); }
/** * Builds a new {@link JCGLClearSpecification JCGLClearSpecification}. * @return An immutable instance of JCGLClearSpecification * @throws java.lang.IllegalStateException if any required attributes are missing */ public JCGLClearSpecification build() { return new JCGLClearSpecification(this); }