这是indexloc提供的服务,不要输入任何密码
Skip to content

Move texture methods into an import? #1018

@dj2

Description

@dj2

Currently the texture methods are dropped into the global namespace. They feel like they should move behind an import and you'd then do something like:

import "textures.wgsl.1" as tex;

tex::texture_load(...);

instead of having them directly accessible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wgslWebGPU Shading Language Issues

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions