Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Enable ( ) : void | ||
Enable ( IDepthStencil depthStencil ) : void | ||
ReadPixel ( Point2 position, |
||
ReadPixels ( |
||
ReadPixels ( byte data ) : void | ||
RenderTarget ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, |
||
RenderTarget ( IDisposableResource parent, string filename, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System |
Method | Description | |
---|---|---|
init ( IDisposableResource parent, Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, Loader loadedCallback ) : bool |
Method | Description | |
---|---|---|
initDepthStencil ( int width, int height, DepthStencilFormats depthStencilFormat ) : void |
public Enable ( IDepthStencil depthStencil ) : void | ||
depthStencil | IDepthStencil | |
return | void |
public ReadPixel ( Point2 position, |
||
position | Point2 | |
color | ||
return | bool |
public ReadPixels ( |
||
colors | ||
return | void |
public RenderTarget ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, |
||
parent | IDisposableResource | |
image | System.Image | |
width | int | |
height | int | |
generateMipmaps | bool | |
multiSampleType | MultiSampleTypes | |
surfaceFormat | SurfaceFormats | |
depthStencilFormat | DepthStencilFormats | |
renderTargetUsage | RenderTargetUsage | |
usage | BufferUsages | |
loadedCallback | ||
return | System |
public RenderTarget ( IDisposableResource parent, string filename, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System | ||
parent | IDisposableResource | |
filename | string | |
width | int | |
height | int | |
generateMipmaps | bool | |
multiSampleType | MultiSampleTypes | |
surfaceFormat | SurfaceFormats | |
depthStencilFormat | DepthStencilFormats | |
renderTargetUsage | RenderTargetUsage | |
usage | BufferUsages | |
loadedCallback | Loader | |
return | System |
protected init ( IDisposableResource parent, Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, Loader loadedCallback ) : bool | ||
parent | IDisposableResource | |
image | Image | |
width | int | |
height | int | |
generateMipmaps | bool | |
multiSampleType | MultiSampleTypes | |
surfaceFormat | SurfaceFormats | |
renderTargetUsage | RenderTargetUsage | |
usage | BufferUsages | |
isRenderTarget | bool | |
loadedCallback | Loader | |
return | bool |