• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C++ sh_node_type_base函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C++中sh_node_type_base函数的典型用法代码示例。如果您正苦于以下问题:C++ sh_node_type_base函数的具体用法?C++ sh_node_type_base怎么用?C++ sh_node_type_base使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了sh_node_type_base函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: register_node_type_sh_combhsv

void register_node_type_sh_combhsv(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_COMBHSV, "Combine HSV", NODE_CLASS_CONVERTOR, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, sh_node_combhsv_in, sh_node_combhsv_out);

	nodeRegisterType(&ntype);
}
开发者ID:Eibriel,项目名称:kiriblender,代码行数:10,代码来源:node_shader_sepcombHSV.c


示例2: register_node_type_sh_particle_info

/* node type definition */
void register_node_type_sh_particle_info(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_PARTICLE_INFO, "Particle Info", NODE_CLASS_INPUT, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, NULL, outputs);

	nodeRegisterType(&ntype);
}
开发者ID:244xiao,项目名称:blender,代码行数:11,代码来源:node_shader_particle_info.c


示例3: register_node_type_sh_script

void register_node_type_sh_script(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_SCRIPT, "Script", NODE_CLASS_SCRIPT, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_init(&ntype, init);
	node_type_storage(&ntype, "NodeShaderScript", node_free_script, node_copy_script);

	nodeRegisterType(&ntype);
}
开发者ID:Andrewson3D,项目名称:blender-for-vray,代码行数:11,代码来源:node_shader_script.c


示例4: register_node_type_sh_seprgb

void register_node_type_sh_seprgb(void)
{
  static bNodeType ntype;

  sh_node_type_base(&ntype, SH_NODE_SEPRGB, "Separate RGB", NODE_CLASS_CONVERTOR, 0);
  node_type_socket_templates(&ntype, sh_node_seprgb_in, sh_node_seprgb_out);
  node_type_exec(&ntype, NULL, NULL, node_shader_exec_seprgb);
  node_type_gpu(&ntype, gpu_shader_seprgb);

  nodeRegisterType(&ntype);
}
开发者ID:dfelinto,项目名称:blender,代码行数:11,代码来源:node_shader_sepcombRGB.c


示例5: register_node_type_sh_value

void register_node_type_sh_value(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_VALUE, "Value", NODE_CLASS_INPUT, 0);
	node_type_compatibility(&ntype, NODE_OLD_SHADING | NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, NULL, sh_node_value_out);
	node_type_gpu(&ntype, gpu_shader_value);

	nodeRegisterType(&ntype);
}
开发者ID:244xiao,项目名称:blender,代码行数:11,代码来源:node_shader_value.c


示例6: register_node_type_sh_uvalongstroke

/* node type definition */
void register_node_type_sh_uvalongstroke(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_UVALONGSTROKE, "UV Along Stroke", NODE_CLASS_INPUT, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, NULL, sh_node_uvalongstroke_out);
	node_type_init(&ntype, NULL);

	nodeRegisterType(&ntype);
}
开发者ID:SuriyaaKudoIsc,项目名称:blender-git,代码行数:12,代码来源:node_shader_uvAlongStroke.c


示例7: register_node_type_sh_rgbtobw

void register_node_type_sh_rgbtobw(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_RGBTOBW, "RGB to BW", NODE_CLASS_CONVERTOR, 0);
	node_type_compatibility(&ntype, NODE_OLD_SHADING | NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, sh_node_rgbtobw_in, sh_node_rgbtobw_out);
	node_type_exec(&ntype, NULL, NULL, node_shader_exec_rgbtobw);
	node_type_gpu(&ntype, gpu_shader_rgbtobw);

	nodeRegisterType(&ntype);
}
开发者ID:Ichthyostega,项目名称:blender,代码行数:12,代码来源:node_shader_valToRgb.c


示例8: register_node_type_sh_ambient_occlusion

/* node type definition */
void register_node_type_sh_ambient_occlusion(void)
{
  static bNodeType ntype;

  sh_node_type_base(&ntype, SH_NODE_AMBIENT_OCCLUSION, "Ambient Occlusion", NODE_CLASS_INPUT, 0);
  node_type_socket_templates(&ntype, sh_node_ambient_occlusion_in, sh_node_ambient_occlusion_out);
  node_type_init(&ntype, node_shader_init_ambient_occlusion);
  node_type_storage(&ntype, "", NULL, NULL);
  node_type_gpu(&ntype, node_shader_gpu_ambient_occlusion);

  nodeRegisterType(&ntype);
}
开发者ID:dfelinto,项目名称:blender,代码行数:13,代码来源:node_shader_ambient_occlusion.c


