14GX_CORE_NAMESPACE_BEGIN()
44 GX_ENUM_TABLE_MAX(TYPE)
67 GxConstValue(TYPE type) : _type(type), _vector4(
GxVector4::
ZERO) { }
69 GxConstValue(f32 value) : _type(TYPE::F32), _f32(value) { }
71 GxConstValue(
const GxVector2& value) : _type(TYPE::VECTOR2), _vector2(value) { }
73 GxConstValue(
const GxVector3& value) : _type(TYPE::VECTOR3), _vector3(value) { }
75 GxConstValue(
const GxVector4& value) : _type(TYPE::VECTOR4), _vector4(value) { }
77 GxConstValue(
const GxColor& color) : _type(TYPE::
COLOR), _color(color) { }
79 GxConstValue&
operator = (
const GxConstValue value) { _vector4 = value._vector4; _type = value._type;
return *
this; }
118 GX_RTTI_ABSTRACT_CLASS(GxShaderGraphElement,
GxClassBase)
122 static constexpr u32 SPLIT_OUTPUT_COUNT_VECTOR4 = 4;
123 static constexpr u32 SPLIT_OUTPUT_COUNT_COLOR = 6;
124 static constexpr u32 SPLIT_OUTPUT_COUNT_MATERIAL_INPUT = 6;
133 GxShaderGraphElement(GX_CSTR name, TYPE outputType = TYPE::UNKNOWN) : _isSplitOutput(false){ initialize(name, outputType); }
136 GxShaderGraphElement(
void) : _outputType(TYPE::
UNKNOWN), _isSplitOutput(false){}
138 void initialize(GX_CSTR name, TYPE outputType = TYPE::UNKNOWN);
147 constexpr GX_CSTR getName(
void)
const {
return _name.getString(); }
149 virtual GX_CSTR getVirtualName(
void)
const {
return getName(); }
151 constexpr TYPE getOutputType(
void)
const {
return _outputType; }
153 constexpr void setOutputType(TYPE type) { _outputType = type; }
155 GX_FORCE_INLINE
b32 isSplitOutput(
void)
const {
return _isSplitOutput; }
157 GX_FORCE_INLINE
void setSplitOutput(
b32 enable) { _isSplitOutput = enable; }
159 GX_CSTR getSplitOutputText(u32 index,
b32 isGlsl)
const;
161 TYPE getOutputType(u32 index)
const;
163 static b32 isTypeTexture(TYPE type);
165 u32 getOutputCount(
void)
const;
167 virtual b32 isLock(
void)
const {
return false; }
171 static GX_CSTR getTypeName(TYPE type);
189class GxShaderGraphConst :
public GxShaderGraphElement
196 GX_RTTI_CLASS(GxShaderGraphConst, GxShaderGraphElement)
207 GxShaderGraphConst(GX_CSTR name, TYPE outputType = TYPE::UNKNOWN) : Super(name, outputType) { }
210 GxShaderGraphConst(
void) {}
227class GxShaderGraphInput :
public GxShaderGraphElement
234 GX_RTTI_CLASS(GxShaderGraphInput, GxShaderGraphElement)
245 GxShaderGraphInput(GX_CSTR name, TYPE outputType = TYPE::UNKNOWN) : Super(name, outputType) { }
248 GxShaderGraphInput(
void) {}
265class GxShaderGraphFunction :
public GxShaderGraphElement
291 GxArgument(GX_CSTR name, TYPE type) : _name(name), _type(type) {}
303 constexpr GX_CSTR getName(
void)
const {
return _name.getString(); }
305 GX_FORCE_INLINE
void setName(GX_CSTR name) { _name = name; }
307 constexpr TYPE getType(
void)
const {
return _type; }
309 constexpr void setType(TYPE type) { _type = type; }
323 GX_RTTI_CLASS(GxShaderGraphFunction, GxShaderGraphElement)
334 GxShaderGraphFunction(
void) {}
336 ~GxShaderGraphFunction(
void)
override { terminate(); }
338 void initialize(GX_CSTR name, TYPE outputType = TYPE::UNKNOWN, TYPE genericType = TYPE::UNKNOWN);
341 void terminate(
void);
350 GX_CSTR getVirtualName(
void)
const override {
return _virtualName.getString(); }
352 GX_FORCE_INLINE
GxArray& getArguments(
void) {
return _arguments; }
371class GxShaderGraphFunctionSampler :
public GxShaderGraphFunction
378 GX_RTTI_CLASS(GxShaderGraphFunctionSampler, GxShaderGraphFunction)
389 GxShaderGraphFunctionSampler(
void);
406class GxShaderGraphFunctionCustom :
public GxShaderGraphFunction
413 GX_RTTI_CLASS(GxShaderGraphFunctionCustom, GxShaderGraphFunction)
424 GxShaderGraphFunctionCustom(GX_CSTR virtualName, GX_CSTR guid);
427 void initialize(GX_CSTR name, GX_CSTR guid);
430 GxShaderGraphFunctionCustom(
void) {}
447class GxShaderGraphFunctionOutput :
public GxShaderGraphFunction
454 GX_RTTI_CLASS(GxShaderGraphFunctionOutput, GxShaderGraphFunction)
465 GxShaderGraphFunctionOutput(
void);
474 b32 isLock(
void)
const override {
return true; }
491class GxShaderGraphMaterialInput :
public GxShaderGraphElement
498 GX_RTTI_CLASS(GxShaderGraphMaterialInput, GxShaderGraphElement)
509 GxShaderGraphMaterialInput(
void);
518 b32 isLock(
void)
const override {
return true; }
535class GxShaderGraphFunctionMaterialOutput :
public GxShaderGraphFunction
542 GX_RTTI_CLASS(GxShaderGraphFunctionMaterialOutput, GxShaderGraphFunction)
567 b32 isLock(
void)
const override {
return true; }
585class GxShaderGraphFunctionAbs :
public GxShaderGraphFunction
592 GX_RTTI_CLASS(GxShaderGraphFunctionAbs, GxShaderGraphFunction)
603 GxShaderGraphFunctionAbs(TYPE genericType);
606 GxShaderGraphFunctionAbs(
void) {}
614class GxShaderGraphFunctionAcos :
public GxShaderGraphFunction
621 GX_RTTI_CLASS(GxShaderGraphFunctionAcos, GxShaderGraphFunction)
632 GxShaderGraphFunctionAcos(TYPE genericType);
635 GxShaderGraphFunctionAcos(
void) {}
643class GxShaderGraphFunctionAdd :
public GxShaderGraphFunction
650 GX_RTTI_CLASS(GxShaderGraphFunctionAdd, GxShaderGraphFunction)
661 GxShaderGraphFunctionAdd(TYPE genericType);
664 GxShaderGraphFunctionAdd(
void) {}
672class GxShaderGraphFunctionAll :
public GxShaderGraphFunction
679 GX_RTTI_CLASS(GxShaderGraphFunctionAll, GxShaderGraphFunction)
690 GxShaderGraphFunctionAll(TYPE genericType);
693 GxShaderGraphFunctionAll(
void) {}
701class GxShaderGraphFunctionAny :
public GxShaderGraphFunction
708 GX_RTTI_CLASS(GxShaderGraphFunctionAny, GxShaderGraphFunction)
719 GxShaderGraphFunctionAny(TYPE genericType);
722 GxShaderGraphFunctionAny(
void) {}
730class GxShaderGraphFunctionAsin :
public GxShaderGraphFunction
737 GX_RTTI_CLASS(GxShaderGraphFunctionAsin, GxShaderGraphFunction)
748 GxShaderGraphFunctionAsin(TYPE genericType);
751 GxShaderGraphFunctionAsin(
void) {}
759class GxShaderGraphFunctionAtan :
public GxShaderGraphFunction
766 GX_RTTI_CLASS(GxShaderGraphFunctionAtan, GxShaderGraphFunction)
777 GxShaderGraphFunctionAtan(TYPE genericType);
780 GxShaderGraphFunctionAtan(
void) {}
788class GxShaderGraphFunctionAtan2 :
public GxShaderGraphFunction
795 GX_RTTI_CLASS(GxShaderGraphFunctionAtan2, GxShaderGraphFunction)
806 GxShaderGraphFunctionAtan2(TYPE genericType);
809 GxShaderGraphFunctionAtan2(
void) {}
817class GxShaderGraphFunctionCeil :
public GxShaderGraphFunction
824 GX_RTTI_CLASS(GxShaderGraphFunctionCeil, GxShaderGraphFunction)
835 GxShaderGraphFunctionCeil(TYPE genericType);
838 GxShaderGraphFunctionCeil(
void) {}
846class GxShaderGraphFunctionClamp :
public GxShaderGraphFunction
853 GX_RTTI_CLASS(GxShaderGraphFunctionClamp, GxShaderGraphFunction)
864 GxShaderGraphFunctionClamp(TYPE genericType);
867 GxShaderGraphFunctionClamp(
void) {}
875class GxShaderGraphFunctionClip :
public GxShaderGraphFunction
882 GX_RTTI_CLASS(GxShaderGraphFunctionClip, GxShaderGraphFunction)
893 GxShaderGraphFunctionClip(TYPE genericType);
896 GxShaderGraphFunctionClip(
void) {}
904class GxShaderGraphFunctionCos :
public GxShaderGraphFunction
911 GX_RTTI_CLASS(GxShaderGraphFunctionCos, GxShaderGraphFunction)
922 GxShaderGraphFunctionCos(TYPE genericType);
925 GxShaderGraphFunctionCos(
void) {}
933class GxShaderGraphFunctionCosh :
public GxShaderGraphFunction
940 GX_RTTI_CLASS(GxShaderGraphFunctionCosh, GxShaderGraphFunction)
951 GxShaderGraphFunctionCosh(TYPE genericType);
954 GxShaderGraphFunctionCosh(
void) {}
962class GxShaderGraphFunctionCross :
public GxShaderGraphFunction
969 GX_RTTI_CLASS(GxShaderGraphFunctionCross, GxShaderGraphFunction)
980 GxShaderGraphFunctionCross(TYPE genericType);
983 GxShaderGraphFunctionCross(
void) {}
991class GxShaderGraphFunctionDegrees :
public GxShaderGraphFunction
998 GX_RTTI_CLASS(GxShaderGraphFunctionDegrees, GxShaderGraphFunction)
1009 GxShaderGraphFunctionDegrees(TYPE genericType);
1012 GxShaderGraphFunctionDegrees(
void) {}
1020class GxShaderGraphFunctionDistance :
public GxShaderGraphFunction
1027 GX_RTTI_CLASS(GxShaderGraphFunctionDistance, GxShaderGraphFunction)
1038 GxShaderGraphFunctionDistance(TYPE genericType);
1041 GxShaderGraphFunctionDistance(
void) {}
1049class GxShaderGraphFunctionDivide :
public GxShaderGraphFunction
1056 GX_RTTI_CLASS(GxShaderGraphFunctionDivide, GxShaderGraphFunction)
1067 GxShaderGraphFunctionDivide(TYPE genericType);
1070 GxShaderGraphFunctionDivide(
void) {}
1078class GxShaderGraphFunctionDot :
public GxShaderGraphFunction
1085 GX_RTTI_CLASS(GxShaderGraphFunctionDot, GxShaderGraphFunction)
1096 GxShaderGraphFunctionDot(TYPE genericType);
1099 GxShaderGraphFunctionDot(
void) {}
1107class GxShaderGraphFunctionDst :
public GxShaderGraphFunction
1114 GX_RTTI_CLASS(GxShaderGraphFunctionDst, GxShaderGraphFunction)
1125 GxShaderGraphFunctionDst(TYPE genericType);
1128 GxShaderGraphFunctionDst(
void) {}
1136class GxShaderGraphFunctionExp :
public GxShaderGraphFunction
1143 GX_RTTI_CLASS(GxShaderGraphFunctionExp, GxShaderGraphFunction)
1154 GxShaderGraphFunctionExp(TYPE genericType);
1157 GxShaderGraphFunctionExp(
void) {}
1165class GxShaderGraphFunctionExp2 :
public GxShaderGraphFunction
1172 GX_RTTI_CLASS(GxShaderGraphFunctionExp2, GxShaderGraphFunction)
1183 GxShaderGraphFunctionExp2(TYPE genericType);
1186 GxShaderGraphFunctionExp2(
void) {}
1194class GxShaderGraphFunctionFloor :
public GxShaderGraphFunction
1201 GX_RTTI_CLASS(GxShaderGraphFunctionFloor, GxShaderGraphFunction)
1212 GxShaderGraphFunctionFloor(TYPE genericType);
1215 GxShaderGraphFunctionFloor(
void) {}
1223class GxShaderGraphFunctionFma :
public GxShaderGraphFunction
1230 GX_RTTI_CLASS(GxShaderGraphFunctionFma, GxShaderGraphFunction)
1241 GxShaderGraphFunctionFma(TYPE genericType);
1244 GxShaderGraphFunctionFma(
void) {}
1252class GxShaderGraphFunctionFmod :
public GxShaderGraphFunction
1259 GX_RTTI_CLASS(GxShaderGraphFunctionFmod, GxShaderGraphFunction)
1270 GxShaderGraphFunctionFmod(TYPE genericType);
1273 GxShaderGraphFunctionFmod(
void) {}
1281class GxShaderGraphFunctionFrac :
public GxShaderGraphFunction
1288 GX_RTTI_CLASS(GxShaderGraphFunctionFrac, GxShaderGraphFunction)
1299 GxShaderGraphFunctionFrac(TYPE genericType);
1302 GxShaderGraphFunctionFrac(
void) {}
1310class GxShaderGraphFunctionFrexp :
public GxShaderGraphFunction
1317 GX_RTTI_CLASS(GxShaderGraphFunctionFrexp, GxShaderGraphFunction)
1328 GxShaderGraphFunctionFrexp(TYPE genericType);
1331 GxShaderGraphFunctionFrexp(
void) {}
1339class GxShaderGraphFunctionFwidth :
public GxShaderGraphFunction
1346 GX_RTTI_CLASS(GxShaderGraphFunctionFwidth, GxShaderGraphFunction)
1357 GxShaderGraphFunctionFwidth(TYPE genericType);
1360 GxShaderGraphFunctionFwidth(
void) {}
1368class GxShaderGraphFunctionIsfinite :
public GxShaderGraphFunction
1375 GX_RTTI_CLASS(GxShaderGraphFunctionIsfinite, GxShaderGraphFunction)
1386 GxShaderGraphFunctionIsfinite(TYPE genericType);
1389 GxShaderGraphFunctionIsfinite(
void) {}
1397class GxShaderGraphFunctionIsinf :
public GxShaderGraphFunction
1404 GX_RTTI_CLASS(GxShaderGraphFunctionIsinf, GxShaderGraphFunction)
1415 GxShaderGraphFunctionIsinf(TYPE genericType);
1418 GxShaderGraphFunctionIsinf(
void) {}
1426class GxShaderGraphFunctionIsnan :
public GxShaderGraphFunction
1433 GX_RTTI_CLASS(GxShaderGraphFunctionIsnan, GxShaderGraphFunction)
1444 GxShaderGraphFunctionIsnan(TYPE genericType);
1447 GxShaderGraphFunctionIsnan(
void) {}
1455class GxShaderGraphFunctionLdexp :
public GxShaderGraphFunction
1462 GX_RTTI_CLASS(GxShaderGraphFunctionLdexp, GxShaderGraphFunction)
1473 GxShaderGraphFunctionLdexp(TYPE genericType);
1476 GxShaderGraphFunctionLdexp(
void) {}
1484class GxShaderGraphFunctionLength :
public GxShaderGraphFunction
1491 GX_RTTI_CLASS(GxShaderGraphFunctionLength, GxShaderGraphFunction)
1502 GxShaderGraphFunctionLength(TYPE genericType);
1505 GxShaderGraphFunctionLength(
void) {}
1513class GxShaderGraphFunctionLerp :
public GxShaderGraphFunction
1520 GX_RTTI_CLASS(GxShaderGraphFunctionLerp, GxShaderGraphFunction)
1531 GxShaderGraphFunctionLerp(TYPE genericType);
1534 GxShaderGraphFunctionLerp(
void) {}
1542class GxShaderGraphFunctionLit :
public GxShaderGraphFunction
1549 GX_RTTI_CLASS(GxShaderGraphFunctionLit, GxShaderGraphFunction)
1560 GxShaderGraphFunctionLit(TYPE genericType);
1563 GxShaderGraphFunctionLit(
void) {}
1571class GxShaderGraphFunctionLog :
public GxShaderGraphFunction
1578 GX_RTTI_CLASS(GxShaderGraphFunctionLog, GxShaderGraphFunction)
1589 GxShaderGraphFunctionLog(TYPE genericType);
1592 GxShaderGraphFunctionLog(
void) {}
1600class GxShaderGraphFunctionLog10 :
public GxShaderGraphFunction
1607 GX_RTTI_CLASS(GxShaderGraphFunctionLog10, GxShaderGraphFunction)
1618 GxShaderGraphFunctionLog10(TYPE genericType);
1621 GxShaderGraphFunctionLog10(
void) {}
1629class GxShaderGraphFunctionLog2 :
public GxShaderGraphFunction
1636 GX_RTTI_CLASS(GxShaderGraphFunctionLog2, GxShaderGraphFunction)
1647 GxShaderGraphFunctionLog2(TYPE genericType);
1650 GxShaderGraphFunctionLog2(
void) {}
1658class GxShaderGraphFunctionMad :
public GxShaderGraphFunction
1665 GX_RTTI_CLASS(GxShaderGraphFunctionMad, GxShaderGraphFunction)
1676 GxShaderGraphFunctionMad(TYPE genericType);
1679 GxShaderGraphFunctionMad(
void) {}
1687class GxShaderGraphFunctionMax :
public GxShaderGraphFunction
1694 GX_RTTI_CLASS(GxShaderGraphFunctionMax, GxShaderGraphFunction)
1705 GxShaderGraphFunctionMax(TYPE genericType);
1708 GxShaderGraphFunctionMax(
void) {}
1716class GxShaderGraphFunctionMin :
public GxShaderGraphFunction
1723 GX_RTTI_CLASS(GxShaderGraphFunctionMin, GxShaderGraphFunction)
1734 GxShaderGraphFunctionMin(TYPE genericType);
1737 GxShaderGraphFunctionMin(
void) {}
1745class GxShaderGraphFunctionMul :
public GxShaderGraphFunction
1752 GX_RTTI_CLASS(GxShaderGraphFunctionMul, GxShaderGraphFunction)
1763 GxShaderGraphFunctionMul(TYPE genericType);
1766 GxShaderGraphFunctionMul(
void) {}
1774class GxShaderGraphFunctionNoise :
public GxShaderGraphFunction
1781 GX_RTTI_CLASS(GxShaderGraphFunctionNoise, GxShaderGraphFunction)
1792 GxShaderGraphFunctionNoise(TYPE genericType);
1795 GxShaderGraphFunctionNoise(
void) {}
1803class GxShaderGraphFunctionNormalize :
public GxShaderGraphFunction
1810 GX_RTTI_CLASS(GxShaderGraphFunctionNormalize, GxShaderGraphFunction)
1821 GxShaderGraphFunctionNormalize(TYPE genericType);
1824 GxShaderGraphFunctionNormalize(
void) {}
1832class GxShaderGraphFunctionPow :
public GxShaderGraphFunction
1839 GX_RTTI_CLASS(GxShaderGraphFunctionPow, GxShaderGraphFunction)
1850 GxShaderGraphFunctionPow(TYPE genericType);
1853 GxShaderGraphFunctionPow(
void) {}
1861class GxShaderGraphFunctionRadians :
public GxShaderGraphFunction
1868 GX_RTTI_CLASS(GxShaderGraphFunctionRadians, GxShaderGraphFunction)
1879 GxShaderGraphFunctionRadians(TYPE genericType);
1882 GxShaderGraphFunctionRadians(
void) {}
1890class GxShaderGraphFunctionRcp :
public GxShaderGraphFunction
1897 GX_RTTI_CLASS(GxShaderGraphFunctionRcp, GxShaderGraphFunction)
1908 GxShaderGraphFunctionRcp(TYPE genericType);
1911 GxShaderGraphFunctionRcp(
void) {}
1919class GxShaderGraphFunctionReflect :
public GxShaderGraphFunction
1926 GX_RTTI_CLASS(GxShaderGraphFunctionReflect, GxShaderGraphFunction)
1937 GxShaderGraphFunctionReflect(TYPE genericType);
1940 GxShaderGraphFunctionReflect(
void) {}
1948class GxShaderGraphFunctionRound :
public GxShaderGraphFunction
1955 GX_RTTI_CLASS(GxShaderGraphFunctionRound, GxShaderGraphFunction)
1966 GxShaderGraphFunctionRound(TYPE genericType);
1969 GxShaderGraphFunctionRound(
void) {}
1977class GxShaderGraphFunctionRsqrt :
public GxShaderGraphFunction
1984 GX_RTTI_CLASS(GxShaderGraphFunctionRsqrt, GxShaderGraphFunction)
1995 GxShaderGraphFunctionRsqrt(TYPE genericType);
1998 GxShaderGraphFunctionRsqrt(
void) {}
2006class GxShaderGraphFunctionSaturate :
public GxShaderGraphFunction
2013 GX_RTTI_CLASS(GxShaderGraphFunctionSaturate, GxShaderGraphFunction)
2024 GxShaderGraphFunctionSaturate(TYPE genericType);
2027 GxShaderGraphFunctionSaturate(
void) {}
2035class GxShaderGraphFunctionSign :
public GxShaderGraphFunction
2042 GX_RTTI_CLASS(GxShaderGraphFunctionSign, GxShaderGraphFunction)
2053 GxShaderGraphFunctionSign(TYPE genericType);
2056 GxShaderGraphFunctionSign(
void) {}
2064class GxShaderGraphFunctionSin :
public GxShaderGraphFunction
2071 GX_RTTI_CLASS(GxShaderGraphFunctionSin, GxShaderGraphFunction)
2082 GxShaderGraphFunctionSin(TYPE genericType);
2085 GxShaderGraphFunctionSin(
void) {}
2093class GxShaderGraphFunctionSinh :
public GxShaderGraphFunction
2100 GX_RTTI_CLASS(GxShaderGraphFunctionSinh, GxShaderGraphFunction)
2111 GxShaderGraphFunctionSinh(TYPE genericType);
2114 GxShaderGraphFunctionSinh(
void) {}
2122class GxShaderGraphFunctionSmoothstep :
public GxShaderGraphFunction
2129 GX_RTTI_CLASS(GxShaderGraphFunctionSmoothstep, GxShaderGraphFunction)
2140 GxShaderGraphFunctionSmoothstep(TYPE genericType);
2143 GxShaderGraphFunctionSmoothstep(
void) {}
2151class GxShaderGraphFunctionSqrt :
public GxShaderGraphFunction
2158 GX_RTTI_CLASS(GxShaderGraphFunctionSqrt, GxShaderGraphFunction)
2169 GxShaderGraphFunctionSqrt(TYPE genericType);
2172 GxShaderGraphFunctionSqrt(
void) {}
2180class GxShaderGraphFunctionStep :
public GxShaderGraphFunction
2187 GX_RTTI_CLASS(GxShaderGraphFunctionStep, GxShaderGraphFunction)
2198 GxShaderGraphFunctionStep(TYPE genericType);
2201 GxShaderGraphFunctionStep(
void) {}
2209class GxShaderGraphFunctionSubtract :
public GxShaderGraphFunction
2216 GX_RTTI_CLASS(GxShaderGraphFunctionSubtract, GxShaderGraphFunction)
2227 GxShaderGraphFunctionSubtract(TYPE genericType);
2230 GxShaderGraphFunctionSubtract(
void) {}
2238class GxShaderGraphFunctionTan :
public GxShaderGraphFunction
2245 GX_RTTI_CLASS(GxShaderGraphFunctionTan, GxShaderGraphFunction)
2256 GxShaderGraphFunctionTan(TYPE genericType);
2259 GxShaderGraphFunctionTan(
void) {}
2267class GxShaderGraphFunctionTanh :
public GxShaderGraphFunction
2274 GX_RTTI_CLASS(GxShaderGraphFunctionTanh, GxShaderGraphFunction)
2285 GxShaderGraphFunctionTanh(TYPE genericType);
2288 GxShaderGraphFunctionTanh(
void) {}
2296class GxShaderGraphFunctionTranspose :
public GxShaderGraphFunction
2303 GX_RTTI_CLASS(GxShaderGraphFunctionTranspose, GxShaderGraphFunction)
2314 GxShaderGraphFunctionTranspose(TYPE genericType);
2317 GxShaderGraphFunctionTranspose(
void) {}
2325class GxShaderGraphFunctionTrunc :
public GxShaderGraphFunction
2332 GX_RTTI_CLASS(GxShaderGraphFunctionTrunc, GxShaderGraphFunction)
2343 GxShaderGraphFunctionTrunc(TYPE genericType);
2346 GxShaderGraphFunctionTrunc(
void) {}
2354class GxShaderGraphFunctionCreate :
public GxShaderGraphFunction
2361 GX_RTTI_CLASS(GxShaderGraphFunctionCreate, GxShaderGraphFunction)
2372 GxShaderGraphFunctionCreate(TYPE genericType);
2375 GxShaderGraphFunctionCreate(
void) {}
2383class GxShaderGraphFunctionSplit :
public GxShaderGraphFunction
2390 GX_RTTI_CLASS(GxShaderGraphFunctionSplit, GxShaderGraphFunction)
2401 GxShaderGraphFunctionSplit(TYPE genericType);
2404 GxShaderGraphFunctionSplit(
void) {}
2412class GxShaderGraphFunctionCalculateHalfVector :
public GxShaderGraphFunction
2419 GX_RTTI_CLASS(GxShaderGraphFunctionCalculateHalfVector, GxShaderGraphFunction)
2430 GxShaderGraphFunctionCalculateHalfVector(
void);
2438class GxShaderGraphFunctionCalculateFresnelSchlick :
public GxShaderGraphFunction
2445 GX_RTTI_CLASS(GxShaderGraphFunctionCalculateFresnelSchlick, GxShaderGraphFunction)
2456 GxShaderGraphFunctionCalculateFresnelSchlick(
void);
2464class GxShaderGraphFunctionDecodeDepth :
public GxShaderGraphFunction
2471 GX_RTTI_CLASS(GxShaderGraphFunctionDecodeDepth, GxShaderGraphFunction)
2482 GxShaderGraphFunctionDecodeDepth(
void);
2490class GxShaderGraphFunctionEncodeDepth :
public GxShaderGraphFunction
2497 GX_RTTI_CLASS(GxShaderGraphFunctionEncodeDepth, GxShaderGraphFunction)
2508 GxShaderGraphFunctionEncodeDepth(
void);
2516class GxShaderGraphFunctionEncodeHdr :
public GxShaderGraphFunction
2523 GX_RTTI_CLASS(GxShaderGraphFunctionEncodeHdr, GxShaderGraphFunction)
2534 GxShaderGraphFunctionEncodeHdr(
void);
2542class GxShaderGraphFunctionEncodeLogLUV :
public GxShaderGraphFunction
2549 GX_RTTI_CLASS(GxShaderGraphFunctionEncodeLogLUV, GxShaderGraphFunction)
2560 GxShaderGraphFunctionEncodeLogLUV(
void);
2568class GxShaderGraphFunctionDecodeLogLUV :
public GxShaderGraphFunction
2575 GX_RTTI_CLASS(GxShaderGraphFunctionDecodeLogLUV, GxShaderGraphFunction)
2586 GxShaderGraphFunctionDecodeLogLUV(
void);
2594class GxShaderGraphFunctionEncodeRGBE :
public GxShaderGraphFunction
2601 GX_RTTI_CLASS(GxShaderGraphFunctionEncodeRGBE, GxShaderGraphFunction)
2612 GxShaderGraphFunctionEncodeRGBE(
void);
2620class GxShaderGraphFunctionDecodeRGBE :
public GxShaderGraphFunction
2627 GX_RTTI_CLASS(GxShaderGraphFunctionDecodeRGBE, GxShaderGraphFunction)
2638 GxShaderGraphFunctionDecodeRGBE(
void);
2646class GxShaderGraphFunctionTexDepth1D :
public GxShaderGraphFunction
2653 GX_RTTI_CLASS(GxShaderGraphFunctionTexDepth1D, GxShaderGraphFunction)
2664 GxShaderGraphFunctionTexDepth1D(
void);
2672class GxShaderGraphFunctionTexDepth2D :
public GxShaderGraphFunction
2679 GX_RTTI_CLASS(GxShaderGraphFunctionTexDepth2D, GxShaderGraphFunction)
2690 GxShaderGraphFunctionTexDepth2D(
void);
2698class GxShaderGraphFunctionTexGamma1D :
public GxShaderGraphFunction
2705 GX_RTTI_CLASS(GxShaderGraphFunctionTexGamma1D, GxShaderGraphFunction)
2716 GxShaderGraphFunctionTexGamma1D(
void);
2724class GxShaderGraphFunctionTexGamma2D :
public GxShaderGraphFunction
2731 GX_RTTI_CLASS(GxShaderGraphFunctionTexGamma2D, GxShaderGraphFunction)
2742 GxShaderGraphFunctionTexGamma2D(
void);
2750class GxShaderGraphFunctionTexGammaCUBE :
public GxShaderGraphFunction
2757 GX_RTTI_CLASS(GxShaderGraphFunctionTexGammaCUBE, GxShaderGraphFunction)
2768 GxShaderGraphFunctionTexGammaCUBE(
void);
2776class GxShaderGraphFunctionTexHdr1D :
public GxShaderGraphFunction
2783 GX_RTTI_CLASS(GxShaderGraphFunctionTexHdr1D, GxShaderGraphFunction)
2794 GxShaderGraphFunctionTexHdr1D(
void);
2802class GxShaderGraphFunctionTexHdr2D :
public GxShaderGraphFunction
2809 GX_RTTI_CLASS(GxShaderGraphFunctionTexHdr2D, GxShaderGraphFunction)
2820 GxShaderGraphFunctionTexHdr2D(
void);
2828class GxShaderGraphFunctionTexHdrCUBE :
public GxShaderGraphFunction
2835 GX_RTTI_CLASS(GxShaderGraphFunctionTexHdrCUBE, GxShaderGraphFunction)
2846 GxShaderGraphFunctionTexHdrCUBE(
void);
2854class GxShaderGraphFunctionTexNormal1D :
public GxShaderGraphFunction
2861 GX_RTTI_CLASS(GxShaderGraphFunctionTexNormal1D, GxShaderGraphFunction)
2872 GxShaderGraphFunctionTexNormal1D(
void);
2880class GxShaderGraphFunctionTexNormal2D :
public GxShaderGraphFunction
2887 GX_RTTI_CLASS(GxShaderGraphFunctionTexNormal2D, GxShaderGraphFunction)
2898 GxShaderGraphFunctionTexNormal2D(
void);
2906class GxShaderGraphFunctionTexNormalScale2D :
public GxShaderGraphFunction
2913 GX_RTTI_CLASS(GxShaderGraphFunctionTexNormalScale2D, GxShaderGraphFunction)
2924 GxShaderGraphFunctionTexNormalScale2D(
void);
2932class GxShaderGraphFunctionTexViewNormalAndSpecularPower :
public GxShaderGraphFunction
2939 GX_RTTI_CLASS(GxShaderGraphFunctionTexViewNormalAndSpecularPower, GxShaderGraphFunction)
2950 GxShaderGraphFunctionTexViewNormalAndSpecularPower(
void);
2958class GxShaderGraphFunctionTexViewMetallicRoughness :
public GxShaderGraphFunction
2965 GX_RTTI_CLASS(GxShaderGraphFunctionTexViewMetallicRoughness, GxShaderGraphFunction)
2976 GxShaderGraphFunctionTexViewMetallicRoughness(
void);
2981GX_CORE_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE(__CLASS__)
GxClassBase継承の禁止宣言
Definition GxBase.h:240
void GxTypedObject
その他
Definition GxDefine.h:213
@ COLOR
4D パック済み 正規化される u8(GxColor形式)
配列クラス
Definition GxArray.h:18
オブジェクト基底クラス
Definition GxBase.h:88
constexpr GxClassBaseRoot & operator=(const GxClassBaseRoot &)
代入演算子
Definition GxBase.h:64
プロパティクラス
Definition GxProperty.h:48
PASS
描画パス定義
Definition GxRenderMaterial.h:39
実行時型情報クラス
Definition GxRtti.h:154
static const GxColor RED
赤
Definition GxColor.h:30
static const GxColor ORANGE
橙
Definition GxColor.h:36
static const GxColor DARK_CYAN
暗いシアン
Definition GxColor.h:44
static const GxColor MAGENTA
マゼンタ
Definition GxColor.h:32
static const GxColor DARK_GREEN
暗い緑
Definition GxColor.h:42
static const GxColor WHITE
白
Definition GxColor.h:37
文字列型クラス
Definition GxString.h:18
2次元ベクトル
Definition GxVector.h:34
3次元ベクトル
Definition GxVector.h:245
4次元ベクトル
Definition GxVector.h:582
32bitブーリアン
Definition GxDefine.h:173