Class Renderer

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

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, INotifyPropertyChanged, IDisposable
Inheritance
object
Tizen.NUI.Binding.Element
Renderer
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

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

Properties

View Source

BlendColor

Gets and Sets BlendColor.

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

BlendEquationAlpha

Gets and Sets BlendEquationAlpha.

Declaration
C#
Copy
public int BlendEquationAlpha { get; set; }
Property Value
Type Description
int
View Source

BlendEquationRgb

Gets and Sets BlendEquationRgb.

Declaration
C#
Copy
public int BlendEquationRgb { get; set; }
Property Value
Type Description
int
View Source

BlendFactorDestAlpha

Gets and Sets BlendFactorDestAlpha.

Declaration
C#
Copy
public int BlendFactorDestAlpha { get; set; }
Property Value
Type Description
int
View Source

BlendFactorDestRgb

Gets and Sets BlendFactorDestRgb.

Declaration
C#
Copy
public int BlendFactorDestRgb { get; set; }
Property Value
Type Description
int
View Source

BlendFactorSrcAlpha

Gets and Sets BlendFactorSrcAlpha.

Declaration
C#
Copy
public int BlendFactorSrcAlpha { get; set; }
Property Value
Type Description
int
View Source

BlendFactorSrcRgb

Gets and Sets BlendFactorSrcRgb.

Declaration
C#
Copy
public int BlendFactorSrcRgb { get; set; }
Property Value
Type Description
int
View Source

BlendMode

Gets and Sets BlendMode.

Declaration
C#
Copy
public int BlendMode { get; set; }
Property Value
Type Description
int
View Source

BlendPreMultipliedAlpha

Gets and Sets BlendPreMultipliedAlpha.

Declaration
C#
Copy
public bool BlendPreMultipliedAlpha { get; set; }
Property Value
Type Description
bool
View Source

DepthFunction

Gets and Sets DepthFunction.

Declaration
C#
Copy
public int DepthFunction { get; set; }
Property Value
Type Description
int
View Source

DepthIndex

Gets and Sets DepthIndex property.

Declaration
C#
Copy
public int DepthIndex { get; set; }
Property Value
Type Description
int
View Source

DepthTestMode

Gets and Sets DepthTestMode.

Declaration
C#
Copy
public int DepthTestMode { get; set; }
Property Value
Type Description
int
View Source

DepthWriteMode

Gets and Sets DepthWriteMode.

Declaration
C#
Copy
public int DepthWriteMode { get; set; }
Property Value
Type Description
int
View Source

FaceCullingMode

Gets and Sets FaceCullingMode.

Declaration
C#
Copy
public int FaceCullingMode { get; set; }
Property Value
Type Description
int
View Source

IndexRangeCount

Gets and Sets IndexRangeCount.

Declaration
C#
Copy
public int IndexRangeCount { get; set; }
Property Value
Type Description
int
View Source

IndexRangeFirst

Gets and Sets IndexRangeFirst.

Declaration
C#
Copy
public int IndexRangeFirst { get; set; }
Property Value
Type Description
int
View Source

RenderMode

Gets and Sets RenderMode.

Declaration
C#
Copy
public int RenderMode { get; set; }
Property Value
Type Description
int
View Source

StencilFunction

Gets and Sets StencilFunction.

Declaration
C#
Copy
public int StencilFunction { get; set; }
Property Value
Type Description
int
View Source

StencilFunctionMask

Gets and Sets StencilFunctionMask.

Declaration
C#
Copy
public int StencilFunctionMask { get; set; }
Property Value
Type Description
int
View Source

StencilFunctionReference

Gets and Sets StencilFunctionReference.

Declaration
C#
Copy
public int StencilFunctionReference { get; set; }
Property Value
Type Description
int
View Source

StencilMask

Gets and Sets StencilMask.

Declaration
C#
Copy
public int StencilMask { get; set; }
Property Value
Type Description
int
View Source

StencilOperationOnFail

Gets and Sets StencilOperationOnFail.

Declaration
C#
Copy
public int StencilOperationOnFail { get; set; }
Property Value
Type Description
int
View Source

StencilOperationOnZFail

Gets and Sets StencilOperationOnZFail.

Declaration
C#
Copy
public int StencilOperationOnZFail { get; set; }
Property Value
Type Description
int
View Source

StencilOperationOnZPass

Gets and Sets StencilOperationOnZPass property.

Declaration
C#
Copy
public int StencilOperationOnZPass { get; set; }
Property Value
Type Description
int

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.

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.

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.

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.

View Source

SetIndexRange(int, int)

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
int firstElement

The First element to draw.

int elementsCount

The number of elements to draw.

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.

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.

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable