de.lessvoid.nifty.render.batch.spi.BufferFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nifty Show documentation
Show all versions of nifty Show documentation
Nifty GUI is a Java Library that supports the building of interactive user interfaces for games or similar applications. It utilizes OpenGL for rendering and it can be easily integrated into many rendering systems. The configuration of the GUI is stored in xml files with little supporting Java code. In short Nifty helps you to layout stuff, display it in a cool way and interact with it :)
package de.lessvoid.nifty.render.batch.spi;
import java.nio.ByteBuffer;
import java.nio.FloatBuffer;
import java.nio.IntBuffer;
import javax.annotation.Nonnull;
/**
* @author Aaron Mahan <[email protected]>
*/
public interface BufferFactory {
@Nonnull
public ByteBuffer createNativeOrderedByteBuffer(final int numBytes);
@Nonnull
public FloatBuffer createNativeOrderedFloatBuffer(final int numFloats);
@Nonnull
public IntBuffer createNativeOrderedIntBuffer(final int numInts);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy