Class FrameBuffer
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
C#Copypublic class FrameBuffer : BaseHandle, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
- Inheritance
- Implements
Constructors
Declaration
C#Copypublic FrameBuffer(uint width, uint height, uint attachments)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | width | |
UInt32 | height | |
UInt32 | attachments |
Methods
Declaration
C#Copypublic void AttachColorTexture(Texture texture)
Parameters
Type | Name | Description |
---|---|---|
Texture | texture |
Declaration
C#Copypublic void AttachColorTexture(Texture texture, uint mipmapLevel, uint layer)
Parameters
Type | Name | Description |
---|---|---|
Texture | texture | |
UInt32 | mipmapLevel | |
UInt32 | layer |
Declaration
C#Copypublic ImageUrl GenerateUrl(PixelFormat pixelFormat, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
PixelFormat | pixelFormat | The pixel format for this frame buffer |
Int32 | width | The width for this frame buffer |
Int32 | height | The height for this frame buffer |
Returns
Type | Description |
---|---|
ImageUrl |
Declaration
C#Copypublic Texture GetColorTexture()
Returns
Type | Description |
---|---|
Texture |
Declaration
C#Copyprotected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |