Gorilla.Context.GLES
Unit Gorilla.Context.GLES.pasClasses
- TGorillaContextOpenGLES = class ( TGorillaContext )
Constants
- const SFailedContextInitialization : string = "Failed to initialize context: %%s";
- const SFailedTextureInitialization : string = "Failed to initialize texture: %%s";
Mics. types
- type TGorillaContextOpenGLESClass = class of TGorillaContextOpenGLES;
TGorillaContextOpenGLES
Ancestors
Members
Methods
- protected constructor CreateFromTexture ( const ATexture : TTexture; const AMultisample : TMultisample; const ADepthStencil : Boolean ) ;
- protected constructor CreateFromWindow ( const AParent : TWindowHandle; const AWidth : Integer; const AHeight : Integer; const AMultisample : TMultisample; const ADepthStencil : Boolean ) ;
- protected procedure DoCopyToBitmap ( const Dest : TBitmap; const ARect : TRect ) ; override;
- protected procedure DoCopyToBits ( const ABits : Pointer; const APitch : Integer; const ARect : TRect ) ; override;
- protected procedure DoDrawPrimitivesBatch ( const AKind : TPrimitivesKind; const Vertices : Pointer; const Indices : Pointer; const VertexDeclaration : TVertexDeclaration; const VertexSize : Integer; const VertexCount : Integer; const IndexSize : Integer; const IndexCount : Integer ) ; override;
- protected procedure DoClear ( const ATarget : TClearTargets; const AColor : TAlphaColor; const ADepth : Single; const AStencil : Cardinal ) ; override;
- protected procedure DoClearEx ( const ATarget : TRenderTargets; const AColor : TAlphaColor; const ADepth : Single; const AStencil : Cardinal ) ; override;
- protected procedure DoClearBufferFloat ( ABuf : Integer; APtr : PSingle ) ; override;
- protected function GetMemoryBarrierBitValue ( ABit : TMemoryBarrierFlag ) : Cardinal ; override;
- protected procedure SetGlobalBlending ( const AValue : TBlendSetting ) ; override;
- protected procedure SetBlendingByIndex ( AIndex : Cardinal; const AValue : TBlendSetting ) ; override;
- protected procedure DoSetTwoSidedRendering ( AFrontFaceFail : TStencilOpEx; AFrontFaceZFail : TStencilOpEx; AFrontFaceZPass : TStencilOpEx; ABackFaceFail : TStencilOpEx; ABackFaceZFail : TStencilOpEx; ABackFaceZPass : TStencilOpEx; AFrontStencilMask : Cardinal = $FF ; ABackStencilMask : Cardinal = $FF ) ; override;
- protected procedure DoSetPolygonOffsetFill ( const AMode : TPolygonOffsetFill; AFactor : Single = 0 ; AUnits : Single = 100 ) ; override;
- protected procedure DoSetSmoothMode ( const ASetting : TSmoothSetting ) ; override;
- protected procedure InlineSetContextState ( AState : TContextState ) ; inline;
- protected procedure DoSetContextState ( AState : TContextState ) ; override;
- protected procedure DoSetContextStates ( AStates : TFMXContextStates ) ; override;
- protected procedure DoSetStencilOp ( const Fail : TStencilOp; const ZFail : TStencilOp; const ZPass : TStencilOp ) ; override;
- protected procedure DoSetStencilFunc ( const Func : TStencilFunc; Ref : Cardinal; Mask : Cardinal ) ; override;
- protected procedure DoSetPointSprites ( const AEnabled : Boolean ) ; override;
- protected procedure DoSetPointSpriteTextureMode ( ) ; override;
- protected procedure DoInitializeTexture ( const ATexture : TTexture ) ; class override;
- protected procedure DoFinalizeTexture ( const ATexture : TTexture ) ; class override;
- protected procedure DoUpdateTexture ( const ATexture : TTexture; const ABits : Pointer; const APitch : Integer ) ; class override;
- protected procedure DoInitializeShader ( const Shader : TContextShader ) ; class override;
- protected procedure DoFinalizeShader ( const Shader : TContextShader ) ; class override;
- protected procedure DoSetShaderVariable ( const Name : string; const Data : array of TVector3D ) ; overload override;
- protected procedure DoSetShaderVariable ( const Name : string; const ATexture : TTexture ) ; overload override;
- protected procedure DoSetShaderVariableMatrix ( const AName : string; const AMatrix : TMatrix3D ) ; overload override;
- protected procedure DoSetShaderVariableInt ( const AName : string; const AData : array of Integer ) ; override;
- protected function GetIndexBufferSupport ( ) : TContext3D.TIndexBufferSupport ; override;
- public procedure PlatformSetTextureFiltering ( const ATexture : TTexture; AStyles : TTextureStyles; ATextureKind : Cardinal; AInternalFormat : Cardinal ) ; class override;
- public procedure PlatformSetPixelState ( AWidth : Integer; AHeight : Integer; ADepth : Integer; ABytesPerPixel : Integer; APitch : Integer = $0 ) ; class override;
- public procedure PlatformUnsetPixelState ( ) ; class override;
- public procedure StorePreviousContextSize ( ) ; override;
- public procedure SetContextSize ( AXOfs : Integer; AYOfs : Integer; AWidth : Integer; AHeight : Integer ) ; overload override;
- public procedure SetContextSize ( const ASize : TGorillaContextSize ) ; overload override;
- public procedure GetContextSize ( out ASize : TGorillaContextSize ) ; override;
- public function Valid ( ) : Boolean ; class override;
- public function PlatformGetVendorName
(
)
: string
;
class override;
Request OpenGL vendor information string.
- public function PlatformGetRendererName
(
)
: string
;
class override;
Request OpenGL renderer information string.
- public function PlatformGetVersion
(
)
: string
;
class override;
Request OpenGL version string.
- public function PlatformGetExtensionString
(
)
: string
;
class override;
Request OpenGL extensions string.
- public function PlatformHasAnyErrors
(
)
: Boolean
;
class overload override;
Checks if any error occurred in OpenGL.
- public function PlatformHasAnyErrors ( out AError : NativeInt ) : Boolean ; class overload override;
- public function PlatformMaxTextureSize ( ) : Integer ; class override;
- public function PlatformMaxTexture3DSize ( ) : Integer ; class override;
- public function PlatformTextureUnitCount ( ) : Integer ; class override;
- public function PlatformMaxTextureImageUnits ( ) : Integer ; class override;
- public function PlatformMaxVertexShaderUniformBlocks ( ) : Integer ; class override;
- public function PlatformMaxFragmentShaderUniformBlocks ( ) : Integer ; class override;
- public function PlatformMaxUniformBlockSize ( ) : Integer ; class override;
- public function PlatformMaxDrawBuffers ( ) : Integer ; class override;
- public procedure SetMemoryBarrierBits ( ABits : TMemoryBarrierFlags ) ; override;
- public procedure SetMemoryBarrierBit ( ABit : TMemoryBarrierFlag = FrameBufferBarrierBit ) ; override;
- public procedure FetchMemoryBarrierBit ( ) ; override;
- public procedure SetFlatShading ( ) ; override;
- public procedure SetSmoothShading ( ) ; override;
- public procedure BeginOrtho ( const ALeft : Single; const ATop : Single; const ARight : Single; const ABottom : Single; const ANear : Single; const AFar : Single ) ; overload override;
- public procedure BeginOrtho ( const AData : TOrthographicData ) ; overload override;
- public procedure EndOrtho ( ) ; override;
- public procedure DrawScreenRectangle ( const AColor : TAlphaColorF ) ; overload override;
- public function GetTextureByTextureIndex ( const ATextureIndex : Integer ) : Integer ; class override;
- public function GetDefaultBlending ( ) : TBlendSetting ; class override;
- public procedure EnableBlendingBuffers ( ) ; override;
- public procedure DisableBlendingBuffers
(
)
;
override;
Deactivate global blending independently from render targets.