MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Nexus::InfluenceBlock Struct Reference

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 }
 

Detailed Description

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.

layout(push_constant) uniform Influence {
vec3 position;
float intensity;
vec3 color;
float radius;
float size;
};
A value of any type, built from the influence context and handed to its targets.
Definition Influence.hpp:91

Definition at line 51 of file Influence.hpp.


The documentation for this struct was generated from the following file: