Метод | Описание | |
---|---|---|
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).
|
Метод | Описание | |
---|---|---|
CreateDepthBuffer ( int width, int height ) : void |
public AttachColorBuffer ( |
||
colorbuffer | ||
attachPosition | ColorBufferAttachPoint | |
Результат | void |
public GLRenderTarget ( |
||
texture | ||
Результат | System.Collections.Generic |
public GLRenderTarget ( |
||
gi | ||
Результат | 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. |
Результат | System.Collections.Generic |
public GetColorBuffer ( ColorBufferAttachPoint attachPoint ) : |
||
attachPoint | ColorBufferAttachPoint | |
Результат |