Skip to content

Rendering: Const correct world data prevents Resources updates #140

Open

Description

@sp0lsh

Lets say we have code loading skybox panorama into TextureResource in SkyboxWorldComponent.
RenderingDevice then renders Cubemap from it and would update CubemapResource in SkyboxWorldComponent but can't if world is const.

For now we are saving cubemap and rest of such data in renderer once we prerender it at start. It would be nice if tools and resource loaders could use RenderingDevice to preprocess it.

It is worth taking care when we re going to design the life time of asset (raw, game asset, cooked asset, runtime asset). Now we load all assets raw with help of third party libraries and use it in runtime straight away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions