![]() |
Blender V2.61 - r43446
|
#include <nodes.h>
Public Types | |
| enum | Mapping { NONE = 0, X = 1, Y = 2, Z = 3 } |
| enum | Projection { FLAT, CUBE, TUBE, SPHERE } |
Public Member Functions | |
| TextureMapping () | |
| Transform | compute_transform () |
| bool | skip () |
| void | compile (SVMCompiler &compiler, int offset_in, int offset_out) |
Public Attributes | |
| float3 | translation |
| float3 | rotation |
| float3 | scale |
| Mapping | x_mapping |
| Mapping | y_mapping |
| Mapping | z_mapping |
| Projection | projection |
| CCL_NAMESPACE_BEGIN TextureMapping::TextureMapping | ( | ) |
Definition at line 30 of file nodes.cpp.
References FLAT, make_float3(), projection, rotation, scale, translation, X, x_mapping, Y, y_mapping, Z, and z_mapping.
| void TextureMapping::compile | ( | SVMCompiler & | compiler, |
| int | offset_in, | ||
| int | offset_out | ||
| ) |
Definition at line 76 of file nodes.cpp.
References SVMCompiler::add_node(), compute_transform(), NODE_MAPPING, SVM_STACK_INVALID, Transform::w, Transform::x, Transform::y, and Transform::z.
| Transform TextureMapping::compute_transform | ( | ) |
Definition at line 43 of file nodes.cpp.
References make_float3(), NONE, rotation, scale, transform_euler(), transform_scale(), transform_translate(), translation, x_mapping, y_mapping, and z_mapping.
Referenced by compile().
| bool TextureMapping::skip | ( | ) |
Definition at line 48 of file nodes.h.
Referenced by TextureMapping().
Definition at line 41 of file nodes.h.
Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().
Definition at line 42 of file nodes.h.
Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().
Definition at line 40 of file nodes.h.
Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().
Definition at line 45 of file nodes.h.
Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().
Definition at line 45 of file nodes.h.
Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().
Definition at line 45 of file nodes.h.
Referenced by compute_transform(), get_tex_mapping(), skip(), and TextureMapping().