Kanzi 4.1.0
BlitRenderPass Class Reference

Use the Blit Render Pass to blit one or more textures to the screen of the current rendering context using a material. More...

Inheritance diagram for BlitRenderPass:
[legend]

Static Public Member Functions

static< T extends KanziObject > ObjectRef< T > create (Domain domain, String name)
 Create a Blit 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 ResourceProxy
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 GPUResource
int getGPUMemoryUsage ()
 Gets the amount of GPU memory used by the resource.
 
boolean isDeployed ()
 
- Public Member Functions inherited from ResourceProxy
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 setFlagKeepDuringPatching (PropertyType< TDataType > propertyType)
 Sets the flag to indicate that the property was loaded from KZB.
 
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< Matrix4x4CameraMatrixProperty
 The camera matrix that the render pass calculates during rendering from the settings of the Camera and passes to the shader.
 
DynamicPropertyType< Vector3CameraPositionProperty
 The camera position that the render pass calculates during rendering from the settings of the Camera and passes to the shader.
 
DynamicPropertyType< String > CameraProperty
 Sets the Camera node that you want to use to render the nodes.
 
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< Vector2NearFarPlaneProperty
 The distances to the camera near and far planes that the render pass calculates during rendering from the settings of the Camera and passes to the shader.
 
DynamicPropertyType< Vector4OutputViewportProperty
 Viewport applied by the rendering of the render pass.
 
DynamicPropertyType< Matrix4x4PreviousCameraMatrixProperty
 Camera matrix from the previous frame, used for velocity buffer calculation.
 
DynamicPropertyType< Matrix4x4PreviousProjectionMatrixProperty
 Projection matrix from the previous frame, used for velocity buffer calculation.
 
DynamicPropertyType< Matrix4x4ProjectionMatrixProperty
 The projection matrix that the render pass calculates during rendering from the settings of the Camera and passes to the shader.
 
DynamicPropertyType< BooleanShadowProjectionFittingEnabledProperty
 Controls how the directional light shadow projection is calculated Enabling this will fit the lights projection to the area covered by the main camera.
 
DynamicPropertyType< Vector3ShadowProjectionMarginProperty
 Use to add extra margin by scaling the area of the projection.
 
DynamicPropertyType< Vector2ShadowProjectionRangeProperty
 Use to limit the projection to a smaller proportional slice (X: near, Y: far) of the main camera frustum.
 
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.
 
DynamicPropertyType< Vector4ViewPositionProperty
 The homogeneous view position that the render pass calculates during rendering from the settings of the Camera and passes to the shader.
 
- Public Attributes inherited from BlitRenderPassMetadata
DynamicPropertyType< ResourceMaterialProperty
 Sets to the Material that you want a Blit render pass to use to blit one or more textures.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.BlitRenderPass")
 Metaclass for BlitRenderPass.
 
DynamicPropertyType< ResourceTexture0Property
 Sets the first texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTexture1Property
 Sets the second texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTexture2Property
 Sets the third texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTexture3Property
 Sets the fourth texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTexture4Property
 Sets the fifth texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTexture5Property
 Sets the sixth texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTexture6Property
 Sets the seventh texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTexture7Property
 Sets the eighth texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTexture8Property
 Sets the ninth texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTexture9Property
 Sets the tenth texture you want the Blit render pass to blit.
 
DynamicPropertyType< ResourceTextureCubemapProperty
 Sets the cubemap texture you want the Blit render pass to blit.
 
- Public Attributes inherited from PipelineStateConceptMetadata
DynamicPropertyType< BooleanAlphaToCoverageEnabledProperty
 Sets whether Alpha To Coverage is enabled or not.
 
DynamicPropertyType< Integer > BlendModeProperty
 Overrides the blend mode set in each node that this render pass renders.
 
DynamicPropertyType< ColorWriteMaskColorWriteModeProperty
 Sets which channels the render pass writes to the color buffer.
 
DynamicPropertyType< GraphicsCullModeCullModeProperty
 Sets the culling of the triangle faces in the rendered meshes:
 
DynamicPropertyType< GraphicsCompareFunctionDepthTestFunctionProperty
 Controls whether the depth test discards a fragment.
 
DynamicPropertyType< BooleanDepthWriteEnabledProperty
 Sets whether the render pass writes to the depth buffer.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.PipelineStateConcept")
 Metaclass for PipelineStateConcept.
 
DynamicPropertyType< Vector2PolygonDepthOffsetProperty
 Sets the polygon depth offset to apply to the element that the Pipeline State render pass renders:
 
DynamicPropertyType< PipelineStateConceptEnums.ViewportModeScissorModeProperty
 Sets the scissor test coordinate mode.
 
DynamicPropertyType< Vector4ScissorProperty
 Sets the scissor test in the current rendering Viewport 2D node.
 
DynamicPropertyType< GraphicsStencilOperationStencilFailOperationProperty
 Sets the operation that the render pass performs when the stencil test fails.
 
DynamicPropertyType< Integer > StencilMaskProperty
 Sets a mask on which the AND operation is executed with both the reference value and the stored stencil value when the test is done.
 
DynamicPropertyType< GraphicsStencilOperationStencilPassDepthFailOperationProperty
 Sets the operation that the render pass performs when the stencil test passes, but the depth test fails.
 
DynamicPropertyType< GraphicsStencilOperationStencilPassDepthPassOperationProperty
 Sets the operation that the render pass performs when both, the stencil and the depth test, pass.
 
DynamicPropertyType< Integer > StencilReferenceValueProperty
 Sets the reference value for the stencil test.
 
DynamicPropertyType< GraphicsCompareFunctionStencilTestFunctionProperty
 Controls whether the stencil test discards a fragment.
 
DynamicPropertyType< BooleanStencilWriteEnabledProperty
 Sets whether to enable writing to the stencil buffer.
 
DynamicPropertyType< PipelineStateConceptEnums.ViewportModeViewportModeProperty
 Sets the coordinate type for the Viewport node.
 
DynamicPropertyType< Vector4ViewportProperty
 Modifies the current rendering Viewport node.
 

Detailed Description

Use the Blit Render Pass to blit one or more textures to the screen of the current rendering context using a material.

After the blit operation, a Blit Render Pass passes the control to its descendants and then further to its siblings and parent.

Member Function Documentation

◆ create()

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

Create a Blit Render Pass.

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

Reimplemented from RenderPass.

Member Data Documentation

◆ metaclass

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

The Metaclass for the class.