|
virtual MaterialPtr | createShared (std::wstring *warnings=0) const |
|
virtual MaterialPtr | createSharedAndReset (std::wstring *warnings=0) |
|
| MaterialBuilder () |
|
| MaterialBuilder (const ShaderPtr &shader) |
|
| MaterialBuilder (const MaterialPtr &material) |
|
virtual void | setTexture (const std::wstring &key, const TexturePtr &val, const std::wstring &resolveMapKey) |
|
virtual void | setTextureArray (const std::wstring &key, const TexturePtrVector &val, const WStringVector &resolveMapKeys) |
|
virtual void | setTextureArrayItem (const std::wstring &key, size_t index, const TexturePtr &val, const std::wstring &resolveMapKey) |
|
|
virtual void | setBool (const std::wstring &key, Bool val) |
|
virtual void | setInt (const std::wstring &key, int32_t val) |
|
virtual void | setFloat (const std::wstring &key, double val) |
|
virtual void | setString (const std::wstring &key, const std::wstring &val) |
|
virtual void | setBoolArray (const std::wstring &key, const BoolVector &val) |
|
virtual void | setIntArray (const std::wstring &key, const Int32Vector &val) |
|
virtual void | setFloatArray (const std::wstring &key, const DoubleVector &val) |
|
virtual void | setStringArray (const std::wstring &key, const WStringVector &val) |
|
virtual void | setBlindData (const std::wstring &key, void *val) |
|
SharedPtrBuilder & | operator= (const SharedPtrBuilder &)=delete |
|
| SharedPtrBuilder (const SharedPtrBuilder &)=delete |
|
virtual void | ambient_b (double val)=0 |
|
virtual void | ambient_g (double val)=0 |
|
virtual void | ambient_r (double val)=0 |
|
virtual void | ambientColor (const std::vector< double > &val)=0 |
|
virtual void | bumpMap (const std::vector< prtx::TexturePtr > &val, const std::vector< std::wstring > &resolveMapKeys)=0 |
|
virtual void | bumpmap_rw (double val)=0 |
|
virtual void | bumpmap_su (double val)=0 |
|
virtual void | bumpmap_sv (double val)=0 |
|
virtual void | bumpmap_tu (double val)=0 |
|
virtual void | bumpmap_tv (double val)=0 |
|
virtual void | bumpValue (double val)=0 |
|
virtual void | color_b (double val)=0 |
|
virtual void | color_g (double val)=0 |
|
virtual void | color_r (double val)=0 |
|
virtual void | colormap_rw (double val)=0 |
|
virtual void | colormap_su (double val)=0 |
|
virtual void | colormap_sv (double val)=0 |
|
virtual void | colormap_tu (double val)=0 |
|
virtual void | colormap_tv (double val)=0 |
|
virtual void | diffuseColor (const std::vector< double > &val)=0 |
|
virtual void | diffuseMap (const std::vector< prtx::TexturePtr > &val, const std::vector< std::wstring > &resolveMapKeys)=0 |
|
virtual void | dirtmap_rw (double val)=0 |
|
virtual void | dirtmap_su (double val)=0 |
|
virtual void | dirtmap_sv (double val)=0 |
|
virtual void | dirtmap_tu (double val)=0 |
|
virtual void | dirtmap_tv (double val)=0 |
|
virtual void | doubleSided (bool val)=0 |
|
virtual void | emissive_b (double val)=0 |
|
virtual void | emissive_g (double val)=0 |
|
virtual void | emissive_r (double val)=0 |
|
virtual void | emissiveColor (const std::vector< double > &val)=0 |
|
virtual void | emissiveMap (const std::vector< prtx::TexturePtr > &val, const std::vector< std::wstring > &resolveMapKeys)=0 |
|
virtual void | emissivemap_rw (double val)=0 |
|
virtual void | emissivemap_su (double val)=0 |
|
virtual void | emissivemap_sv (double val)=0 |
|
virtual void | emissivemap_tu (double val)=0 |
|
virtual void | emissivemap_tv (double val)=0 |
|
virtual void | metallic (double val)=0 |
|
virtual void | metallicMap (const std::vector< prtx::TexturePtr > &val, const std::vector< std::wstring > &resolveMapKeys)=0 |
|
virtual void | metallicmap_rw (double val)=0 |
|
virtual void | metallicmap_su (double val)=0 |
|
virtual void | metallicmap_sv (double val)=0 |
|
virtual void | metallicmap_tu (double val)=0 |
|
virtual void | metallicmap_tv (double val)=0 |
|
virtual void | name (const std::wstring &val)=0 |
|
virtual void | normalMap (const std::vector< prtx::TexturePtr > &val, const std::vector< std::wstring > &resolveMapKeys)=0 |
|
virtual void | normalmap_rw (double val)=0 |
|
virtual void | normalmap_su (double val)=0 |
|
virtual void | normalmap_sv (double val)=0 |
|
virtual void | normalmap_tu (double val)=0 |
|
virtual void | normalmap_tv (double val)=0 |
|
virtual void | occlusionMap (const std::vector< prtx::TexturePtr > &val, const std::vector< std::wstring > &resolveMapKeys)=0 |
|
virtual void | occlusionmap_rw (double val)=0 |
|
virtual void | occlusionmap_su (double val)=0 |
|
virtual void | occlusionmap_sv (double val)=0 |
|
virtual void | occlusionmap_tu (double val)=0 |
|
virtual void | occlusionmap_tv (double val)=0 |
|
virtual void | opacity (double val)=0 |
|
virtual void | opacityMap (const std::vector< prtx::TexturePtr > &val, const std::vector< std::wstring > &resolveMapKeys)=0 |
|
virtual void | opacitymap_cutoff (double val)=0 |
|
virtual void | opacitymap_mode (const std::wstring &val)=0 |
|
virtual void | opacitymap_rw (double val)=0 |
|
virtual void | opacitymap_su (double val)=0 |
|
virtual void | opacitymap_sv (double val)=0 |
|
virtual void | opacitymap_tu (double val)=0 |
|
virtual void | opacitymap_tv (double val)=0 |
|
virtual void | reflectivity (double val)=0 |
|
virtual void | roughness (double val)=0 |
|
virtual void | roughnessMap (const std::vector< prtx::TexturePtr > &val, const std::vector< std::wstring > &resolveMapKeys)=0 |
|
virtual void | roughnessmap_rw (double val)=0 |
|
virtual void | roughnessmap_su (double val)=0 |
|
virtual void | roughnessmap_sv (double val)=0 |
|
virtual void | roughnessmap_tu (double val)=0 |
|
virtual void | roughnessmap_tv (double val)=0 |
|
virtual void | shader (const std::wstring &val)=0 |
|
virtual void | shininess (double val)=0 |
|
virtual void | specular_b (double val)=0 |
|
virtual void | specular_g (double val)=0 |
|
virtual void | specular_r (double val)=0 |
|
virtual void | specularColor (const std::vector< double > &val)=0 |
|
virtual void | specularMap (const std::vector< prtx::TexturePtr > &val, const std::vector< std::wstring > &resolveMapKeys)=0 |
|
virtual void | specularmap_rw (double val)=0 |
|
virtual void | specularmap_su (double val)=0 |
|
virtual void | specularmap_sv (double val)=0 |
|
virtual void | specularmap_tu (double val)=0 |
|
virtual void | specularmap_tv (double val)=0 |
|
A class to build Material instances. A MaterialBuilder is initialized with a Shader which defines the allowed key set. Analogous to the Material, there is a set of keys defined by the default Shader which can always be set (see Material for the full list) via the AttributableBuilder interface, and there are direct setters in the BuiltinMaterialAttributesBuilder interface.
The AttributableBuilder interface is extended to the Texture type.