Package com.jozufozu.flywheel.api
Interface MaterialGroup
- All Known Implementing Classes:
BatchedMaterialGroup,CrumblingGroup,InstancedMaterialGroup
public interface MaterialGroup
-
Method Summary
Modifier and TypeMethodDescription<D extends InstanceData>
Material<D>material(StructType<D> spec) Get the material as defined by the giventype.
-
Method Details
-
material
Get the material as defined by the giventype.- Type Parameters:
D- The type representing the per instance data.- Parameters:
spec- The material you want to create instances with.- Returns:
- A material you can use to render models.
-