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.
public class Renderer : Animatable, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
- Inheritance
- Implements
Constructors
View SourceRenderer(Geometry, Shader)
Create an instance of Renderer.
Declaration
public Renderer(Geometry geometry, Shader shader)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry | |
Shader | shader |
API Level: 3
Properties
View SourceBlendColor
Gets and Sets BlendColor.
Declaration
public Vector4 BlendColor { get; set; }
Property Value
Type | Description |
---|---|
Vector4 |
API Level: 3
View SourceBlendEquationAlpha
Gets and Sets BlendEquationAlpha.
Declaration
public int BlendEquationAlpha { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceBlendEquationRgb
Gets and Sets BlendEquationRgb.
Declaration
public int BlendEquationRgb { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceBlendFactorDestAlpha
Gets and Sets BlendFactorDestAlpha.
Declaration
public int BlendFactorDestAlpha { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceBlendFactorDestRgb
Gets and Sets BlendFactorDestRgb.
Declaration
public int BlendFactorDestRgb { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceBlendFactorSrcAlpha
Gets and Sets BlendFactorSrcAlpha.
Declaration
public int BlendFactorSrcAlpha { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceBlendFactorSrcRgb
Gets and Sets BlendFactorSrcRgb.
Declaration
public int BlendFactorSrcRgb { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceBlendMode
Gets and Sets BlendMode.
Declaration
public int BlendMode { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceBlendPreMultipliedAlpha
Gets and Sets BlendPreMultipliedAlpha.
Declaration
public bool BlendPreMultipliedAlpha { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: 3
View SourceDepthFunction
Gets and Sets DepthFunction.
Declaration
public int DepthFunction { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceDepthIndex
Gets and Sets DepthIndex property.
Declaration
public int DepthIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceDepthTestMode
Gets and Sets DepthTestMode.
Declaration
public int DepthTestMode { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceDepthWriteMode
Gets and Sets DepthWriteMode.
Declaration
public int DepthWriteMode { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceFaceCullingMode
Gets and Sets FaceCullingMode.
Declaration
public int FaceCullingMode { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceIndexRangeCount
Gets and Sets IndexRangeCount.
Declaration
public int IndexRangeCount { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceIndexRangeFirst
Gets and Sets IndexRangeFirst.
Declaration
public int IndexRangeFirst { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceRenderMode
Gets and Sets RenderMode.
Declaration
public int RenderMode { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceStencilFunction
Gets and Sets StencilFunction.
Declaration
public int StencilFunction { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceStencilFunctionMask
Gets and Sets StencilFunctionMask.
Declaration
public int StencilFunctionMask { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceStencilFunctionReference
Gets and Sets StencilFunctionReference.
Declaration
public int StencilFunctionReference { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceStencilMask
Gets and Sets StencilMask.
Declaration
public int StencilMask { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceStencilOperationOnFail
Gets and Sets StencilOperationOnFail.
Declaration
public int StencilOperationOnFail { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceStencilOperationOnZFail
Gets and Sets StencilOperationOnZFail.
Declaration
public int StencilOperationOnZFail { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
View SourceStencilOperationOnZPass
Gets and Sets StencilOperationOnZPass property.
Declaration
public int StencilOperationOnZPass { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: 3
Methods
View SourceGetGeometry()
Gets the geometry used by this renderer.
Declaration
public Geometry GetGeometry()
Returns
Type | Description |
---|---|
Geometry | The geometry used by the renderer. |
API Level: 3
View SourceGetShader()
Gets the shader used by this renderer.
Declaration
public Shader GetShader()
Returns
Type | Description |
---|---|
Shader | The shader used by the renderer. |
API Level: 3
View SourceGetTextures()
Gets the texture set used by this renderer.
Declaration
public TextureSet GetTextures()
Returns
Type | Description |
---|---|
TextureSet | The texture set used by the renderer. |
API Level: 3
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. |
API Level: 3
View SourceSetIndexRange(Int32, Int32)
Sets effective range of indices to draw from bound index buffer.
Declaration
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 SourceSetShader(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. |
API Level: 3
View SourceSetTextures(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. |