OROCHI
 
Loading...
Searching...
No Matches
GxGuiFormShaderGraph.cpp File Reference

シェーダーグラフフォームGUI More...

#include "Gx.h"
Include dependency graph for GxGuiFormShaderGraph.cpp:

Macros

#define CREATE_SHADER_CONST(__NAME__, __TYPE__)
 
#define CREATE_SHADER_INPUT(__NAME__, __TYPE__)
 
#define CREATE_SHADER_FUNCTION(__NAME__)
 
#define CREATE_SHADER_FUNCTION_TYPE(__NAME__, __TYPE__)
 

Functions

 _PARAM (_nodes)
 
 _PARAM (_inputNodes)
 
 _PARAM (_pNodeOutput)
 
 _PARAM (_pNodeMaterialInput)
 
 _PARAM (_virtualName)
 
 _PARAM_ATTRIBUTE (_pShaderElement, GxProperty::ATTRIBUTE_HIDE)
 
 _PARAM_ATTRIBUTE (_inputConnects, GxProperty::ATTRIBUTE_HIDE)
 
 _PARAM (_defaultValues)
 
 _PARAM_ATTRIBUTE (_outputConnects, GxProperty::ATTRIBUTE_HIDE)
 
 _PARAM_ATTRIBUTE (_position, GxProperty::ATTRIBUTE_HIDE)
 
 _PARAM_ATTRIBUTE (_size, GxProperty::ATTRIBUTE_HIDE)
 
 _PARAM (_label)
 
 _ARRAY (_labels)
 
 _PARAM (_value)
 
 _RESOURCE_CUSTOM (GxResTexture, "テクスチャリソース", &GxGuiFormShaderGraph::GxGraphNodeSampler::getPropertyTextureResource, &GxGuiFormShaderGraph::GxGraphNodeSampler::setPropertyTextureResource)
 
 _DYNAMIC_STRING_POINTER ("_ppFunctionLabels", &GxGraphNodeOutput::getPropertyFunctionLabel, &GxGraphNodeOutput::setPropertyFunctionLabel, &GxGraphNodeOutput::getFunctionLabelCount, &GxGraphNodeOutput::setFunctionLabelCount)
 
 _ENUM_ATTRIBUTE_GUI (_outputType, GxProperty::ATTRIBUTE_READONLY, GxShaderGraphElement::TYPE)
 
 _PARAM_ATTRIBUTE (_materialFunctionGuid, GxProperty::ATTRIBUTE_HIDE)
 
 _PARAM (_pOutputNode)
 
 _PARAM (_pInputNode)
 
 _PARAM (_outputIndex)
 
 _PARAM (_inputIndex)
 

Detailed Description

シェーダーグラフフォームGUI

Author
Copyright (C)2023 AHIRU Co., Ltd. All rights reserved.
Tahir Arai

Macro Definition Documentation

◆ CREATE_SHADER_CONST

#define CREATE_SHADER_CONST ( __NAME__,
__TYPE__ )
Value:
{ static GxShaderGraphConst constValue(__NAME__, __TYPE__); _staticElements.addBottom(&constValue); }

◆ CREATE_SHADER_FUNCTION

#define CREATE_SHADER_FUNCTION ( __NAME__)
Value:
{ static GxShaderGraphFunction##__NAME__ function; _staticElements.addBottom(&function); }

◆ CREATE_SHADER_FUNCTION_TYPE

#define CREATE_SHADER_FUNCTION_TYPE ( __NAME__,
__TYPE__ )
Value:
{ static GxShaderGraphFunction##__NAME__ function(__TYPE__); _staticElements.addBottom(&function); }

◆ CREATE_SHADER_INPUT

#define CREATE_SHADER_INPUT ( __NAME__,
__TYPE__ )
Value:
{ static GxShaderGraphInput input(__NAME__, __TYPE__); _staticElements.addBottom(&input); }