|
| | PBRMaterial (const PBRMaterialModel &model) |
| |
| | PBRMaterial (ResourceData &resourceData, const PBRMaterialModel &model) |
| |
| const ColorMaterialProperty & | getBaseColor () const |
| |
| Color | getBaseColorValue () |
| |
| const HTexture & | getBaseColorTexture () |
| |
| const GPUSamplerDescriptor & | getBaseColorSampler () |
| |
| const MaterialPropertySwizzle< Color > & | getBaseColorSwizzle () |
| |
| void | setBaseColor (const ColorMaterialProperty &value) |
| |
| void | setBaseColor (const Color &value) |
| |
| void | setBaseColorValue (const Color &value) |
| |
| void | setBaseColorTexture (const HTexture &texture) |
| |
| void | setBaseColorSampler (const GPUSamplerDescriptor &sampler) |
| |
| void | setBaseColorSwizzle (const MaterialPropertySwizzle< Color > &swizzle) |
| |
| void | setBaseColor (const HTexture &texture, const Color &value=Color(1)) |
| |
| const DoubleMaterialProperty & | getRoughness () const |
| |
| Double | getRoughnessValue () |
| |
| const HTexture & | getRoughnessTexture () |
| |
| const GPUSamplerDescriptor & | getRoughnessSampler () |
| |
| const MaterialPropertySwizzle< Double > & | getRoughnessSwizzle () |
| |
| void | setRoughness (const DoubleMaterialProperty &value) |
| |
| void | setRoughness (const Double &value) |
| |
| void | setRoughnessValue (const Double &value) |
| |
| void | setRoughnessTexture (const HTexture &texture) |
| |
| void | setRoughnessSampler (const GPUSamplerDescriptor &sampler) |
| |
| void | setRoughnessSwizzle (const MaterialPropertySwizzle< Double > &swizzle) |
| |
| void | setRoughness (const HTexture &texture, const Double &value=Double(1)) |
| |
| const DoubleMaterialProperty & | getMetallic () const |
| |
| Double | getMetallicValue () |
| |
| const HTexture & | getMetallicTexture () |
| |
| const GPUSamplerDescriptor & | getMetallicSampler () |
| |
| const MaterialPropertySwizzle< Double > & | getMetallicSwizzle () |
| |
| void | setMetallic (const DoubleMaterialProperty &value) |
| |
| void | setMetallic (const Double &value) |
| |
| void | setMetallicValue (const Double &value) |
| |
| void | setMetallicTexture (const HTexture &texture) |
| |
| void | setMetallicSampler (const GPUSamplerDescriptor &sampler) |
| |
| void | setMetallicSwizzle (const MaterialPropertySwizzle< Double > &swizzle) |
| |
| void | setMetallic (const HTexture &texture, const Double &value=Double(1)) |
| |
| const Vector3MaterialProperty & | getNormal () const |
| |
| Vector3 | getNormalValue () |
| |
| const HTexture & | getNormalTexture () |
| |
| const GPUSamplerDescriptor & | getNormalSampler () |
| |
| const MaterialPropertySwizzle< Vector3 > & | getNormalSwizzle () |
| |
| void | setNormal (const Vector3MaterialProperty &value) |
| |
| void | setNormal (const Vector3 &value) |
| |
| void | setNormalValue (const Vector3 &value) |
| |
| void | setNormalTexture (const HTexture &texture) |
| |
| void | setNormalSampler (const GPUSamplerDescriptor &sampler) |
| |
| void | setNormalSwizzle (const MaterialPropertySwizzle< Vector3 > &swizzle) |
| |
| void | setNormal (const HTexture &texture, const Vector3 &value=Vector3(1)) |
| |
| const ColorMaterialProperty & | getEmission () const |
| |
| Color | getEmissionValue () |
| |
| const HTexture & | getEmissionTexture () |
| |
| const GPUSamplerDescriptor & | getEmissionSampler () |
| |
| const MaterialPropertySwizzle< Color > & | getEmissionSwizzle () |
| |
| void | setEmission (const ColorMaterialProperty &value) |
| |
| void | setEmission (const Color &value) |
| |
| void | setEmissionValue (const Color &value) |
| |
| void | setEmissionTexture (const HTexture &texture) |
| |
| void | setEmissionSampler (const GPUSamplerDescriptor &sampler) |
| |
| void | setEmissionSwizzle (const MaterialPropertySwizzle< Color > &swizzle) |
| |
| void | setEmission (const HTexture &texture, const Color &value=Color(1)) |
| |
| const Vector3MaterialProperty & | getDisplacement () const |
| |
| Vector3 | getDisplacementValue () |
| |
| const HTexture & | getDisplacementTexture () |
| |
| const GPUSamplerDescriptor & | getDisplacementSampler () |
| |
| const MaterialPropertySwizzle< Vector3 > & | getDisplacementSwizzle () |
| |
| void | setDisplacement (const Vector3MaterialProperty &value) |
| |
| void | setDisplacement (const Vector3 &value) |
| |
| void | setDisplacementValue (const Vector3 &value) |
| |
| void | setDisplacementTexture (const HTexture &texture) |
| |
| void | setDisplacementSampler (const GPUSamplerDescriptor &sampler) |
| |
| void | setDisplacementSwizzle (const MaterialPropertySwizzle< Vector3 > &swizzle) |
| |
| void | setDisplacement (const HTexture &texture, const Vector3 &value=Vector3(1)) |
| |
| const DoubleMaterialProperty & | getAmbientOcclusion () const |
| |
| Double | getAmbientOcclusionValue () |
| |
| const HTexture & | getAmbientOcclusionTexture () |
| |
| const GPUSamplerDescriptor & | getAmbientOcclusionSampler () |
| |
| const MaterialPropertySwizzle< Double > & | getAmbientOcclusionSwizzle () |
| |
| void | setAmbientOcclusion (const DoubleMaterialProperty &value) |
| |
| void | setAmbientOcclusion (const Double &value) |
| |
| void | setAmbientOcclusionValue (const Double &value) |
| |
| void | setAmbientOcclusionTexture (const HTexture &texture) |
| |
| void | setAmbientOcclusionSampler (const GPUSamplerDescriptor &sampler) |
| |
| void | setAmbientOcclusionSwizzle (const MaterialPropertySwizzle< Double > &swizzle) |
| |
| void | setAmbientOcclusion (const HTexture &texture, const Double &value=Double(1)) |
| |
| MaterialNormalMapSpace | getNormalMapType () const |
| | Determines if the normals are stored in tangent space, object-space or world-space.
|
| |
| void | setNormalMapSpace (const MaterialNormalMapSpace normalMapSpace) |
| | Determines if the normals are stored in tangent space, object-space or world-space.
|
| |
| template<typename Func > |
| decltype(auto) | changeModel (Func &&func) |
| |
| const PBRMaterialModel & | getModel () const |
| |
| void | setModel (const PBRMaterialModel &model) |
| |
| ResourceHandle< PBRMaterial > | getResourceHandle () const noexcept |
| | Generates a hash for the provided type.
|
| |
| SPtr< PBRMaterial > | getShared () noexcept |
| | Gets a shared pointer to the resource.
|
| |
| SPtr< const PBRMaterial > | getShared () const noexcept |
| | Gets a shared pointer to the resource.
|
| |
| const ResourceTypeInfo & | getResourceType () const noexcept override |
| | Returns the resource type information descriptor.
|
| |
| | TResource (ResourceData &data, InputStream &dataStream) |
| |
| void | serialize (OutputStream &dataStream) const override |
| | Serializes a resource by writing data to dataStream.
|
| |
| ResourceHandle< Material > | getResourceHandle () const noexcept |
| | Generates a hash for the provided type.
|
| |
| SPtr< Material > | getShared () noexcept |
| | Gets a shared pointer to the resource.
|
| |
| SPtr< const Material > | getShared () const noexcept |
| | Gets a shared pointer to the resource.
|
| |
| | TResource (ResourceData &data, InputStream &dataStream) |
| |
| | Resource () |
| | Default constructor for the Resource class.
|
| |
| | Resource (ResourceData &data) |
| | Creates a new Resource instance by passing a ResourceData instance.
|
| |
| virtual | ~Resource () noexcept=default |
| | Resource virtual destructor.
|
| |
| ResourceManager * | getResourceManager () const noexcept |
| |
| HResource | getResourceHandle () const noexcept |
| | Generates a hash for the provided type.
|
| |
| UUID | getResourceID () const noexcept |
| |
| HResource | getParentResource () const noexcept |
| | A parent resource to which this resource is attached to.
|
| |
| SPtr< ResourceMetadata > | getResourceMetadata () const noexcept |
| | A pointer to the user-defined resource metadata.
|
| |
| const PackagePtr & | getPackage () const noexcept |
| | The package from which the resource was loaded from.
|
| |
| template<typename T = Resource> |
| SPtr< T > | getShared () noexcept |
| | Gets a shared pointer to the resource.
|
| |
| template<typename T = Resource> |
| SPtr< const T > | getShared () const noexcept |
| | Gets a shared pointer to the resource.
|
| |
| | Resource (ResourceData &data, InputStream &dataStream) |
| | Creates a new resource by reading data from dataStream.
|
| |
| virtual | ~IReflectable () noexcept=default |
| |
A material type that uses a PBR model.