Class Renderer
Definition
- Assembly:
- Tizen.NUI.dll
Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.
public class Renderer : Animatable, IDynamicResourceHandler, INameScope, System.IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceRenderer()
Create an instance of Renderer without Geometry or Shader.
Declaration
public Renderer()
Renderer(Geometry, Shader)
Create an instance of Renderer.
Declaration
public Renderer(Geometry geometry, Shader shader)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geometry | |
| Shader | shader |
Properties
View SourceBlendColor
Gets and Sets BlendColor.
Declaration
public Vector4 BlendColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector4 |
BlendEquationAlpha
Gets and Sets BlendEquationAlpha.
Declaration
public int BlendEquationAlpha { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
BlendEquationRgb
Gets and Sets BlendEquationRgb.
Declaration
public int BlendEquationRgb { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
BlendFactorDestAlpha
Gets and Sets BlendFactorDestAlpha.
Declaration
public int BlendFactorDestAlpha { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
BlendFactorDestRgb
Gets and Sets BlendFactorDestRgb.
Declaration
public int BlendFactorDestRgb { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
BlendFactorSrcAlpha
Gets and Sets BlendFactorSrcAlpha.
Declaration
public int BlendFactorSrcAlpha { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
BlendFactorSrcRgb
Gets and Sets BlendFactorSrcRgb.
Declaration
public int BlendFactorSrcRgb { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
BlendMode
Gets and Sets BlendMode.
Declaration
public int BlendMode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
BlendPreMultipliedAlpha
Gets and Sets BlendPreMultipliedAlpha.
Declaration
public bool BlendPreMultipliedAlpha { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
DepthFunction
Gets and Sets DepthFunction.
Declaration
public int DepthFunction { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DepthIndex
Gets and Sets DepthIndex property.
Declaration
public int DepthIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DepthTestMode
Gets and Sets DepthTestMode.
Declaration
public int DepthTestMode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
DepthWriteMode
Gets and Sets DepthWriteMode.
Declaration
public int DepthWriteMode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
FaceCullingMode
Gets and Sets FaceCullingMode.
Declaration
public int FaceCullingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IndexRangeCount
Gets and Sets IndexRangeCount.
Declaration
public int IndexRangeCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
IndexRangeFirst
Gets and Sets IndexRangeFirst.
Declaration
public int IndexRangeFirst { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RenderMode
Gets and Sets RenderMode.
Declaration
public int RenderMode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilFunction
Gets and Sets StencilFunction.
Declaration
public int StencilFunction { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilFunctionMask
Gets and Sets StencilFunctionMask.
Declaration
public int StencilFunctionMask { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilFunctionReference
Gets and Sets StencilFunctionReference.
Declaration
public int StencilFunctionReference { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilMask
Gets and Sets StencilMask.
Declaration
public int StencilMask { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilOperationOnFail
Gets and Sets StencilOperationOnFail.
Declaration
public int StencilOperationOnFail { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilOperationOnZFail
Gets and Sets StencilOperationOnZFail.
Declaration
public int StencilOperationOnZFail { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StencilOperationOnZPass
Gets and Sets StencilOperationOnZPass property.
Declaration
public int StencilOperationOnZPass { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
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)
you can override it to clean-up your own resources.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
| Type | Name | Description |
|---|---|---|
| DisposeTypes | type | DisposeTypes |
Overrides
View SourceGetGeometry()
Gets the geometry used by this renderer.
Declaration
public Geometry GetGeometry()
Returns
| Type | Description |
|---|---|
| Geometry | The geometry used by the renderer. |
GetShader()
Gets the shader used by this renderer.
Declaration
public Shader GetShader()
Returns
| Type | Description |
|---|---|
| Shader | The shader used by the renderer. |
GetTextures()
Gets the texture set used by this renderer.
Declaration
public TextureSet GetTextures()
Returns
| Type | Description |
|---|---|
| TextureSet | The texture set used by the renderer. |
ReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.InteropServices.HandleRef | swigCPtr |
Overrides
View SourceSetGeometry(Geometry)
Sets the geometry to be used by this renderer.
Declaration
public void SetGeometry(Geometry geometry)
Parameters
| Type | Name | Description |
|---|---|---|
| Geometry | geometry | The geometry to be used by this renderer. |
SetIndexRange(int, int)
Sets effective range of indices to draw from bound index buffer.
Declaration
public void SetIndexRange(int firstElement, int elementsCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | firstElement | The First element to draw. |
| int | elementsCount | The number of elements to draw. |
SetShader(Shader)
Sets the shader used by this renderer.
Declaration
public void SetShader(Shader shader)
Parameters
| Type | Name | Description |
|---|---|---|
| Shader | shader | The shader to be used by this renderer. |
SetTextures(TextureSet)
Sets the texture set to be used by this renderer.
Declaration
public void SetTextures(TextureSet textureSet)
Parameters
| Type | Name | Description |
|---|---|---|
| TextureSet | textureSet | The texture set to be used by this renderer. |