Class Renderer

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
3

Renderer is a handle to an object used to show content by combining a Geometry, a TextureSet and a shader.

C#
Copy
public class Renderer : Animatable, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
Implements

Constructors

View Source

Renderer(Geometry, Shader)

Create an instance of Renderer.

Declaration
C#
Copy
public Renderer(Geometry geometry, Shader shader)
Parameters
Type Name Description
Geometry geometry
Shader shader
API Level: 3

Properties

View Source

BlendColor

Gets and Sets BlendColor.

Declaration
C#
Copy
public Vector4 BlendColor { get; set; }
Property Value
Type Description
Vector4
API Level: 3
View Source

BlendEquationAlpha

Gets and Sets BlendEquationAlpha.

Declaration
C#
Copy
public int BlendEquationAlpha { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

BlendEquationRgb

Gets and Sets BlendEquationRgb.

Declaration
C#
Copy
public int BlendEquationRgb { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

BlendFactorDestAlpha

Gets and Sets BlendFactorDestAlpha.

Declaration
C#
Copy
public int BlendFactorDestAlpha { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

BlendFactorDestRgb

Gets and Sets BlendFactorDestRgb.

Declaration
C#
Copy
public int BlendFactorDestRgb { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

BlendFactorSrcAlpha

Gets and Sets BlendFactorSrcAlpha.

Declaration
C#
Copy
public int BlendFactorSrcAlpha { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

BlendFactorSrcRgb

Gets and Sets BlendFactorSrcRgb.

Declaration
C#
Copy
public int BlendFactorSrcRgb { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

BlendMode

Gets and Sets BlendMode.

Declaration
C#
Copy
public int BlendMode { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

BlendPreMultipliedAlpha

Gets and Sets BlendPreMultipliedAlpha.

Declaration
C#
Copy
public bool BlendPreMultipliedAlpha { get; set; }
Property Value
Type Description
Boolean
API Level: 3
View Source

DepthFunction

Gets and Sets DepthFunction.

Declaration
C#
Copy
public int DepthFunction { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

DepthIndex

Gets and Sets DepthIndex property.

Declaration
C#
Copy
public int DepthIndex { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

DepthTestMode

Gets and Sets DepthTestMode.

Declaration
C#
Copy
public int DepthTestMode { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

DepthWriteMode

Gets and Sets DepthWriteMode.

Declaration
C#
Copy
public int DepthWriteMode { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

FaceCullingMode

Gets and Sets FaceCullingMode.

Declaration
C#
Copy
public int FaceCullingMode { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

IndexRangeCount

Gets and Sets IndexRangeCount.

Declaration
C#
Copy
public int IndexRangeCount { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

IndexRangeFirst

Gets and Sets IndexRangeFirst.

Declaration
C#
Copy
public int IndexRangeFirst { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

RenderMode

Gets and Sets RenderMode.

Declaration
C#
Copy
public int RenderMode { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

StencilFunction

Gets and Sets StencilFunction.

Declaration
C#
Copy
public int StencilFunction { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

StencilFunctionMask

Gets and Sets StencilFunctionMask.

Declaration
C#
Copy
public int StencilFunctionMask { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

StencilFunctionReference

Gets and Sets StencilFunctionReference.

Declaration
C#
Copy
public int StencilFunctionReference { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

StencilMask

Gets and Sets StencilMask.

Declaration
C#
Copy
public int StencilMask { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

StencilOperationOnFail

Gets and Sets StencilOperationOnFail.

Declaration
C#
Copy
public int StencilOperationOnFail { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

StencilOperationOnZFail

Gets and Sets StencilOperationOnZFail.

Declaration
C#
Copy
public int StencilOperationOnZFail { get; set; }
Property Value
Type Description
Int32
API Level: 3
View Source

StencilOperationOnZPass

Gets and Sets StencilOperationOnZPass property.

Declaration
C#
Copy
public int StencilOperationOnZPass { get; set; }
Property Value
Type Description
Int32
API Level: 3

Methods

View Source

GetGeometry()

Gets the geometry used by this renderer.

Declaration
C#
Copy
public Geometry GetGeometry()
Returns
Type Description
Geometry

The geometry used by the renderer.

API Level: 3
View Source

GetShader()

Gets the shader used by this renderer.

Declaration
C#
Copy
public Shader GetShader()
Returns
Type Description
Shader

The shader used by the renderer.

API Level: 3
View Source

GetTextures()

Gets the texture set used by this renderer.

Declaration
C#
Copy
public TextureSet GetTextures()
Returns
Type Description
TextureSet

The texture set used by the renderer.

API Level: 3
View Source

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides
View Source

SetGeometry(Geometry)

Sets the geometry to be used by this renderer.

Declaration
C#
Copy
public void SetGeometry(Geometry geometry)
Parameters
Type Name Description
Geometry geometry

The geometry to be used by this renderer.

API Level: 3
View Source

SetIndexRange(Int32, Int32)

Sets effective range of indices to draw from bound index buffer.

Declaration
C#
Copy
public void SetIndexRange(int firstElement, int elementsCount)
Parameters
Type Name Description
Int32 firstElement

The First element to draw.

Int32 elementsCount

The number of elements to draw.

API Level: 3
View Source

SetShader(Shader)

Sets the shader used by this renderer.

Declaration
C#
Copy
public void SetShader(Shader shader)
Parameters
Type Name Description
Shader shader

The shader to be used by this renderer.

API Level: 3
View Source

SetTextures(TextureSet)

Sets the texture set to be used by this renderer.

Declaration
C#
Copy
public void SetTextures(TextureSet textureSet)
Parameters
Type Name Description
TextureSet textureSet

The texture set to be used by this renderer.

API Level: 3

Implements

Extension Methods