Go to the documentation of this file.
9 #import <Foundation/Foundation.h>
16 #define DJINNI_EXPORT __attribute__((__visibility__("default")))
27 + (nullable
BNBParameter *)create:(nonnull NSString *)name;
36 - (void)setInteger:(int32_t)value;
45 - (void)setReal:(
float)value;
54 - (void)setX:(
float)value;
60 - (void)setY:(
float)value;
66 - (void)setZ:(
float)value;
72 - (void)setW:(
float)value;
78 - (void)setVector3:(nonnull
BNBVec3 *)value;
87 - (void)setVector4:(nonnull
BNBVec4 *)value;
96 - (void)setMat2x4:(nonnull
BNBMat2x4 *)value;
105 - (void)setMat3x4:(nonnull
BNBMat3x4 *)value;
114 - (void)setMat4x4:(nonnull
BNBMat4x4 *)value;
nonnull BNBMat4x4 * getMat4x4()
return parameter mat4x4 value.
nonnull NSString * getName()
nonnull BNBMat2x4 * getMat2x4()
return parameter mat2x4 value.
Class, represent shader parameter.
#define DJINNI_EXPORT
for order of values in action units array see action_units_indices enum
int32_t getInteger()
return parameter int value.
nonnull BNBMat3x4 * getMat3x4()
return parameter mat3x4 value.
float getReal()
return parameter f32 value.
nonnull BNBVec3 * getVector3()
return parameter vec3 value.
nonnull BNBVec4 * getVector4()
return parameter vec4 value.