메소드 | 설명 | |
---|---|---|
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 | |
리턴 |