feat(pbs): add sprite animation and shared Studio authoring
Implement DEC-0084 with factory-only Sprite/Animator structs, complete result lowering, validated animation sidecars, generated PBS factories and JavaFX/MCP authoring through shared services. Qualify native dev/release with ordinary and optimized producers, zero-allocation playback, private-cycle reclamation, canonical Composer pixels, installed JARs and JavaFX lifecycle. Preserve the runtime checkout and existing host ABI.
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
package p.packer.dtos;
|
||||
import java.nio.file.Path;
|
||||
import java.util.*;
|
||||
/** Immutable effective composition and pixels from the same packing helpers. */
|
||||
public record PackerGlyphBankLayoutDTO(UUID assetUuid, String revision, Path assetRoot,
|
||||
List<Glyph> glyphs, byte[] rgbaPalettes) {
|
||||
public PackerGlyphBankLayoutDTO { glyphs=List.copyOf(glyphs);rgbaPalettes=rgbaPalettes.clone(); }
|
||||
@Override public byte[] rgbaPalettes(){return rgbaPalettes.clone();}
|
||||
public record Glyph(String artifactId,int glyphId,String fingerprint,Path imagePath,int width,int height,byte[] indices) {
|
||||
public Glyph { indices=indices.clone(); }
|
||||
@Override public byte[] indices(){return indices.clone();}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user