Skip to content

AssetUsageRender MAIN_WORLD and RENDER_WORLD is confusing and not explicit and overlapping with MainWorld Resource #22790

@FcGod

Description

@FcGod

Greetings, dear reader!

Was looking at CPU rendering example and the line:
RenderAssetUsages::MAIN_WORLD | RenderAssetUsages::RENDER_WORLD

is confusing. MAIN_WORLD feels so weird to say "this is loaded on CPU and RAM" and "RENDER_WORLD" is "loaded on GPU and VRAM" as per: DOCS: struct.RenderAssetUsage

It gives me the feeling MAIN_WORLD is just..logic? processing? and no rendering yet it can also do rendering..so main and render world both..render? not just render_world as per its name?

And when a friend told me "do it in main world" I was given this the resource on google over the bit flag. Which made me confused "why does state of application help me render?" as per: DOCS: struct.MainWorld

I propose a rename for the constants to something more intuitive, perhaps CPU_PROCESSING AND GPU_PROCESSING for example. So its more intutive as "i want this cpu and ram or GPU and VRAM"

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-DocsAn addition or correction to our documentationS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    Status

    Needs SME Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions