Files
Juliet/Romeo/docs/Juliet_include_Graphics_PushConstants.md
T

16 lines
852 B
Markdown

# Juliet\include\Graphics\PushConstants
## Source Files
- Header: `Juliet\include\Graphics\PushConstants.h`
## AI Description
The `PushConstants` struct in the Juliet library is designed to hold a set of constant data that can be passed to shaders for rendering operations. This structure includes various properties such as the view-projection matrix, mesh index, transforms buffer index, buffer index, texture index, vertex offset, padding, scale, translate, padding2, global light direction, global light pad, global light color, global ambient intensity, light buffer index, and active light count. The use of `PushConstants` allows for efficient data transfer between the CPU and GPU, reducing the number of draw calls and improving rendering performance.
## Symbols
### Namespace `Juliet`
#### Classes, Structs & Unions
- `struct PushData`