C# 클래스 Axiom.RenderSystems.OpenGLES.GLESRenderSystem

상속: Axiom.Graphics.RenderSystem
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ActivateGLClientTextureUnit bool
ActivateGLTextureUnit bool
CheckCaps void
ConvertCompareFunction All
ConvertStencilOP All
GetBlendMode All
GetCurrentAnisotropy int
GetTextureAddressingMode All
MakeGLMatrix void
SetGLLight void
SetGLLightPositionDirection void
SetLights void
SetRenderTarget void
SwitchContext void
_oneTimeContextInitialization void

공개 메소드들

메소드 설명
ApplyObliqueDepthProjection ( Matrix4 &projMatrix, Plane plane, bool forGpuProgram ) : void
BeginFrame ( ) : void
BeginGeometryCount ( ) : void
BindGpuProgram ( Axiom.Graphics.GpuProgram program ) : void

BindGpuProgramParameters ( GpuProgramType type, GpuProgramParameters parms ) : void

ClearFrameBuffer ( FrameBufferType buffers, ColorEx color, float depth, int stencil ) : void
ConvertColor ( int color ) : ColorEx
ConvertColor ( ColorEx color ) : int
ConvertProjectionMatrix ( Matrix4 matrix, bool forGpuProgram ) : Matrix4
CreateHardwareOcclusionQuery ( ) : HardwareOcclusionQuery
CreateMultiRenderTarget ( string name ) : Axiom.Graphics.MultiRenderTarget

CreateRenderWindow ( string name, int width, int height, bool isFullscreen, Collections miscParams ) : Axiom.Graphics.RenderWindow

DestroyRenderTarget ( string name ) : void
DestroyRenderTexture ( string name ) : void
DestroyRenderWindow ( string name ) : void

DetachRenderTarget ( RenderTarget target ) : RenderTarget
DisableTextureUnit ( int stage ) : void
DisableTextureUnitsFrom ( int texUnit ) : void
EnableClipPlane ( ushort index, bool enable ) : void
EndFrame ( ) : void
Equals ( object obj ) : bool
GLESRenderSystem ( ) : System

Default ctor.

GetHashCode ( ) : int
InitRenderTargets ( ) : void
Initialize ( bool autoCreateWindow, string windowTitle ) : Axiom.Graphics.RenderWindow

MakeOrthoMatrix ( float fov, float aspectRatio, float near, float far, bool forGpuPrograms ) : Matrix4
MakeProjectionMatrix ( float fov, float aspectRatio, float near, float far, bool forGpuProgram ) : Matrix4
MakeProjectionMatrix ( float left, float right, float bottom, float top, float nearPlane, float farPlane, bool forGpuProgram ) : Matrix4
RemoveRenderTargets ( ) : void
Render ( RenderOperation op ) : void

SetAlphaRejectSettings ( CompareFunction func, int value, bool alphaToCoverage ) : void
SetClipPlane ( ushort index, float A, float B, float C, float D ) : void
SetColorBufferWriteEnabled ( bool red, bool green, bool blue, bool alpha ) : void
SetConfigOption ( string name, string value ) : void

SetDepthBias ( float constantBias, float slopeScaleBias ) : void
SetDepthBufferParams ( bool depthTest, bool depthWrite, CompareFunction depthFunction ) : void
SetFog ( Graphics mode, ColorEx color, float density, float start, float end ) : void
SetGLColorMask ( bool red, bool green, bool blue, bool alpha ) : void
SetGLDepthMask ( bool flag ) : void
SetGLLightf ( All light, All name, float param ) : void
SetGLLightfv ( All light, All name, float param ) : void
SetGLMaterialfv ( All face, All name, float param ) : void
SetGLMatrixMode ( All mode ) : void
SetGLPointParamf ( All name, float param ) : void
SetGLPointParamfv ( All name, float param ) : void
SetGLTexEnvf ( All target, All name, float param ) : void
SetGLTexEnvfv ( All target, All name, float param ) : void
SetGLTexEnvi ( All target, All name, int param ) : void
SetPointParameters ( float size, bool attenuationEnabled, float constant, float linear, float quadratic, float minSize, float maxSize ) : void

