Skip to content

Allow Buffers to be passed as material parameters #2509

@codex128

Description

@codex128

Currently, only arrays may be passed as material parameters, even though LWJGL also allows buffers to be used for shader uniforms. I see two ways to address this:

  1. Add new VarTypes for buffer parameters.
  2. Allow some array parameters to also accept buffers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions