C# Класс Axiom.RenderSystems.OpenGLES.GLESRenderSystem

Наследование: Axiom.Graphics.RenderSystem
Показать файл Открыть проект Примеры использования класса

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