示例9: register_node_type_sh_normal

void register_node_type_sh_normal(void)
{
	static bNodeType ntype;
	
	sh_node_type_base(&ntype, SH_NODE_NORMAL, "Normal", NODE_CLASS_OP_VECTOR, 0);
	node_type_compatibility(&ntype, NODE_OLD_SHADING | NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, sh_node_normal_in, sh_node_normal_out);
	node_type_exec(&ntype, NULL, NULL, node_shader_exec_normal);
	node_type_gpu(&ntype, gpu_shader_normal);
	
	nodeRegisterType(&ntype);
}
开发者ID:244xiao,项目名称:blender,代码行数:12,代码来源:node_shader_normal.c


示例10: register_node_type_sh_hair_info

/* node type definition */
void register_node_type_sh_hair_info(void)
{
  static bNodeType ntype;

  sh_node_type_base(&ntype, SH_NODE_HAIR_INFO, "Hair Info", NODE_CLASS_INPUT, 0);
  node_type_socket_templates(&ntype, NULL, outputs);
  node_type_init(&ntype, NULL);
  node_type_storage(&ntype, "", NULL, NULL);
  node_type_gpu(&ntype, node_shader_gpu_hair_info);

  nodeRegisterType(&ntype);
}
开发者ID:dfelinto,项目名称:blender,代码行数:13,代码来源:node_shader_hair_info.c


示例11: register_node_type_sh_volume_scatter

/* node type definition */
void register_node_type_sh_volume_scatter(void)
{
  static bNodeType ntype;

  sh_node_type_base(&ntype, SH_NODE_VOLUME_SCATTER, "Volume Scatter", NODE_CLASS_SHADER, 0);
  node_type_socket_templates(&ntype, sh_node_volume_scatter_in, sh_node_volume_scatter_out);
  node_type_init(&ntype, NULL);
  node_type_storage(&ntype, "", NULL, NULL);
  node_type_gpu(&ntype, node_shader_gpu_volume_scatter);

  nodeRegisterType(&ntype);
}
开发者ID:dfelinto,项目名称:blender,代码行数:13,代码来源:node_shader_volume_scatter.c


示例12: register_node_type_sh_bump

/* node type definition */
void register_node_type_sh_bump(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_BUMP, "Bump", NODE_CLASS_OP_VECTOR, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, sh_node_bump_in, sh_node_bump_out);
	node_type_storage(&ntype, "BumpNode", node_free_standard_storage, node_copy_standard_storage);
	node_type_gpu(&ntype, gpu_shader_bump);

	nodeRegisterType(&ntype);
}
开发者ID:244xiao,项目名称:blender,代码行数:13,代码来源:node_shader_bump.c


示例13: register_node_type_sh_texture

void register_node_type_sh_texture(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_TEXTURE, "Texture", NODE_CLASS_INPUT, NODE_PREVIEW);
	node_type_compatibility(&ntype, NODE_OLD_SHADING);
	node_type_socket_templates(&ntype, sh_node_texture_in, sh_node_texture_out);
	node_type_exec(&ntype, NULL, NULL, node_shader_exec_texture);
	node_type_gpu(&ntype, gpu_shader_texture);

	nodeRegisterType(&ntype);
}
开发者ID:Andrewson3D,项目名称:blender-for-vray,代码行数:12,代码来源:node_shader_texture.c


示例14: register_node_type_sh_layer_weight

/* node type definition */
void register_node_type_sh_layer_weight(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_LAYER_WEIGHT, "Layer Weight", NODE_CLASS_INPUT, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, sh_node_layer_weight_in, sh_node_layer_weight_out);
	node_type_init(&ntype, NULL);
	node_type_storage(&ntype, "", NULL, NULL);
	node_type_gpu(&ntype, node_shader_gpu_layer_weight);

	nodeRegisterType(&ntype);
}
开发者ID:ChunHungLiu,项目名称:blender,代码行数:14,代码来源:node_shader_layer_weight.c


示例15: register_node_type_sh_tex_checker

