#include <hps.h>
Classes | |
class | File |
class | ImportOptionsKit |
Detailed Description
The LegacyShader class contains objects for importing shader source files and enumerations used when defining legacy shaders in Visualize. Legacy shaders are for internal use only - customers should not use legacy shaders.
Member Enumeration Documentation
◆ Parameterization
|
strong |
Enumeration of the parameterization sources for legacy shaders, i.e., how to map the legacy shader to geometry.
Enumerator | |
---|---|
Cylinder | Use a cylindrical mapping for the legacy shader. |
PhysicalReflection | LegacyShader Parameterization. |
Object | Use the (x,y,z) coordinates for the object before transforms have been applied for the legacy shader. |
NaturalUV | Use the natural mapping for meshes, NURBS surfaces and shells for the legacy shader. For meshes, legacy shaders will be stretched in the range [0,1]. For NURBS surfaces, legacy shaders will be mapped in the range [0,(control point count - degree)]. For shells, legacy shaders will be mapped such that u=x+z and v=x+y where (x,y,z) is in object space. |
ReflectionVector | LegacyShader Parameterization. |
SurfaceNormal | LegacyShader Parameterization. |
Sphere | Use a spherical mapping for the legacy shader. |
UV | Use the mapping explicitly defined on the geometry for the legacy shader. |
World | Use the (x, y, z) coordinates for the object after transforms have been applied for the legacy shader. |
The documentation for this class was generated from the following file:
- include/hps.h