/** * Construct a modifiable instance of {@code JCGLClearSpecificationType}. * @return A new modifiable instance */ public static JCGLClearSpecificationMutable create() { return new JCGLClearSpecificationMutable(); }
/** * Construct a modifiable instance of {@code JCGLClearSpecificationType}. * @return A new modifiable instance */ public static JCGLClearSpecificationMutable create() { return new JCGLClearSpecificationMutable(); }
/** * Construct a modifiable instance of {@code JCGLClearSpecificationType}. * @param colorBufferClear The value for the {@link JCGLClearSpecificationType#getColorBufferClear() colorBufferClear} attribute * @param depthBufferClear The value for the {@link JCGLClearSpecificationType#getDepthBufferClear() depthBufferClear} attribute * @param stencilBufferClear The value for the {@link JCGLClearSpecificationType#getStencilBufferClear() stencilBufferClear} attribute * @param strictChecking The value for the {@link JCGLClearSpecificationType#getStrictChecking() strictChecking} attribute * @return A new modifiable instance */ public static JCGLClearSpecificationMutable create(Optional<VectorReadable4FType> colorBufferClear, OptionalDouble depthBufferClear, OptionalInt stencilBufferClear, boolean strictChecking) { return new JCGLClearSpecificationMutable() .setColorBufferClear(colorBufferClear) .setDepthBufferClear(depthBufferClear) .setStencilBufferClear(stencilBufferClear) .setStrictChecking(strictChecking); }
/** * Construct a modifiable instance of {@code JCGLClearSpecificationType}. * @param colorBufferClear The value for the {@link JCGLClearSpecificationType#colorBufferClear() colorBufferClear} attribute * @param depthBufferClear The value for the {@link JCGLClearSpecificationType#depthBufferClear() depthBufferClear} attribute * @param stencilBufferClear The value for the {@link JCGLClearSpecificationType#stencilBufferClear() stencilBufferClear} attribute * @param strictChecking The value for the {@link JCGLClearSpecificationType#strictChecking() strictChecking} attribute * @return A new modifiable instance */ public static JCGLClearSpecificationMutable create(Optional<Vector4D> colorBufferClear, OptionalDouble depthBufferClear, OptionalInt stencilBufferClear, boolean strictChecking) { return new JCGLClearSpecificationMutable() .setColorBufferClear(colorBufferClear) .setDepthBufferClear(depthBufferClear) .setStencilBufferClear(stencilBufferClear) .setStrictChecking(strictChecking); }