Class PosTexNormalVertex
java.lang.Object
com.jozufozu.flywheel.core.vertex.PosTexNormalVertex
- All Implemented Interfaces:
VertexType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateReader(ByteBuffer buffer, int vertexCount) Create a view of the given ByteBuffer as if it were already filled with vertices.createWriter(ByteBuffer buffer) Create a writer backed by the given ByteBuffer.The layout of this type of vertex when buffered.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.jozufozu.flywheel.api.vertex.VertexType
byteOffset, getStride
-
Field Details
-
FORMAT
-
-
Constructor Details
-
PosTexNormalVertex
public PosTexNormalVertex()
-
-
Method Details
-
getLayout
Description copied from interface:VertexTypeThe layout of this type of vertex when buffered.- Specified by:
getLayoutin interfaceVertexType
-
createWriter
Description copied from interface:VertexTypeCreate a writer backed by the given ByteBuffer.Implementors are encouraged to override the return type for ergonomics.
- Specified by:
createWriterin interfaceVertexType
-
createReader
Description copied from interface:VertexTypeCreate a view of the given ByteBuffer as if it were already filled with vertices.Implementors are encouraged to override the return type for ergonomics.
- Specified by:
createReaderin interfaceVertexType
-
getShaderHeader
- Specified by:
getShaderHeaderin interfaceVertexType
-