Skip to content

cbuffer with array of structs #36

@pixelnerve

Description

@pixelnerve

Hello there,
So it seems we can't have arrays in a cbuffer.
how do you work around that?

This is for a specific case. Pass an array of lights structs to a shader

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