C# 클래스 Reign.Video.OpenGL.RenderTarget

상속: Texture2D, IRenderTarget
파일 보기 프로젝트 열기: reignstudios/ReignSDK

공개 메소드들

메소드 설명
Dispose ( ) : void
Enable ( ) : void
Enable ( IDepthStencil depthStencil ) : void
ReadPixel ( Point2 position, Color4 &color ) : bool
ReadPixels ( Color4 colors ) : void
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, Loader loadedCallback ) : System
RenderTarget ( IDisposableResource parent, string filename, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System

보호된 메소드들

메소드 설명
init ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, Loader loadedCallback ) : bool

비공개 메소드들

메소드 설명
initDepthStencil ( int width, int height, DepthStencilFormats depthStencilFormat ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Enable() 공개 메소드

public Enable ( ) : void
리턴 void

Enable() 공개 메소드

public Enable ( IDepthStencil depthStencil ) : void
depthStencil IDepthStencil
리턴 void

ReadPixel() 공개 메소드

public ReadPixel ( Point2 position, Color4 &color ) : bool
position Point2
color Reign.Core.Color4
리턴 bool

ReadPixels() 공개 메소드

public ReadPixels ( Color4 colors ) : void
colors Reign.Core.Color4
리턴 void

ReadPixels() 공개 메소드

public ReadPixels ( byte data ) : void
data byte
리턴 void

RenderTarget() 공개 메소드

public RenderTarget ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, DepthStencilFormats depthStencilFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, Loader loadedCallback ) : System
parent IDisposableResource
image System.Image
width int
height int
generateMipmaps bool
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
depthStencilFormat DepthStencilFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
loadedCallback Reign.Core.Loader
리턴 System

RenderTarget() 공개 메소드

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 Reign.Core.Loader
리턴 System

init() 보호된 메소드

protected init ( IDisposableResource parent, System.Image image, int width, int height, bool generateMipmaps, MultiSampleTypes multiSampleType, SurfaceFormats surfaceFormat, RenderTargetUsage renderTargetUsage, BufferUsages usage, bool isRenderTarget, Loader loadedCallback ) : bool
parent IDisposableResource
image System.Image
width int
height int
generateMipmaps bool
multiSampleType MultiSampleTypes
surfaceFormat SurfaceFormats
renderTargetUsage RenderTargetUsage
usage BufferUsages
isRenderTarget bool
loadedCallback Reign.Core.Loader
리턴 bool