SetSceneBlending ( SceneBlendFactor src, SceneBlendFactor dest ) : void

SetScissorTest ( bool enable, int left, int top, int right, int bottom ) : void
SetSeparateSceneBlending ( SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha ) : void
SetStencilBufferParams ( CompareFunction function, int refValue, int mask, StencilOperation stencilFailOp, StencilOperation depthFailOp, StencilOperation passOp, bool twoSidedOperation ) : void
SetSurfaceParams ( ColorEx ambient, ColorEx diffuse, ColorEx specular, ColorEx emissive, float shininess, TrackVertexColor tracking ) : void

SetTexture ( int stage, bool enabled, Texture texture ) : void

SetTextureAddressingMode ( int stage, TextureAddressing texAddressingMode ) : void

SetTextureBlendMode ( int stage, LayerBlendModeEx bm ) : void

SetTextureBorderColor ( int stage, ColorEx borderColor ) : void

SetTextureCoordCalculation ( int stage, TexCoordCalcMethod method, Frustum frustum ) : void
SetTextureCoordSet ( int stage, int index ) : void

SetTextureLayerAnisotropy ( int unit, int maxAnisotropy ) : void
SetTextureMatrix ( int stage, Matrix4 xform ) : void

SetTextureUnitFiltering ( int unit, FilterType ftype, FilterOptions fo ) : void
SetViewport ( Viewport viewport ) : void
SetWorldMatrices ( Matrix4 matrices, ushort count ) : void
Shutdown ( ) : void

UnbindGpuProgram ( GpuProgramType type ) : void

UnregisterContext ( GLESContext context ) : void

UseLights ( Core lightList, int limit ) : void
VBOBufferOffset ( int i ) : IntPtr
ValidateConfiguration ( ) : string

보호된 메소드들

메소드 설명
InitializeContext ( RenderTarget primary ) : void

비공개 메소드들

메소드 설명
ActivateGLClientTextureUnit ( int unit ) : bool
ActivateGLTextureUnit ( int unit ) : bool

CheckCaps ( RenderTarget primary ) : void

ConvertCompareFunction ( CompareFunction func ) : All
ConvertStencilOP ( StencilOperation op, bool invert ) : All
GetBlendMode ( SceneBlendFactor blend ) : All

GetCurrentAnisotropy ( int unit ) : int
GetTextureAddressingMode ( TextureAddressing tam ) : All

MakeGLMatrix ( float &glMatrix, Matrix4 m ) : void

SetGLLight ( int index, Light l ) : void

SetGLLightPositionDirection ( Light lt, All lightindex ) : void

SetLights ( ) : void

SetRenderTarget ( RenderTarget target ) : void
SwitchContext ( GLESContext context ) : void

_oneTimeContextInitialization ( ) : void

메소드 상세

ApplyObliqueDepthProjection() 공개 메소드

public ApplyObliqueDepthProjection ( Matrix4 &projMatrix, Plane plane, bool forGpuProgram ) : void
projMatrix Axiom.Math.Matrix4
plane Axiom.Math.Plane
forGpuProgram bool
리턴 void

BeginFrame() 공개 메소드

public BeginFrame ( ) : void
리턴 void

BeginGeometryCount() 공개 메소드

public BeginGeometryCount ( ) : void
리턴 void

BindGpuProgram() 공개 메소드

public BindGpuProgram ( Axiom.Graphics.GpuProgram program ) : void
program Axiom.Graphics.GpuProgram
리턴 void

BindGpuProgramParameters() 공개 메소드

public BindGpuProgramParameters ( GpuProgramType type, GpuProgramParameters parms ) : void
type GpuProgramType
parms Axiom.Graphics.GpuProgramParameters
리턴 void

