Kanzi 3.9.10
CompositionTargetRenderPass Class Reference

Use the Composition Target Render Pass to set one to four composition targets and render all descendant render passes to the composition targets that the Composition Target Render Pass created. More...

Inheritance diagram for CompositionTargetRenderPass:
[legend]

Static Public Member Functions

static< T extends KanziObject > ObjectRef< T > create (Domain domain, String name)
 Creates a Composition Target Render Pass.
 

Static Public Attributes

static final Metaclass metaclass
 The Metaclass for the class.
 
- Static Public Attributes inherited from RenderPass
static final Metaclass metaclass
 The Metaclass for the class.
 
- Static Public Attributes inherited from GPUResource
static final Metaclass metaclass
 The Metaclass for the class.
 
- Static Public Attributes inherited from Resource
static final Metaclass metaclass
 The Metaclass for the class.
 
- Static Public Attributes inherited from KanziObject
static final Metaclass metaclass = new AbstractMetaclass("Kanzi.Object")
 The Metaclass for the class.
 

Additional Inherited Members

- Public Member Functions inherited from Resource
String getName ()
 Gets the resource name.
 
String getUrl ()
 Gets the resource URL.
 
void setKeepAlive (boolean keepAlive)
 Sets the keep alive flag.
 
- Public Member Functions inherited from KanziObject
boolean equals (Object object)
 
Domain getDomain ()
 Returns the domain the object belongs to.
 
Metaclass getDynamicMetaclass ()
 Returns the metaclass of the dynamic type of the object.
 
long getNative ()
 Gets a pointer to the backing C++ instance.
 
TDataType getOptionalProperty (PropertyType< TDataType > propertyType)
 Returns the current value of a property type, but does not use the default value if there are no inputs to the property value.
 
TDataType getProperty (PropertyType< TDataType > propertyType)
 Returns the current value of a property type.
 
int hashCode ()
 
boolean hasValue (PropertyType< TDataType > propertyType)
 Evaluates whether there are any inputs into the property value.
 
boolean isStale ()
 Test if the object is stale i.e.
 
void removeLocalValue (PropertyType< TDataType > propertyType)
 Removes the local value associated with the property.
 
void setProperty (PropertyType< TDataType > propertyType, TDataType value)
 Sets the local value of a property type.
 
ObjectRef< TTypetryCreateObjectRef (Class< TType > clazz)
 Tries to create an owning ObjectRef instance to this KanziObject.
 
- Public Attributes inherited from ResourceMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.Resource")
 Metaclass for Resource.
 
- Public Attributes inherited from GPUResourceMetadata
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.GPUResource")
 Metaclass for GPUResource.
 
- Public Attributes inherited from RenderPassMetadata
DynamicPropertyType< BooleanEnabledProperty
 Whether Kanzi executes this render pass and its child render pass tree.
 
DynamicPropertyType< Vector4InputViewportAreaProperty
 Reports the viewport area relative to the composition space as passed from the parent render pass.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.RenderPass")
 Metaclass for RenderPass.
 
DynamicPropertyType< Integer > UpdateOffsetProperty
 Sets a frame offset to the rendering rate that you set with the Update Rate property.
 
DynamicPropertyType< Integer > UpdateRateProperty
 Sets the rate at which to render the Render Pass.
 
- Public Attributes inherited from CompositionTargetRenderPassMetadata
DynamicPropertyType< SamplerAddressingModeAddressingModeProperty
 Sets how Kanzi handles the texture coordinates of the automatically generated composition target textures outside of the [0, 0] - [1, 1] rectangle:
 
DynamicPropertyType< ResourceCompositionTarget0Property
 Sets the first color target to which you want to render the result of the child render passes of this render pass.
 
DynamicPropertyType< ResourceCompositionTarget1Property
 Sets the second color target to which you want to render the result of the child render passes of this render pass.
 
DynamicPropertyType< ResourceCompositionTarget2Property
 Sets the third color target to which you want to render the result of the child render passes of this render pass.
 
DynamicPropertyType< ResourceCompositionTarget3Property
 Sets the fourth color target to which you want to render the result of the child render passes of this render pass.
 
DynamicPropertyType< GraphicsCompareFunctionDepthCompareFunctionProperty
 Sets the comparison function to be used with comparison samplers of the Composition Target Render Pass' depth target.
 
DynamicPropertyType< GraphicsFormatDepthRenderbufferFormatProperty
 Sets the format of the automatically created depth renderbuffers.
 
DynamicPropertyType< ResourceDepthTargetProperty
 Sets the depth target to which you want to render the result of the child render passes of this render pass.
 
DynamicPropertyType< GraphicsFormatDepthTextureFormatProperty
 Sets the format of the automatically created Result Depth Texture.
 
DynamicPropertyType< SamplerFilterFilterModeProperty
 Sets how Kanzi handles accessing the texture samples of the automatically generated composition target:
 
