mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
lib + include + Godot dossier
This commit is contained in:
78
GodoBinding/include/gen/VisualShaderNodeScalarFunc.hpp
Normal file
78
GodoBinding/include/gen/VisualShaderNodeScalarFunc.hpp
Normal file
@@ -0,0 +1,78 @@
|
||||
#ifndef GODOT_CPP_VISUALSHADERNODESCALARFUNC_HPP
|
||||
#define GODOT_CPP_VISUALSHADERNODESCALARFUNC_HPP
|
||||
|
||||
|
||||
#include <gdnative_api_struct.gen.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <core/CoreTypes.hpp>
|
||||
#include <core/Ref.hpp>
|
||||
#include "VisualShaderNodeScalarFunc.hpp"
|
||||
|
||||
#include "VisualShaderNode.hpp"
|
||||
namespace godot {
|
||||
|
||||
|
||||
class VisualShaderNodeScalarFunc : public VisualShaderNode {
|
||||
struct ___method_bindings {
|
||||
godot_method_bind *mb_get_function;
|
||||
godot_method_bind *mb_set_function;
|
||||
};
|
||||
static ___method_bindings ___mb;
|
||||
|
||||
public:
|
||||
static void ___init_method_bindings();
|
||||
|
||||
static inline const char *___get_class_name() { return (const char *) "VisualShaderNodeScalarFunc"; }
|
||||
static inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (o) ? (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o) : nullptr; }
|
||||
|
||||
// enums
|
||||
enum Function {
|
||||
FUNC_SIN = 0,
|
||||
FUNC_COS = 1,
|
||||
FUNC_TAN = 2,
|
||||
FUNC_ASIN = 3,
|
||||
FUNC_ACOS = 4,
|
||||
FUNC_ATAN = 5,
|
||||
FUNC_SINH = 6,
|
||||
FUNC_COSH = 7,
|
||||
FUNC_TANH = 8,
|
||||
FUNC_LOG = 9,
|
||||
FUNC_EXP = 10,
|
||||
FUNC_SQRT = 11,
|
||||
FUNC_ABS = 12,
|
||||
FUNC_SIGN = 13,
|
||||
FUNC_FLOOR = 14,
|
||||
FUNC_ROUND = 15,
|
||||
FUNC_CEIL = 16,
|
||||
FUNC_FRAC = 17,
|
||||
FUNC_SATURATE = 18,
|
||||
FUNC_NEGATE = 19,
|
||||
FUNC_ACOSH = 20,
|
||||
FUNC_ASINH = 21,
|
||||
FUNC_ATANH = 22,
|
||||
FUNC_DEGREES = 23,
|
||||
FUNC_EXP2 = 24,
|
||||
FUNC_INVERSE_SQRT = 25,
|
||||
FUNC_LOG2 = 26,
|
||||
FUNC_RADIANS = 27,
|
||||
FUNC_RECIPROCAL = 28,
|
||||
FUNC_ROUNDEVEN = 29,
|
||||
FUNC_TRUNC = 30,
|
||||
FUNC_ONEMINUS = 31,
|
||||
};
|
||||
|
||||
// constants
|
||||
|
||||
|
||||
static VisualShaderNodeScalarFunc *_new();
|
||||
|
||||
// methods
|
||||
VisualShaderNodeScalarFunc::Function get_function() const;
|
||||
void set_function(const int64_t func);
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user