babylon.renderingGroup.d.ts 577 B

1234567891011121314
  1. declare module BABYLON {
  2. class RenderingGroup {
  3. public index: number;
  4. private _scene;
  5. private _opaqueSubMeshes;
  6. private _transparentSubMeshes;
  7. private _alphaTestSubMeshes;
  8. private _activeVertices;
  9. constructor(index: number, scene: Scene);
  10. public render(customRenderFunction: (opaqueSubMeshes: SmartArray<SubMesh>, transparentSubMeshes: SmartArray<SubMesh>, alphaTestSubMeshes: SmartArray<SubMesh>) => void): boolean;
  11. public prepare(): void;
  12. public dispatch(subMesh: SubMesh): void;
  13. }
  14. }