Skip to content

Setting shader parameters always allocates #225

@aubade

Description

@aubade

This isn't exactly a critical issue, but it's worth noting that due to the way string conversion works, there's not currently a @nogc way of setting parameters on a Shader, even when working with a compile-time literal.

It might be worth looking into a way of doing this (possibly by providing const(char)* overloads and letting the user handle any needed conversion on their end.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions