public final class SMFByteBufferAttributePacker extends Object implements SMFParserEventsDataAttributeValuesType
ByteBuffer.| Constructor and Description |
|---|
SMFByteBufferAttributePacker(SMFParserEventsErrorType in_errors,
ByteBuffer in_attribute_buffer,
SMFByteBufferPackingConfiguration in_packed_config,
SMFByteBufferPackedAttribute in_packed_attribute,
long in_vertices)
Construct a packer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onDataAttributeValueFinish()
Parsing of data for the attribute has finished.
|
void |
onDataAttributeValueFloat1(double x)
A data value has been received.
|
void |
onDataAttributeValueFloat2(double x,
double y)
A data value has been received.
|
void |
onDataAttributeValueFloat3(double x,
double y,
double z)
A data value has been received.
|
void |
onDataAttributeValueFloat4(double x,
double y,
double z,
double w)
A data value has been received.
|
void |
onDataAttributeValueIntegerSigned1(long x)
A data value has been received.
|
void |
onDataAttributeValueIntegerSigned2(long x,
long y)
A data value has been received.
|
void |
onDataAttributeValueIntegerSigned3(long x,
long y,
long z)
A data value has been received.
|
void |
onDataAttributeValueIntegerSigned4(long x,
long y,
long z,
long w)
A data value has been received.
|
void |
onDataAttributeValueIntegerUnsigned1(long x)
A data value has been received.
|
void |
onDataAttributeValueIntegerUnsigned2(long x,
long y)
A data value has been received.
|
void |
onDataAttributeValueIntegerUnsigned3(long x,
long y,
long z)
A data value has been received.
|
void |
onDataAttributeValueIntegerUnsigned4(long x,
long y,
long z,
long w)
A data value has been received.
|
void |
onError(SMFErrorType e)
An error has occurred.
|
void |
onWarning(SMFWarningType w)
An error has occurred of a severity low enough that it should just be
considered a warning.
|
public SMFByteBufferAttributePacker(SMFParserEventsErrorType in_errors, ByteBuffer in_attribute_buffer, SMFByteBufferPackingConfiguration in_packed_config, SMFByteBufferPackedAttribute in_packed_attribute, long in_vertices)
in_errors - An error listenerin_attribute_buffer - The byte buffer that will contain attribute
datain_packed_config - The packing configurationin_packed_attribute - The attribute to be packedin_vertices - The number of vertices that will be packedpublic void onDataAttributeValueIntegerSigned1(long x)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueIntegerSigned1 in interface SMFParserEventsDataAttributeValuesTypex - The x valuepublic void onDataAttributeValueIntegerSigned2(long x,
long y)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueIntegerSigned2 in interface SMFParserEventsDataAttributeValuesTypex - The x valuey - The y valuepublic void onDataAttributeValueIntegerSigned3(long x,
long y,
long z)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueIntegerSigned3 in interface SMFParserEventsDataAttributeValuesTypex - The x valuey - The y valuez - The z valuepublic void onDataAttributeValueIntegerSigned4(long x,
long y,
long z,
long w)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueIntegerSigned4 in interface SMFParserEventsDataAttributeValuesTypex - The x valuey - The y valuez - The z valuew - The w valuepublic void onDataAttributeValueIntegerUnsigned1(long x)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueIntegerUnsigned1 in interface SMFParserEventsDataAttributeValuesTypex - The x valuepublic void onDataAttributeValueIntegerUnsigned2(long x,
long y)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueIntegerUnsigned2 in interface SMFParserEventsDataAttributeValuesTypex - The x valuey - The y valuepublic void onDataAttributeValueIntegerUnsigned3(long x,
long y,
long z)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueIntegerUnsigned3 in interface SMFParserEventsDataAttributeValuesTypex - The x valuey - The y valuez - The z valuepublic void onDataAttributeValueIntegerUnsigned4(long x,
long y,
long z,
long w)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueIntegerUnsigned4 in interface SMFParserEventsDataAttributeValuesTypex - The x valuey - The y valuez - The z valuew - The w valuepublic void onDataAttributeValueFloat1(double x)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueFloat1 in interface SMFParserEventsDataAttributeValuesTypex - The x valuepublic void onDataAttributeValueFloat2(double x,
double y)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueFloat2 in interface SMFParserEventsDataAttributeValuesTypex - The x valuey - The y valuepublic void onDataAttributeValueFloat3(double x,
double y,
double z)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueFloat3 in interface SMFParserEventsDataAttributeValuesTypex - The x valuey - The y valuez - The z valuepublic void onDataAttributeValueFloat4(double x,
double y,
double z,
double w)
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueFloat4 in interface SMFParserEventsDataAttributeValuesTypex - The x valuey - The y valuez - The z valuew - The w valuepublic void onDataAttributeValueFinish()
SMFParserEventsDataAttributeValuesTypeonDataAttributeValueFinish in interface SMFParserEventsDataAttributeValuesTypepublic void onError(SMFErrorType e)
SMFParserEventsErrorTypeonError in interface SMFParserEventsErrorTypee - The errorpublic void onWarning(SMFWarningType w)
SMFParserEventsErrorTypeonWarning in interface SMFParserEventsErrorTypew - The warningCopyright © 2017 <code@io7m.com> http://io7m.com