Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add pipeline system #46

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,16 @@ export default defineConfig({
{ text: 'FLight', link: '/api/core/classes/FLight.md' },
{ text: 'FScene', link: '/api/core/classes/FScene.md' },
] },
{ text: 'Pipeline', collapsed: true, items: [
{ text: 'CustomWorker', link: '/api/core/classes/CustomWorker.md' },
{ text: 'Pipeline', link: '/api/core/classes/Pipeline.md' },
{ text: 'RenderPipeline', link: '/api/core/classes/RenderPipeline.md' },
{ text: 'PhysicPipeline', link: '/api/core/classes/PhysicPipeline.md' },
] },
{ text: 'Enumerations', collapsed: true, items: [
{ text: 'PipelineCommands', link: '/api/core/enumerations/PipelineCommands.md' },
{ text: 'PipelineState', link: '/api/core/enumerations/PipelineState.md' },
] },
{ text: 'Interfaces', collapsed: true, items: [
{ text: 'FVector3', link: '/api/core/interfaces/FVector3.md' },
{ text: 'FVector2', link: '/api/core/interfaces/FVector2.md' },
Expand Down
46 changes: 23 additions & 23 deletions docs/api/2d/classes/FAttachedCamera.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ A camera attached to a given target.

#### Defined in

[2d/src/cameras/FAttachedCamera.ts:20](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FAttachedCamera.ts#L20)
[packages/2d/src/cameras/FAttachedCamera.ts:20](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FAttachedCamera.ts#L20)

## Methods

Expand All @@ -48,7 +48,7 @@ A camera attached to a given target.

#### Defined in

[2d/src/cameras/FAttachedCamera.ts:33](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FAttachedCamera.ts#L33)
[packages/2d/src/cameras/FAttachedCamera.ts:33](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FAttachedCamera.ts#L33)

***

Expand All @@ -74,7 +74,7 @@ A camera attached to a given target.

#### Defined in

[2d/src/cameras/FCamera.ts:88](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FCamera.ts#L88)
[packages/2d/src/cameras/FCamera.ts:88](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FCamera.ts#L88)

***

Expand All @@ -95,7 +95,7 @@ This method should be called after updating the transform properties.

#### Defined in

[2d/src/cameras/FCamera.ts:67](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FCamera.ts#L67)
[packages/2d/src/cameras/FCamera.ts:67](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FCamera.ts#L67)

***

Expand All @@ -116,7 +116,7 @@ This method should be called after updating the transform properties.

#### Defined in

[2d/src/cameras/FCamera.ts:75](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FCamera.ts#L75)
[packages/2d/src/cameras/FCamera.ts:75](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FCamera.ts#L75)

***

Expand All @@ -138,7 +138,7 @@ This method does not make sense for cameras, but it is implemented for consisten

#### Defined in

[2d/src/cameras/FCamera.ts:84](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FCamera.ts#L84)
[packages/2d/src/cameras/FCamera.ts:84](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FCamera.ts#L84)

***

Expand Down Expand Up @@ -190,7 +190,7 @@ player.emitCollisionWith({

#### Defined in

core/dist/index.d.ts:293
packages/core/dist/index.d.ts:298

***

Expand All @@ -210,7 +210,7 @@ Emit the onLoaded callbacks.

#### Defined in

core/dist/index.d.ts:247
packages/core/dist/index.d.ts:252

***

Expand All @@ -235,7 +235,7 @@ The purpose of this method is to render the component, its mesh/sprite, and its

#### Defined in

[2d/src/cameras/FAttachedCamera.ts:25](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FAttachedCamera.ts#L25)
[packages/2d/src/cameras/FAttachedCamera.ts:25](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FAttachedCamera.ts#L25)

***

Expand Down Expand Up @@ -289,7 +289,7 @@ player.onCollisionWith(enemy, () => {

#### Defined in

core/dist/index.d.ts:270
packages/core/dist/index.d.ts:275

***

Expand All @@ -315,7 +315,7 @@ The callback function.

#### Defined in

core/dist/index.d.ts:238
packages/core/dist/index.d.ts:243

***

Expand All @@ -341,7 +341,7 @@ The callback function.

#### Defined in

core/dist/index.d.ts:243
packages/core/dist/index.d.ts:248

***

Expand All @@ -363,7 +363,7 @@ core/dist/index.d.ts:243

#### Defined in

[2d/src/cameras/FCamera.ts:59](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FCamera.ts#L59)
[packages/2d/src/cameras/FCamera.ts:59](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FCamera.ts#L59)

## Properties

Expand All @@ -384,7 +384,7 @@ It is a dictionary where the key is the class name or object id and the value is

#### Defined in

core/dist/index.d.ts:216
packages/core/dist/index.d.ts:221

***

Expand All @@ -400,7 +400,7 @@ Callbacks for when a frame is rendered.

#### Defined in

core/dist/index.d.ts:207
packages/core/dist/index.d.ts:212

***

Expand All @@ -416,7 +416,7 @@ Callbacks for when the component is loaded (could be a texture, a 3D model, etc)

#### Defined in

core/dist/index.d.ts:211
packages/core/dist/index.d.ts:216

***

Expand All @@ -433,7 +433,7 @@ It is generated automatically.

#### Defined in

core/dist/index.d.ts:203
packages/core/dist/index.d.ts:208

***

Expand All @@ -449,7 +449,7 @@ Internal flags

#### Defined in

[2d/src/cameras/FCamera.ts:17](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FCamera.ts#L17)
[packages/2d/src/cameras/FCamera.ts:17](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FCamera.ts#L17)

***

Expand All @@ -465,7 +465,7 @@ Internal flags

#### Defined in

core/dist/index.d.ts:197
packages/core/dist/index.d.ts:202

***

Expand All @@ -481,7 +481,7 @@ The controller attached to the component.

#### Defined in

core/dist/index.d.ts:226
packages/core/dist/index.d.ts:231

***

Expand All @@ -497,7 +497,7 @@ The scene the camera is in.

#### Defined in

[2d/src/cameras/FCamera.ts:22](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FCamera.ts#L22)
[packages/2d/src/cameras/FCamera.ts:22](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FCamera.ts#L22)

***

Expand All @@ -509,7 +509,7 @@ The target to follow.

#### Defined in

[2d/src/cameras/FAttachedCamera.ts:18](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FAttachedCamera.ts#L18)
[packages/2d/src/cameras/FAttachedCamera.ts:18](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FAttachedCamera.ts#L18)

***

Expand All @@ -527,4 +527,4 @@ The scale and rotation of the transform are not used.

#### Defined in

[2d/src/cameras/FCamera.ts:29](https://github.com/fibbojs/fibbo/blob/fe513db46f793b2520946de03583c9b4464b47bc/packages/2d/src/cameras/FCamera.ts#L29)
[packages/2d/src/cameras/FCamera.ts:29](https://github.com/fibbojs/fibbo/blob/ca0e011a21c87d9c4978217c9b9041de6ed31595/packages/2d/src/cameras/FCamera.ts#L29)
Loading
Loading