Kanzi 3.9.10
ClearRenderPass Class Reference

Use a Clear Render Pass to clear the color, depth, and stencil buffers of the current render context before passing the control to the descendants of this render pass. More...

Inheritance diagram for ClearRenderPass:
[legend]

Static Public Member Functions

static< T extends KanziObject > ObjectRef< T > create (Domain domain, String name)
 Creates a Clear 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 ClearRenderPassMetadata
DynamicPropertyType< ColorRGBAClearColor0Property
 Sets the color that you want the Clear Render Pass to use to clear the first (default) color buffer.
 
DynamicPropertyType< ColorRGBAClearColor1Property
 Sets the color that you want the Clear Render Pass to use to clear the second color buffer.
 
DynamicPropertyType< ColorRGBAClearColor2Property
 Sets the color that you want the Clear Render Pass to use to clear the third color buffer.
 
DynamicPropertyType< ColorRGBAClearColor3Property
 Sets the color that you want the Clear Render Pass to use to clear the fourth color buffer.
 
DynamicPropertyType< FloatClearDepthProperty
 Sets the depth that you want the Clear Render Pass to use to clear the depth buffer.
 
DynamicPropertyType< Integer > ClearStencilProperty
 Sets the clear stencil that you want the Clear Render Pass to use to clear the stencil buffer.
 
AbstractMetaclass metaclass = new AbstractMetaclass("Kanzi.ClearRenderPass")
 Metaclass for ClearRenderPass.
 

Detailed Description

Use a Clear Render Pass to clear the color, depth, and stencil buffers of the current render context before passing the control to the descendants of this render pass.

Member Function Documentation

◆ create()

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

Creates a Clear Render Pass.

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

Reimplemented from RenderPass.

Member Data Documentation

◆ metaclass

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

The Metaclass for the class.