Skip to content

update reading and writing rdl files to allow binding to named outputs #300

Open

Description

@pramsey1234

Update BinaryWriter, BinaryReader, AsciiWrite, and AsciiReader in scene_rdl2 to deal with the addition of output names on binding
Output name should probably be optional for backward compatibility. It can probably be left off when binding to a shader which only has one output.

Question

What should happen if no output name is provided and the object being bound to has more than one output?

Activity

  1. converted this from a draft issue on Sep 23, 2026
  2. moved this from Planning to Ready in Multi-output shaderson Sep 24, 2026
  3. self-assigned this
    on Oct 9, 2026
  4. pramsey1234 commented on Oct 9, 2026

    @pramsey1234
    Author

    I've started looking at this and it's less obvious than I expected how to extend the rdla syntax for optionally naming an output to bind to. Currently bind() can be:

    bind(shaderObject)
    or
    bind(shaderObject, value)

    If the output was unconditional then I would expect the arguments to change to

    bind(shaderObject, output)
    or
    bind(shaderObject, output, value)

    but if the output is optional then I'm not sure how to distinguish between

    bind(shaderObject, output)
    and
    bind(shaderObject, value)

    since both value and output can be a string

  5. moved this from In progress to Ready in Multi-output shaderson Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions