#include <hps.h>
Public Types | |
enum | Channel : uint32_t { Channel::DiffuseTexture = 2, Channel::Specular = 3, Channel::Emission = 4, Channel::Transmission = 5, Channel::Mirror = 6, Channel::Bump = 7, Channel::EnvironmentTexture = 8, Channel::EnvironmentCubeMap = 9 } |
enum | ChannelMapping : uint32_t { ChannelMapping::Red, ChannelMapping::Green, ChannelMapping::Blue, ChannelMapping::Alpha, ChannelMapping::Zero, ChannelMapping::One, ChannelMapping::Luminance } |
enum | Decimation : uint32_t { Decimation::None, Decimation::Anisotropic, Decimation::Mipmap } |
enum | Interpolation : uint32_t { Interpolation::None, Interpolation::Bilinear } |
enum | Parameterization : uint32_t { Parameterization::Cylinder, Parameterization::PhysicalReflection, Parameterization::Object, Parameterization::NaturalUV, Parameterization::ReflectionVector, Parameterization::SurfaceNormal, Parameterization::Sphere, Parameterization::UV, Parameterization::World } |
enum | Tiling : uint32_t { Tiling::Clamp, Tiling::Repeat, Tiling::Reflect, Tiling::Trim } |
Detailed Description
The Material::Texture class is a concept class for texture-related enum classes.
Member Enumeration Documentation
◆ Channel
|
strong |
◆ ChannelMapping
|
strong |
◆ Decimation
|
strong |
Enumeration of the various decimation filters for textures. These are used when the texture needs to minimized.
Enumerator | |
---|---|
None | No down-sampling will be performed. Data will be retrieved via the specified Texture::Interpolation filter. |
Anisotropic | The texture will be down-sampled to non-square image sizes which will get used for sampling and filtering based on the angle between the normal of a textured surface and the view vector. |
Mipmap | The texture will be down-sampled to square, power-of-two-sized images which will get used for sampling and filtering. |
◆ Interpolation
|
strong |
Enumeration of the various interpolation filters for textures. These are used when the texture needs to be magnified.
◆ Parameterization
|
strong |
Enumeration of the parameterization sources for textures.
Enumerator | |
---|---|
Cylinder | Use a cylindrical mapping for the texture. |
PhysicalReflection | Texture Parameterization. |
Object | Use the (x,y,z) coordinates for the object before transforms have been applied for the texture parameters. |
NaturalUV | Use the natural mapping for meshes, NURBS surfaces and shells for the texture. For meshes, textures will be stretched in the range [0,1]. For NURBS surfaces, textures will be mapped in the range [0,(control point count - degree)]. For shells, textures will be mapped such that u=x+z and v=x+y where (x,y,z) is in object space. |
ReflectionVector | Texture Parameterization. |
SurfaceNormal | Texture Parameterization. |
Sphere | Use a spherical mapping for the texture. |
UV | Use the mapping explicitly defined on the geometry for the texture. |
World | Use the (x, y, z) coordinates for the object after transforms have been applied for the texture parameters. |
◆ Tiling
|
strong |
Enumeration of the tiling modes for textures.
The documentation for this class was generated from the following file:
- include/hps.h