/* node type definition */
void register_node_type_sh_tex_checker(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_TEX_CHECKER, "Checker Texture", NODE_CLASS_TEXTURE, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, sh_node_tex_checker_in, sh_node_tex_checker_out);
	node_type_init(&ntype, node_shader_init_tex_checker);
	node_type_storage(&ntype, "NodeTexChecker", node_free_standard_storage, node_copy_standard_storage);
	node_type_gpu(&ntype, node_shader_gpu_tex_checker);

	nodeRegisterType(&ntype);
}
开发者ID:Andrewson3D,项目名称:blender-for-vray,代码行数:14,代码来源:node_shader_tex_checker.c


示例16: register_node_type_sh_tex_coord

/* node type definition */
void register_node_type_sh_tex_coord(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_TEX_COORD, "Texture Coordinate", NODE_CLASS_INPUT, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, NULL, sh_node_tex_coord_out);
	node_type_init(&ntype, NULL);
	node_type_storage(&ntype, "", NULL, NULL);
	node_type_gpu(&ntype, node_shader_gpu_tex_coord);

	nodeRegisterType(&ntype);
}
开发者ID:244xiao,项目名称:blender,代码行数:14,代码来源:node_shader_tex_coord.c


示例17: register_node_type_sh_bsdf_glass

/* node type definition */
void register_node_type_sh_bsdf_glass(void)
{
  static bNodeType ntype;

  sh_node_type_base(&ntype, SH_NODE_BSDF_GLASS, "Glass BSDF", NODE_CLASS_SHADER, 0);
  node_type_socket_templates(&ntype, sh_node_bsdf_glass_in, sh_node_bsdf_glass_out);
  node_type_size_preset(&ntype, NODE_SIZE_MIDDLE);
  node_type_init(&ntype, node_shader_init_glass);
  node_type_storage(&ntype, "", NULL, NULL);
  node_type_gpu(&ntype, node_shader_gpu_bsdf_glass);

  nodeRegisterType(&ntype);
}
开发者ID:dfelinto,项目名称:blender,代码行数:14,代码来源:node_shader_bsdf_glass.c


示例18: register_node_type_sh_fresnel

/* node type definition */
void register_node_type_sh_fresnel(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_FRESNEL, "Fresnel", NODE_CLASS_INPUT, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, sh_node_fresnel_in, sh_node_fresnel_out);
	node_type_init(&ntype, NULL);
	node_type_storage(&ntype, "", NULL, NULL);
	node_type_gpu(&ntype, node_shader_gpu_fresnel);

	nodeRegisterType(&ntype);
}
开发者ID:diekev,项目名称:blender,代码行数:14,代码来源:node_shader_fresnel.c


示例19: register_node_type_sh_bsdf_hair

/* node type definition */
void register_node_type_sh_bsdf_hair(void)
{
  static bNodeType ntype;

  sh_node_type_base(&ntype, SH_NODE_BSDF_HAIR, "Hair BSDF", NODE_CLASS_SHADER, 0);
  node_type_socket_templates(&ntype, sh_node_bsdf_hair_in, sh_node_bsdf_hair_out);
  node_type_size(&ntype, 150, 60, 200);
  node_type_init(&ntype, NULL);
  node_type_storage(&ntype, "", NULL, NULL);
  node_type_gpu(&ntype, node_shader_gpu_bsdf_hair);

  nodeRegisterType(&ntype);
}
开发者ID:dfelinto,项目名称:blender,代码行数:14,代码来源:node_shader_bsdf_hair.c


示例20: register_node_type_sh_emission

/* node type definition */
void register_node_type_sh_emission(void)
{
	static bNodeType ntype;

	sh_node_type_base(&ntype, SH_NODE_EMISSION, "Emission", NODE_CLASS_SHADER, 0);
	node_type_compatibility(&ntype, NODE_NEW_SHADING);
	node_type_socket_templates(&ntype, sh_node_emission_in, sh_node_emission_out);
	node_type_init(&ntype, NULL);
	node_type_storage(&ntype, "", NULL, NULL);
	node_type_gpu(&ntype, node_shader_gpu_emission);

	nodeRegisterType(&ntype);
}
开发者ID:244xiao,项目名称:blender,代码行数:14,代码来源:node_shader_emission.c



注:本文中的sh_node_type_base函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ sha1_init函数代码示例发布时间:2022-05-30
下一篇:
C++ sh_mmcif_bitset函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap