C# Class Axiom.RenderSystems.OpenGLES.GLESRenderSystem

Inheritance: Axiom.Graphics.RenderSystem
Afficher le fichier Open project: WolfgangSt/axiom Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
InitializeContext ( RenderTarget primary ) : void

Private Methods

Méthode Description
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

Method Details

ApplyObliqueDepthProjection() public méthode

public ApplyObliqueDepthProjection ( Matrix4 &projMatrix, Plane plane, bool forGpuProgram ) : void
projMatrix Axiom.Math.Matrix4
plane Axiom.Math.Plane
forGpuProgram bool
Résultat void

BeginFrame() public méthode

public BeginFrame ( ) : void
Résultat void

BeginGeometryCount() public méthode

public BeginGeometryCount ( ) : void
Résultat void

BindGpuProgram() public méthode

public BindGpuProgram ( Axiom.Graphics.GpuProgram program ) : void
program Axiom.Graphics.GpuProgram
Résultat void

BindGpuProgramParameters() public méthode

public BindGpuProgramParameters ( GpuProgramType type, GpuProgramParameters parms ) : void
type GpuProgramType
parms Axiom.Graphics.GpuProgramParameters
Résultat void

ClearFrameBuffer() public méthode

public ClearFrameBuffer ( FrameBufferType buffers, ColorEx color, float depth, int stencil ) : void
buffers FrameBufferType
color Axiom.Core.ColorEx
depth float
stencil int
Résultat void

ConvertColor() public méthode

public ConvertColor ( int color ) : ColorEx
color int
Résultat Axiom.Core.ColorEx

ConvertColor() public méthode

public ConvertColor ( ColorEx color ) : int
color Axiom.Core.ColorEx
Résultat int

ConvertProjectionMatrix() public méthode

public ConvertProjectionMatrix ( Matrix4 matrix, bool forGpuProgram ) : Matrix4
matrix Axiom.Math.Matrix4
forGpuProgram bool
Résultat Axiom.Math.Matrix4

CreateHardwareOcclusionQuery() public méthode

public CreateHardwareOcclusionQuery ( ) : HardwareOcclusionQuery
Résultat Axiom.Graphics.HardwareOcclusionQuery

CreateMultiRenderTarget() public méthode

public CreateMultiRenderTarget ( string name ) : Axiom.Graphics.MultiRenderTarget
name string
Résultat Axiom.Graphics.MultiRenderTarget

CreateRenderWindow() public méthode

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
Résultat Axiom.Graphics.RenderWindow

DestroyRenderTarget() public méthode

public DestroyRenderTarget ( string name ) : void
name string
Résultat void

DestroyRenderTexture() public méthode

public DestroyRenderTexture ( string name ) : void
name string
Résultat void

DestroyRenderWindow() public méthode

public DestroyRenderWindow ( string name ) : void
name string
Résultat void

DetachRenderTarget() public méthode

public DetachRenderTarget ( RenderTarget target ) : RenderTarget
target Axiom.Graphics.RenderTarget
Résultat Axiom.Graphics.RenderTarget

DisableTextureUnit() public méthode

public DisableTextureUnit ( int stage ) : void
stage int
Résultat void

DisableTextureUnitsFrom() public méthode

public DisableTextureUnitsFrom ( int texUnit ) : void
texUnit int
Résultat void

EnableClipPlane() public méthode

public EnableClipPlane ( ushort index, bool enable ) : void
index ushort
enable bool
Résultat void

EndFrame() public méthode

public EndFrame ( ) : void
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GLESRenderSystem() public méthode

Default ctor.
public GLESRenderSystem ( ) : System
Résultat System

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

InitRenderTargets() public méthode

public InitRenderTargets ( ) : void
Résultat void

Initialize() public méthode

public Initialize ( bool autoCreateWindow, string windowTitle ) : Axiom.Graphics.RenderWindow
autoCreateWindow bool
windowTitle string
Résultat Axiom.Graphics.RenderWindow

InitializeContext() protected méthode

protected InitializeContext ( RenderTarget primary ) : void
primary Axiom.Graphics.RenderTarget
Résultat void

MakeOrthoMatrix() public méthode

public MakeOrthoMatrix ( float fov, float aspectRatio, float near, float far, bool forGpuPrograms ) : Matrix4
fov float
aspectRatio float
near float
far float
forGpuPrograms bool
Résultat Axiom.Math.Matrix4

MakeProjectionMatrix() public méthode

public MakeProjectionMatrix ( float fov, float aspectRatio, float near, float far, bool forGpuProgram ) : Matrix4
fov float
aspectRatio float
near float
far float
forGpuProgram bool
Résultat Axiom.Math.Matrix4

MakeProjectionMatrix() public méthode

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
Résultat Axiom.Math.Matrix4

RemoveRenderTargets() public méthode

public RemoveRenderTargets ( ) : void
Résultat void

Render() public méthode

public Render ( RenderOperation op ) : void
op RenderOperation
Résultat void

SetAlphaRejectSettings() public méthode

public SetAlphaRejectSettings ( CompareFunction func, int value, bool alphaToCoverage ) : void
func CompareFunction
value int
alphaToCoverage bool
Résultat void

SetClipPlane() public méthode

public SetClipPlane ( ushort index, float A, float B, float C, float D ) : void
index ushort
A float
B float
C float
D float
Résultat void

SetColorBufferWriteEnabled() public méthode

public SetColorBufferWriteEnabled ( bool red, bool green, bool blue, bool alpha ) : void
red bool
green bool
blue bool
alpha bool
Résultat void

SetConfigOption() public méthode

public SetConfigOption ( string name, string value ) : void
name string
value string
Résultat void

