Méthode | Description | |
---|---|---|
AttachColorBuffer ( |
||
Bind ( ) : void |
Make the RenderTarget the current target of rendering.
|
|
CreateDepthBuffer ( ) : void | ||
GLRenderTarget ( |
This is the easiest constructor to use when you already have a texture, and you want to draw into it. Just pass the texture in, and the RenderTarget will be constructed to match the size.
|
|
GLRenderTarget ( |
||
GLRenderTarget ( |
Create a render target with the specified width and height in pixels. A color buffer and depth buffer will be attached.
|
|
GetColorBuffer ( ColorBufferAttachPoint attachPoint ) : |
||
Unbind ( ) : void |
Switch back to the regular drawing context (typically the screen).
|
Méthode | Description | |
---|---|---|
CreateDepthBuffer ( int width, int height ) : void |
public AttachColorBuffer ( |
||
colorbuffer | ||
attachPosition | ColorBufferAttachPoint | |
Résultat | void |
public GLRenderTarget ( |
||
texture | ||
Résultat | System.Collections.Generic |
public GLRenderTarget ( |
||
gi | ||
Résultat | System.Collections.Generic |
public GLRenderTarget ( |
||
gi | The graphics interface used to construct the components. | |
width | int | The width of the RenderTarget in pixels. |
height | int | The height of the RenderTarget in pixels. |
Résultat | System.Collections.Generic |
public GetColorBuffer ( ColorBufferAttachPoint attachPoint ) : |
||
attachPoint | ColorBufferAttachPoint | |
Résultat |