|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
Host mirror of the Influence push constant block the library's lit shaders declare. More...
#include <Influence.hpp>
Collaboration diagram for MayaFlux::Nexus::InfluenceBlock:Static Public Member Functions | |
| static InfluenceBlock | from (const InfluenceContext &ctx) |
The block for ctx, with white and size 1 where the context has none. | |
Public Attributes | |
| float | _pad [3] {} |
| glm::vec3 | color { 1.0F, 1.0F, 1.0F } |
| float | intensity { 1.0F } |
| glm::vec3 | position { 0.0F } |
| float | radius { 1.0F } |
| float | size { 1.0F } |
Host mirror of the Influence push constant block the library's lit shaders declare.
Build it from a context with from() and push it with bind_push_constants.
Definition at line 51 of file Influence.hpp.