SetDepthBias() public méthode

public SetDepthBias ( float constantBias, float slopeScaleBias ) : void
constantBias float
slopeScaleBias float
Résultat void

SetDepthBufferParams() public méthode

public SetDepthBufferParams ( bool depthTest, bool depthWrite, CompareFunction depthFunction ) : void
depthTest bool
depthWrite bool
depthFunction CompareFunction
Résultat void

SetFog() public méthode

public SetFog ( Graphics mode, ColorEx color, float density, float start, float end ) : void
mode Graphics
color ColorEx
density float
start float
end float
Résultat void

SetGLColorMask() public méthode

public SetGLColorMask ( bool red, bool green, bool blue, bool alpha ) : void
red bool
green bool
blue bool
alpha bool
Résultat void

SetGLDepthMask() public méthode

public SetGLDepthMask ( bool flag ) : void
flag bool
Résultat void

SetGLLightf() public méthode

public SetGLLightf ( All light, All name, float param ) : void
light All
name All
param float
Résultat void

SetGLLightfv() public méthode

public SetGLLightfv ( All light, All name, float param ) : void
light All
name All
param float
Résultat void

SetGLMaterialfv() public méthode

public SetGLMaterialfv ( All face, All name, float param ) : void
face All
name All
param float
Résultat void

SetGLMatrixMode() public méthode

public SetGLMatrixMode ( All mode ) : void
mode All
Résultat void

SetGLPointParamf() public méthode

public SetGLPointParamf ( All name, float param ) : void
name All
param float
Résultat void

SetGLPointParamfv() public méthode

public SetGLPointParamfv ( All name, float param ) : void
name All
param float
Résultat void

SetGLTexEnvf() public méthode

public SetGLTexEnvf ( All target, All name, float param ) : void
target All
name All
param float
Résultat void

SetGLTexEnvfv() public méthode

public SetGLTexEnvfv ( All target, All name, float param ) : void
target All
name All
param float
Résultat void

SetGLTexEnvi() public méthode

public SetGLTexEnvi ( All target, All name, int param ) : void
target All
name All
param int
Résultat void

SetPointParameters() public méthode

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
Résultat void

SetSceneBlending() public méthode

public SetSceneBlending ( SceneBlendFactor src, SceneBlendFactor dest ) : void
src SceneBlendFactor
dest SceneBlendFactor
Résultat void

SetScissorTest() public méthode

public SetScissorTest ( bool enable, int left, int top, int right, int bottom ) : void
enable bool
left int
top int
right int
bottom int
Résultat void

SetSeparateSceneBlending() public méthode

public SetSeparateSceneBlending ( SceneBlendFactor sourceFactor, SceneBlendFactor destFactor, SceneBlendFactor sourceFactorAlpha, SceneBlendFactor destFactorAlpha ) : void
sourceFactor SceneBlendFactor
destFactor SceneBlendFactor
sourceFactorAlpha SceneBlendFactor
destFactorAlpha SceneBlendFactor
Résultat void

SetStencilBufferParams() public méthode

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
Résultat void

SetSurfaceParams() public méthode

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
Résultat void

SetTexture() public méthode

public SetTexture ( int stage, bool enabled, Texture texture ) : void
stage int
enabled bool
texture Texture
Résultat void

SetTextureAddressingMode() public méthode

public SetTextureAddressingMode ( int stage, TextureAddressing texAddressingMode ) : void
stage int
texAddressingMode TextureAddressing
Résultat void

SetTextureBlendMode() public méthode

public SetTextureBlendMode ( int stage, LayerBlendModeEx bm ) : void
stage int
bm LayerBlendModeEx
Résultat void

SetTextureBorderColor() public méthode

public SetTextureBorderColor ( int stage, ColorEx borderColor ) : void
stage int
borderColor ColorEx
Résultat void

SetTextureCoordCalculation() public méthode

public SetTextureCoordCalculation ( int stage, TexCoordCalcMethod method, Frustum frustum ) : void
stage int
method TexCoordCalcMethod
frustum Frustum
Résultat void

SetTextureCoordSet() public méthode

public SetTextureCoordSet ( int stage, int index ) : void
stage int
index int
Résultat void

SetTextureLayerAnisotropy() public méthode

public SetTextureLayerAnisotropy ( int unit, int maxAnisotropy ) : void
unit int
maxAnisotropy int
Résultat void

SetTextureMatrix() public méthode

public SetTextureMatrix ( int stage, Matrix4 xform ) : void
stage int
xform Matrix4
Résultat void

SetTextureUnitFiltering() public méthode

public SetTextureUnitFiltering ( int unit, FilterType ftype, FilterOptions fo ) : void
unit int
ftype FilterType
fo FilterOptions
Résultat void

SetViewport() public méthode

public SetViewport ( Viewport viewport ) : void
viewport Viewport
Résultat void

SetWorldMatrices() public méthode

public SetWorldMatrices ( Matrix4 matrices, ushort count ) : void
matrices Matrix4
count ushort
Résultat void

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

UnbindGpuProgram() public méthode

public UnbindGpuProgram ( GpuProgramType type ) : void
type GpuProgramType
Résultat void

UnregisterContext() public méthode

public UnregisterContext ( GLESContext context ) : void
context GLESContext
Résultat void

UseLights() public méthode

public UseLights ( Core lightList, int limit ) : void
lightList Core
limit int
Résultat void

VBOBufferOffset() public static méthode

public static VBOBufferOffset ( int i ) : IntPtr
i int
Résultat IntPtr

ValidateConfiguration() public méthode

public ValidateConfiguration ( ) : string
Résultat string