Package pro.streem.flatbuffers
Class Struct
- java.lang.Object
-
- pro.streem.flatbuffers.Struct
-
- Direct Known Subclasses:
AabbDef,AabbDef,ArcDef,ArcDef,Color,Color,CompactSplineFloatNodeFb,CompactSplineNodeFb,Mat4x3,Mat4x3,ModelIndexRange,ModelIndexRange,Quat,Quat,Rect,Rect,Recti,Recti,Vec2,Vec2,Vec2i,Vec2i,Vec3,Vec3,Vec4,Vec4,VertexAttribute,VertexAttribute
public class Struct extends java.lang.ObjectAll structs in the generated code derive from this class, and add their own accessors.
-
-
Constructor Summary
Constructors Constructor Description Struct()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void__reset()Resets internal state with a nullByteBufferand a zero position.
-
-
-
Method Detail
-
__reset
public void __reset()
Resets internal state with a nullByteBufferand a zero position. This method exists primarily to allow recycling Struct instances without risking memory leaks due toByteBufferreferences. The instance will be unusable until it is assigned again to aByteBuffer.- Parameters:
struct- the instance to reset to initial state
-
-