ClearFrameBuffer() 공개 메소드

public ClearFrameBuffer ( FrameBufferType buffers, ColorEx color, float depth, int stencil ) : void
buffers FrameBufferType
color Axiom.Core.ColorEx
depth float
stencil int
리턴 void

ConvertColor() 공개 메소드

public ConvertColor ( int color ) : ColorEx
color int
리턴 Axiom.Core.ColorEx

ConvertColor() 공개 메소드

public ConvertColor ( ColorEx color ) : int
color Axiom.Core.ColorEx
리턴 int

ConvertProjectionMatrix() 공개 메소드

public ConvertProjectionMatrix ( Matrix4 matrix, bool forGpuProgram ) : Matrix4
matrix Axiom.Math.Matrix4
forGpuProgram bool
리턴 Axiom.Math.Matrix4

CreateHardwareOcclusionQuery() 공개 메소드

public CreateHardwareOcclusionQuery ( ) : HardwareOcclusionQuery
리턴 Axiom.Graphics.HardwareOcclusionQuery

CreateMultiRenderTarget() 공개 메소드

public CreateMultiRenderTarget ( string name ) : Axiom.Graphics.MultiRenderTarget
name string
리턴 Axiom.Graphics.MultiRenderTarget

CreateRenderWindow() 공개 메소드

public CreateRenderWindow ( string name, int width, int height, bool isFullscreen, Collections miscParams ) : Axiom.Graphics.RenderWindow
name string
width int
height int
isFullscreen bool
miscParams Collections
리턴 Axiom.Graphics.RenderWindow

DestroyRenderTarget() 공개 메소드

public DestroyRenderTarget ( string name ) : void
name string
리턴 void

DestroyRenderTexture() 공개 메소드

public DestroyRenderTexture ( string name ) : void
name string
리턴 void

DestroyRenderWindow() 공개 메소드

public DestroyRenderWindow ( string name ) : void
name string
리턴 void

DetachRenderTarget() 공개 메소드

public DetachRenderTarget ( RenderTarget target ) : RenderTarget
target Axiom.Graphics.RenderTarget
리턴 Axiom.Graphics.RenderTarget

DisableTextureUnit() 공개 메소드

public DisableTextureUnit ( int stage ) : void
stage int
리턴 void

DisableTextureUnitsFrom() 공개 메소드

public DisableTextureUnitsFrom ( int texUnit ) : void
texUnit int
리턴 void

EnableClipPlane() 공개 메소드

public EnableClipPlane ( ushort index, bool enable ) : void
index ushort
enable bool
리턴 void

EndFrame() 공개 메소드

public EndFrame ( ) : void
리턴 void

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GLESRenderSystem() 공개 메소드

Default ctor.
public GLESRenderSystem ( ) : System
리턴 System

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

InitRenderTargets() 공개 메소드

public InitRenderTargets ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( bool autoCreateWindow, string windowTitle ) : Axiom.Graphics.RenderWindow
autoCreateWindow bool
windowTitle string
리턴 Axiom.Graphics.RenderWindow

InitializeContext() 보호된 메소드

protected InitializeContext ( RenderTarget primary ) : void
primary Axiom.Graphics.RenderTarget
리턴 void

MakeOrthoMatrix() 공개 메소드

public MakeOrthoMatrix ( float fov, float aspectRatio, float near, float far, bool forGpuPrograms ) : Matrix4
fov float
aspectRatio float
near float
far float
forGpuPrograms bool
리턴 Axiom.Math.Matrix4

MakeProjectionMatrix() 공개 메소드

public MakeProjectionMatrix ( float fov, float aspectRatio, float near, float far, bool forGpuProgram ) : Matrix4
fov float
aspectRatio float
near float
far float
forGpuProgram bool
리턴 Axiom.Math.Matrix4

MakeProjectionMatrix() 공개 메소드

