Implementation of base Mipmap Generation Concept class for derived classes. More...
#include <kanzi/core.ui/graphics3d/mipmap_generation_concept_impl.hpp>
Classes | |
struct | MipmapRenderData |
Defines the data required when custom mipmap material has been specified. More... | |
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::MipmapGenerationConcept | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Member Functions | |
MipmapGenerationConceptImpl (Domain *domain, string_view name) | |
Constructor. | |
void | onPropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) override |
Object::onPropertyChanged() implementation. | |
Protected Attributes | |
unique_ptr< MipmapRenderData > | m_mipmapRenderData |
Additional Inherited Members | |
Static Public Attributes inherited from kanzi::MipmapGenerationConcept | |
static PropertyType< ResourceSharedPtr > | ColorMipmapMaterial0Property |
Sets the material to use to generate the mipmaps for the first color result texture (Result Texture 0) of a CompositionTargetRenderPass. | |
static PropertyType< ResourceSharedPtr > | ColorMipmapMaterial1Property |
Sets the material to use to generate the mipmaps for the second color result texture (Result Texture 1) of a CompositionTargetRenderPass. | |
static PropertyType< ResourceSharedPtr > | ColorMipmapMaterial2Property |
Sets the material to use to generate the mipmaps for the third color result texture (Result Texture 2) of a CompositionTargetRenderPass. | |
static PropertyType< ResourceSharedPtr > | ColorMipmapMaterial3Property |
Sets the material to use to generate the mipmaps for the fourth color result texture (Result Texture 3) of a CompositionTargetRenderPass. | |
static PropertyType< ResourceSharedPtr > | CubemapMipmapMaterialProperty |
Sets the material to use to generate the mipmaps for the Result Texture of a CubeMapRenderPass. | |
static PropertyType< float > | CurrentMipmapLevelProperty |
Reports the mipmap level that Kanzi is generating. | |
static PropertyType< ResourceSharedPtr > | DepthMipmapMaterialProperty |
Sets the material to use to generate the mipmaps for the Result Depth Texture of a CompositionTargetRenderPass. | |
static PropertyType< ResourceSharedPtr > | MipmapSourceTextureProperty |
Reports the texture that contains the render target texture for which Kanzi creates mipmaps. | |
Implementation of base Mipmap Generation Concept class for derived classes.
TBaseClass | Type of the base class, derived from RenderPass. |
TDerivedClass | Type of the derived class that holds the Mipmap Generation properties. |
|
explicitprotected |
Constructor.
|
inlinestatic |
|
inline |
Sets the value of the CubemapMipmapMaterialProperty property.
value | The new value of the CubemapMipmapMaterial property. |
|
inline |
Gets the value of the CubemapMipmapMaterialProperty property.
|
inline |
Sets the value of the ColorMipmapMaterial0Property property.
value | The new value of the ColorMipmapMaterial0 property. |
|
inline |
Gets the value of the ColorMipmapMaterial0Property property.
|
inline |
Sets the value of the ColorMipmapMaterial1Property property.
value | The new value of the ColorMipmapMaterial1 property. |
|
inline |
Gets the value of the ColorMipmapMaterial1Property property.
|
inline |
Sets the value of the ColorMipmapMaterial2Property property.
value | The new value of the ColorMipmapMaterial2 property. |
|
inline |
Gets the value of the ColorMipmapMaterial2Property property.
|
inline |
Sets the value of the ColorMipmapMaterial3Property property.
value | The new value of the ColorMipmapMaterial3 property. |
|
inline |
Gets the value of the ColorMipmapMaterial3Property property.
|
inline |
Sets the value of the DepthMipmapMaterialProperty property.
value | The new value of the DepthMipmapMaterial property. |
|
inline |
Gets the value of the DepthMipmapMaterialProperty property.
|
inline |
Sets the value of the CurrentMipmapLevelProperty property.
value | The new value of the CurrentMipmapLevel property. |
|
inline |
Gets the value of the CurrentMipmapLevelProperty property.
|
inline |
Sets the value of the MipmapSourceTextureProperty property.
value | The new value of the MipmapSourceTexture property. |
|
inline |
Gets the value of the MipmapSourceTextureProperty property.
|
overrideprotected |
Object::onPropertyChanged() implementation.
|
protected |