Use the Pipeline State Render Pass to set for its child render passes the depth and stencil testing, transparency, and culling. More...
Static Public Member Functions | |
static< T extends KanziObject > ObjectRef< T > | create (Domain domain, String name) |
Create a Pipeline State 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< TType > | tryCreateObjectRef (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< Boolean > | EnabledProperty |
Whether Kanzi executes this render pass and its child render pass tree. | |
DynamicPropertyType< Vector4 > | InputViewportAreaProperty |
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 PipelineStateRenderPassMetadata | |
DynamicPropertyType< Integer > | BlendModeProperty |
Overrides the blend mode set in each node that this render pass renders. | |
DynamicPropertyType< GraphicsColorWriteMode > | ColorWriteModeProperty |
Sets which channels the render pass writes to the color buffer. | |
DynamicPropertyType< GraphicsCullMode > | CullModeProperty |
Sets the culling of the triangle faces in the rendered meshes: | |
DynamicPropertyType< GraphicsCompareFunction > | DepthTestFunctionProperty |
Controls whether the depth test discards a fragment. | |
DynamicPropertyType< Boolean > | DepthWriteEnabledProperty |
Sets whether the render pass writes to the depth buffer. | |
AbstractMetaclass | metaclass = new AbstractMetaclass("Kanzi.PipelineStateRenderPass") |
Metaclass for PipelineStateRenderPass. | |
DynamicPropertyType< Vector2 > | PolygonDepthOffsetProperty |
Sets the polygon depth offset to apply to the element that the Pipeline State Render Pass renders: | |
DynamicPropertyType< PipelineStateRenderPassEnums.ViewportMode > | ScissorModeProperty |
Sets the scissor test coordinate mode. | |
DynamicPropertyType< Vector4 > | ScissorProperty |
Sets the scissor test in the current rendering Viewport 2D node. | |
DynamicPropertyType< GraphicsStencilOperation > | StencilFailOperationProperty |
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< GraphicsStencilOperation > | StencilPassDepthFailOperationProperty |
Sets the operation that the render pass performs when the stencil test passes, but the depth test fails. | |
DynamicPropertyType< GraphicsStencilOperation > | StencilPassDepthPassOperationProperty |
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< GraphicsCompareFunction > | StencilTestFunctionProperty |
Controls whether the stencil test discards a fragment. | |
DynamicPropertyType< Boolean > | StencilWriteEnabledProperty |
Sets whether to enable writing to the stencil buffer. | |
DynamicPropertyType< PipelineStateRenderPassEnums.ViewportMode > | ViewportModeProperty |
Sets the coordinate type for the Viewport node. | |
DynamicPropertyType< Vector4 > | ViewportProperty |
Modifies the current rendering Viewport node. | |
Use the Pipeline State Render Pass to set for its child render passes the depth and stencil testing, transparency, and culling.
This render pass sets the rendering state before passing the control to its descendants. After the descendant render passes of a Pipeline State Render Pass execute, Kanzi restores the rendering state. If a Pipeline State Render Pass does not have any descendants, Kanzi does not apply the rendering state you set in that render pass.
|
static |
Create a Pipeline State Render Pass.
domain | The domain to use. |
name | The name of the Pipeline State Render Pass. |
Reimplemented from RenderPass.