public MakeProjectionMatrix ( float left, float right, float bottom, float top, float nearPlane, float farPlane, bool forGpuProgram ) : Matrix4
left float
right float
bottom float
top float
nearPlane float
farPlane float
forGpuProgram bool
리턴 Axiom.Math.Matrix4

RemoveRenderTargets() 공개 메소드

public RemoveRenderTargets ( ) : void
리턴 void

Render() 공개 메소드

public Render ( RenderOperation op ) : void
op RenderOperation
리턴 void

SetAlphaRejectSettings() 공개 메소드

public SetAlphaRejectSettings ( CompareFunction func, int value, bool alphaToCoverage ) : void
func CompareFunction
value int
alphaToCoverage bool
리턴 void

SetClipPlane() 공개 메소드

public SetClipPlane ( ushort index, float A, float B, float C, float D ) : void
index ushort
A float
B float
C float
D float
리턴 void

SetColorBufferWriteEnabled() 공개 메소드

public SetColorBufferWriteEnabled ( bool red, bool green, bool blue, bool alpha ) : void
red bool
green bool
blue bool
alpha bool
리턴 void

SetConfigOption() 공개 메소드

public SetConfigOption ( string name, string value ) : void
name string
value string
리턴 void

SetDepthBias() 공개 메소드

public SetDepthBias ( float constantBias, float slopeScaleBias ) : void
constantBias float
slopeScaleBias float
리턴 void

SetDepthBufferParams() 공개 메소드

public SetDepthBufferParams ( bool depthTest, bool depthWrite, CompareFunction depthFunction ) : void
depthTest bool
depthWrite bool
depthFunction CompareFunction
리턴 void

SetFog() 공개 메소드

public SetFog ( Graphics mode, ColorEx color, float density, float start, float end ) : void
mode Graphics
color ColorEx
density float
start float
end float
리턴 void

SetGLColorMask() 공개 메소드

public SetGLColorMask ( bool red, bool green, bool blue, bool alpha ) : void
red bool
green bool
blue bool
alpha bool
리턴 void

SetGLDepthMask() 공개 메소드

public SetGLDepthMask ( bool flag ) : void
flag bool
리턴 void

SetGLLightf() 공개 메소드

public SetGLLightf ( All light, All name, float param ) : void
light All
name All
param float
리턴 void

SetGLLightfv() 공개 메소드

public SetGLLightfv ( All light, All name, float param ) : void
light All
name All
param float
리턴 void

SetGLMaterialfv() 공개 메소드

public SetGLMaterialfv ( All face, All name, float param ) : void
face All
name All
param float
리턴 void

SetGLMatrixMode() 공개 메소드

public SetGLMatrixMode ( All mode ) : void
mode All
리턴 void

SetGLPointParamf() 공개 메소드

public SetGLPointParamf ( All name, float param ) : void
name All
param float
리턴 void

SetGLPointParamfv() 공개 메소드

public SetGLPointParamfv ( All name, float param ) : void
name All
param float
리턴 void

SetGLTexEnvf() 공개 메소드

public SetGLTexEnvf ( All target, All name, float param ) : void
target All
name All
param float
리턴 void

SetGLTexEnvfv() 공개 메소드

public SetGLTexEnvfv ( All target, All name, float param ) : void
target All
name All
param float
리턴 void

SetGLTexEnvi() 공개 메소드

public SetGLTexEnvi ( All target, All name, int param ) : void
target All
name All
param int
리턴 void

SetPointParameters() 공개 메소드

public SetPointParameters ( float size, bool attenuationEnabled, float constant, float linear, float quadratic, float minSize, float maxSize ) : void
size float
attenuationEnabled bool
constant float
linear float
quadratic float
minSize float
maxSize float
리턴 void

SetSceneBlending() 공개 메소드

public SetSceneBlending ( SceneBlendFactor src, SceneBlendFactor dest ) : void
src SceneBlendFactor
dest SceneBlendFactor
리턴 void

SetScissorTest() 공개 메소드

