Class FrameBuffer
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
public class FrameBuffer : BaseHandle, IDynamicResourceHandler, INameScope, System.IDisposable
- Inheritance
-
- Implements
-
System.IDisposable
Constructors
View Source
FrameBuffer(uint, uint, uint)
Declaration
public FrameBuffer(uint width, uint height, uint attachments)
Parameters
| Type |
Name |
Description |
| uint |
width |
|
| uint |
height |
|
| uint |
attachments |
|
Methods
View Source
AttachColorTexture(Texture, uint, uint)
Declaration
public void AttachColorTexture(Texture texture, uint mipmapLevel, uint layer)
Parameters
| Type |
Name |
Description |
| Texture |
texture |
|
| uint |
mipmapLevel |
|
| uint |
layer |
|
View Source
AttachColorTexture(Texture)
Declaration
public void AttachColorTexture(Texture texture)
Parameters
| Type |
Name |
Description |
| Texture |
texture |
|
View Source
AttachDepthTexture(Texture, uint)
Declaration
public void AttachDepthTexture(Texture texture, uint mipmapLevel)
Parameters
| Type |
Name |
Description |
| Texture |
texture |
|
| uint |
mipmapLevel |
|
View Source
AttachDepthTexture(Texture)
Declaration
public void AttachDepthTexture(Texture texture)
Parameters
| Type |
Name |
Description |
| Texture |
texture |
|
View Source
GenerateDepthUrl()
Generate URI from current depth buffer.
Declaration
public ImageUrl GenerateDepthUrl()
Returns
View Source
GenerateUrl()
Generate URI from current buffer.
Declaration
public ImageUrl GenerateUrl()
Returns
View Source
GenerateUrl(uint)
Generate URI from current buffer.
Declaration
public ImageUrl GenerateUrl(uint index)
Parameters
| Type |
Name |
Description |
| uint |
index |
The index of attached color texture
|
Returns
View Source
Generate URI from current buffer.
Declaration
public ImageUrl GenerateUrl(PixelFormat pixelFormat, int width, int height)
Parameters
| Type |
Name |
Description |
| PixelFormat |
pixelFormat |
The pixel format for this frame buffer
|
| int |
width |
The width for this frame buffer
|
| int |
height |
The height for this frame buffer
|
Returns
View Source
GetColorTexture()
Declaration
public Texture GetColorTexture()
Returns
View Source
GetColorTexture(uint)
Declaration
public Texture GetColorTexture(uint index)
Parameters
| Type |
Name |
Description |
| uint |
index |
|
Returns
View Source
GetDepthTexture()
Declaration
public Texture GetDepthTexture()
Returns
View Source
ReleaseSwigCPtr(HandleRef)
Declaration
protected override void ReleaseSwigCPtr(System.Runtime.InteropServices.HandleRef swigCPtr)
Parameters
| Type |
Name |
Description |
| System.Runtime.InteropServices.HandleRef |
swigCPtr |
|
Overrides
Implements
System.IDisposable
Extension Methods