C# 클래스 ShowIt.DisplaySurface

The DisplaySurface represents a surface that can display an image. It is meant to have behavior that is similar to a Monitor on a desktop in that it has a resolution, contrast, brightness, sharpness and the like. The Display has an offscreen buffer, which matches the specified resolution. All rendering occurs in the offscreen buffer, which is then displayed when rendering occurs. This allows for various shaders to run while rendering to the offscreen buffer. This is how the contrast, brightness and the like can be implemented.
상속: IHaveTexture
파일 보기 프로젝트 열기: Wiladams/NewTOAPIA

공개 메소드들

메소드 설명
DisplaySurface ( GraphicsInterface gi, Resolution res, IHaveTexture imageSource ) : System
RefreshDisplayImage ( ) : void

This is called by whomever is managing the display surface. The effect will be to get the current texture from the image source and render it into the offscreen buffer applying any image filters that may be active.

메소드 상세

DisplaySurface() 공개 메소드

public DisplaySurface ( GraphicsInterface gi, Resolution res, IHaveTexture imageSource ) : System
gi NewTOAPIA.GL.GraphicsInterface
res Resolution
imageSource IHaveTexture
리턴 System

RefreshDisplayImage() 공개 메소드

This is called by whomever is managing the display surface. The effect will be to get the current texture from the image source and render it into the offscreen buffer applying any image filters that may be active.
public RefreshDisplayImage ( ) : void
리턴 void