public SetScissorTest ( bool enable, int left, int top, int right, int bottom ) : void
enable bool
left int
top int
right int
bottom int
리턴 void

SetSeparateSceneBlending() 공개 메소드

public SetSeparateSceneBlending ( SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha ) : void
sourceFactor SceneBlendFactor
destFactor SceneBlendFactor
sourceFactorAlpha SceneBlendFactor
destFactorAlpha SceneBlendFactor
리턴 void

SetStencilBufferParams() 공개 메소드

public SetStencilBufferParams ( CompareFunction function, int refValue, int mask, StencilOperation stencilFailOp, StencilOperation depthFailOp, StencilOperation passOp, bool twoSidedOperation ) : void
function CompareFunction
refValue int
mask int
stencilFailOp StencilOperation
depthFailOp StencilOperation
passOp StencilOperation
twoSidedOperation bool
리턴 void

SetSurfaceParams() 공개 메소드

public SetSurfaceParams ( ColorEx ambient, ColorEx diffuse, ColorEx specular, ColorEx emissive, float shininess, TrackVertexColor tracking ) : void
ambient ColorEx
diffuse ColorEx
specular ColorEx
emissive ColorEx
shininess float
tracking TrackVertexColor
리턴 void

SetTexture() 공개 메소드

public SetTexture ( int stage, bool enabled, Texture texture ) : void
stage int
enabled bool
texture Texture
리턴 void

SetTextureAddressingMode() 공개 메소드

public SetTextureAddressingMode ( int stage, TextureAddressing texAddressingMode ) : void
stage int
texAddressingMode TextureAddressing
리턴 void

SetTextureBlendMode() 공개 메소드

public SetTextureBlendMode ( int stage, LayerBlendModeEx bm ) : void
stage int
bm LayerBlendModeEx
리턴 void

SetTextureBorderColor() 공개 메소드

public SetTextureBorderColor ( int stage, ColorEx borderColor ) : void
stage int
borderColor ColorEx
리턴 void

SetTextureCoordCalculation() 공개 메소드

public SetTextureCoordCalculation ( int stage, TexCoordCalcMethod method, Frustum frustum ) : void
stage int
method TexCoordCalcMethod
frustum Frustum
리턴 void

SetTextureCoordSet() 공개 메소드

public SetTextureCoordSet ( int stage, int index ) : void
stage int
index int
리턴 void

SetTextureLayerAnisotropy() 공개 메소드

public SetTextureLayerAnisotropy ( int unit, int maxAnisotropy ) : void
unit int
maxAnisotropy int
리턴 void

SetTextureMatrix() 공개 메소드

public SetTextureMatrix ( int stage, Matrix4 xform ) : void
stage int
xform Matrix4
리턴 void

SetTextureUnitFiltering() 공개 메소드

public SetTextureUnitFiltering ( int unit, FilterType ftype, FilterOptions fo ) : void
unit int
ftype FilterType
fo FilterOptions
리턴 void

SetViewport() 공개 메소드

public SetViewport ( Viewport viewport ) : void
viewport Viewport
리턴 void

SetWorldMatrices() 공개 메소드

public SetWorldMatrices ( Matrix4 matrices, ushort count ) : void
matrices Matrix4
count ushort
리턴 void

Shutdown() 공개 메소드

public Shutdown ( ) : void
리턴 void

UnbindGpuProgram() 공개 메소드

public UnbindGpuProgram ( GpuProgramType type ) : void
type GpuProgramType
리턴 void

UnregisterContext() 공개 메소드

public UnregisterContext ( GLESContext context ) : void
context GLESContext
리턴 void

UseLights() 공개 메소드

public UseLights ( Core lightList, int limit ) : void
lightList Core
limit int
리턴 void

VBOBufferOffset() 공개 정적인 메소드

public static VBOBufferOffset ( int i ) : IntPtr
i int
리턴 IntPtr

ValidateConfiguration() 공개 메소드

public ValidateConfiguration ( ) : string
리턴 string