Class Renderable
Definition
- Assembly:
- Tizen.NUI.dll
Renderable is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.
public class Renderable : Animatable, IDynamicResourceHandler, INameScope, System.IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceRenderable()
Create an instance of Renderable without Geometry or Shader.
Declaration
public Renderable()
Properties
View SourceAliveCount
Gets the number of currently alived Renderable object.
Declaration
public static int AliveCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
BlendColor
Gets and Sets BlendColor.
Declaration
public Vector4 BlendColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector4 |
BlendEquationAlpha
Gets and Sets BlendEquation method for Alpha channel. BlendEquation specifies the mathematical operation for blending.
Declaration
public BlendEquation BlendEquationAlpha { get; set; }
Property Value
| Type | Description |
|---|---|
| BlendEquation |
BlendEquationRgb
Gets and Sets BlendEquation method for RGB channel. BlendEquation specifies the mathematical operation for blending.
Declaration
public BlendEquation BlendEquationRgb { get; set; }
Property Value
| Type | Description |
|---|---|
| BlendEquation |
BlendFactorDestAlpha
Gets and Sets BlendFactor for Alpha channel of Destination. BlendFactor determines the weight of source and destination colors.
Declaration
public BlendFactor BlendFactorDestAlpha { get; set; }
Property Value
| Type | Description |
|---|---|
| BlendFactor |
BlendFactorDestRgb
Gets and Sets BlendFactor for Rgb channel of Destination. BlendFactor determines the weight of source and destination colors.
Declaration
public BlendFactor BlendFactorDestRgb { get; set; }
Property Value
| Type | Description |
|---|---|
| BlendFactor |
BlendFactorSrcAlpha
Gets and Sets BlendFactor for Alpha channel of Source. BlendFactor determines the weight of source and destination colors.
Declaration
public BlendFactor BlendFactorSrcAlpha { get; set; }
Property Value
| Type | Description |
|---|---|
| BlendFactor |
BlendFactorSrcRgb
Gets and Sets BlendFactor for Rgb channel of Source. BlendFactor determines the weight of source and destination colors.
Declaration
public BlendFactor BlendFactorSrcRgb { get; set; }
Property Value
| Type | Description |
|---|---|
| BlendFactor |
BlendMode
Gets and Sets BlendMode. BlendMode defines how source and destination colors are blended.
Declaration
public BlendMode BlendMode { get; set; }
Property Value
| Type | Description |
|---|---|
| BlendMode |
BlendPreMultipliedAlpha
Gets and Sets BlendPreMultipliedAlpha. If it is true, it denotes the RGB color values are aleady multiplied by the alpha value. It improves blending accuracy and avoidng artifacts in transparent areas.
Declaration
public bool BlendPreMultipliedAlpha { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DepthFunction
Gets and Sets DepthFunction. This property defines the comparison function for depth testing
Declaration
public DepthFunction DepthFunction { get; set; }
Property Value
| Type | Description |
|---|---|
| DepthFunction |
DepthIndex
Gets and Sets DepthIndex property.
Declaration
public int DepthIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DepthTestMode
Gets and Sets DepthTestMode. This property specifies how depth testing is applied to fragments.
Declaration
public DepthTestMode DepthTestMode { get; set; }
Property Value
| Type | Description |
|---|---|
| DepthTestMode |
DepthWriteMode
Gets and Sets DepthWriteMode. This property controls wheter depth buffer writing is enabled.
Declaration
public DepthWriteMode DepthWriteMode { get; set; }
Property Value
| Type | Description |
|---|---|
| DepthWriteMode |
FaceCullingMode
Gets and Sets FaceCullingMode to define which face is culled or not.
Declaration
public FaceCullingMode FaceCullingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| FaceCullingMode |
FirstIndex
Gets and Sets first index to define effective range of indices to draw from bound index buffer.
Declaration
public int FirstIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Geometry
Gets and Sets Geometry of this Renderable.
Declaration
public Geometry Geometry { get; set; }
Property Value
| Type | Description |
|---|---|
| Geometry |
IndexCount
Gets and Sets index count of effective range of indices to draw from bound index buffer.
Declaration
public int IndexCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RenderMode
Gets and Sets RenderMode. This property specifies what aspects of rendering are enabled.
Declaration
public RenderMode RenderMode { get; set; }
Property Value
| Type | Description |
|---|---|
| RenderMode |
Shader
Gets and Sets Shader of this Renderable.
Declaration
public Shader Shader { get; set; }
Property Value
| Type | Description |
|---|---|
| Shader |
StencilFunction
Gets and Sets Stencil Function. This property specifies the test function for stencil buffering
Declaration
public StencilFunction StencilFunction { get; set; }
Property Value
| Type | Description |
|---|---|
| StencilFunction |
StencilFunctionMask
Gets and Sets StencilFunctionMask. A bitmask applied to the stencil test function
Declaration
public int StencilFunctionMask { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilFunctionReference
Gets and Sets StencilFunctionReference. The reference value used in the stencil test.
Declaration
public int StencilFunctionReference { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilMask
Gets and Sets StencilMask. This property controls which bits of the stencil buffer can be modified.
Declaration
public int StencilMask { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilOperationOnFail
Gets and Sets StencilOperationOnFail. Action when the stencil test fails.
Declaration
public StencilOperation StencilOperationOnFail { get; set; }
Property Value
| Type | Description |
|---|---|
| StencilOperation |
StencilOperationOnZFail
Gets and Sets StencilOperationOnZFail. Action when the depth test fails but the stencil test passed.
Declaration
public StencilOperation StencilOperationOnZFail { get; set; }
Property Value
| Type | Description |
|---|---|
| StencilOperation |
StencilOperationOnZPass
Gets and Sets StencilOperationOnZPass property. Action when both stencil and depth tests pass.
Declaration
public StencilOperation StencilOperationOnZPass { get; set; }
Property Value
| Type | Description |
|---|---|
| StencilOperation |
TextureSet
Gets and Sets Textures of this Renderable.
Declaration
public TextureSet TextureSet { get; set; }
Property Value
| Type | Description |
|---|---|
| TextureSet |
UpdateArea
Gets and Sets extents of partial update area.
Declaration
public UIExtents UpdateArea { get; set; }
Property Value
| Type | Description |
|---|---|
| UIExtents |
Remarks
Extents the area - the position and the size - used for the attached View's partial update area calculation. This value be appended after calculate all update area, like visual offset. Change UpdateAreaHint value if you want to change View's partial update area. Warning : Only 0u ~ 65535u integer values are allowed for each parameters.
Methods
View SourceDispose(DisposeTypes)
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
| Type | Name | Description |
|---|---|---|
| DisposeTypes | type |
Overrides
View SourceReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.InteropServices.HandleRef | swigCPtr |