encode method
Implementation
void encode(Matrix4 worldTransform, Geometry geometry, Material material) {
if (material.isOpaque()) {
_encode(worldTransform, geometry, material);
return;
}
_translucentRecords
.add(_TranslucentRecord(worldTransform, geometry, material));
}