DynamicPropertyType< Integer > HeightProperty
 Sets the absolute height for the automatically created composition target textures.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.CompositionTargetRenderPass")
 Metaclass for CompositionTargetRenderPass.
 
DynamicPropertyType< SamplerMipmapModeMipmapModeProperty
 Sets the mipmap mode of the automatically created composition target.
 
DynamicPropertyType< MultisampleCountMultisampleLevelProperty
 Sets the amount of multisample anti-aliasing to apply to the automatically generated composition target textures.
 
DynamicPropertyType< GraphicsFormatPixelFormat0Property
 Sets on the GPU the target pixel format of the first automatically created composition target texture.
 
DynamicPropertyType< GraphicsFormatPixelFormat1Property
 Sets on the GPU the target pixel format of the second automatically created composition target texture.
 
DynamicPropertyType< GraphicsFormatPixelFormat2Property
 Sets on the GPU the target pixel format of the third automatically created composition target texture.
 
DynamicPropertyType< GraphicsFormatPixelFormat3Property
 Sets on the GPU the target pixel format of the fourth automatically created composition target texture.
 
DynamicPropertyType< Integer > ResolutionDivisorProperty
 Sets the resolution divisor for the automatically created composition target textures.
 
DynamicPropertyType< Integer > ResolutionMultiplierProperty
 Sets the resolution multiplier for the automatically created composition target textures.
 
DynamicPropertyType< BooleanResolveImmediatelyProperty
 Whether to resolve multisamples and generate mipmaps for the composition target texture immediately after rendering.
 
DynamicPropertyType< ResourceResultDepthTextureProperty
 The depth texture to which the Composition Target Render Pass renders its content.
 
DynamicPropertyType< ResourceResultTexture0Property
 The first color texture to which the Composition Target Render Pass renders its content.
 
DynamicPropertyType< ResourceResultTexture1Property
 The second color texture to which the Composition Target Render Pass renders its content.
 
DynamicPropertyType< ResourceResultTexture2Property
 The third color texture to which the Composition Target Render Pass renders its content.
 
DynamicPropertyType< ResourceResultTexture3Property
 The fourth color texture to which the Composition Target Render Pass renders its content.
 
DynamicPropertyType< Integer > WidthProperty
 Sets the absolute width for the automatically created composition target textures.
 
- Public Attributes inherited from MipmapGenerationConceptMetadata
DynamicPropertyType< ResourceColorMipmapMaterial0Property
 Sets the material to use to generate the mipmaps for the first color result texture (Result Texture 0) of a Composition Target Render Pass.
 
DynamicPropertyType< ResourceColorMipmapMaterial1Property
 Sets the material to use to generate the mipmaps for the second color result texture (Result Texture 1) of a Composition Target Render Pass.
 
DynamicPropertyType< ResourceColorMipmapMaterial2Property
 Sets the material to use to generate the mipmaps for the third color result texture (Result Texture 2) of a Composition Target Render Pass.
 
DynamicPropertyType< ResourceColorMipmapMaterial3Property
 Sets the material to use to generate the mipmaps for the fourth color result texture (Result Texture 3) of a Composition Target Render Pass.
 
DynamicPropertyType< ResourceCubemapMipmapMaterialProperty
 Sets the material to use to generate the mipmaps for the color Result Texture of a Cubemap Render Pass.
 
DynamicPropertyType< FloatCurrentMipmapLevelProperty
 Reports the mipmap level that Kanzi is generating.
 
DynamicPropertyType< ResourceDepthMipmapMaterialProperty
 Sets the material to use to generate the mipmaps for the Result Depth Texture of a Composition Target Render Pass.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.MipmapGenerationConcept")
 Metaclass for MipmapGenerationConcept.
 
DynamicPropertyType< ResourceMipmapSourceTextureProperty
 Reports the texture that contains the render target texture for which Kanzi creates mipmaps.
 

Detailed Description

Use the Composition Target Render Pass to set one to four composition targets and render all descendant render passes to the composition targets that the Composition Target Render Pass created.

If you set multiple composition targets, rendering can write to all specified buffers at the same time. See Using multiple composition targets. After Kanzi renders the descendant render passes of a Composition Target Render Pass, the Composition Target Render Pass restores the earlier composition settings.

Member Function Documentation

◆ create()

static< T extends KanziObject > ObjectRef< T > create ( Domain domain,
String name )
static

Creates a Composition Target Render Pass.

Parameters
domainThe domain to use.
nameThe name of the Composition Target Render Pass.
Returns
The created Composition Target Render Pass.

Reimplemented from RenderPass.

Member Data Documentation

◆ metaclass

final Metaclass metaclass
static
Initial value:
=
com.rightware.kanzi.metadata.CompositionTargetRenderPassMetadata.metaclass

The Metaclass for the class.