FMX.Types3D.TContext3D Methods

From RAD Studio API Documentation
Jump to: navigation, search

_AddRefprotectedIncrements the reference count for the interfaced object's interface.
_ReleaseprotectedDecrements the reference count for the interfaced object's interface.
AfterConstructionpublicObtains a reference to the Owner's interface.
AssignpublicCopies the contents of another similar object.
BeforeDestructionpublicResponds before the first destructor executes.
BeginScenepublicNotifies the TContext3D object that the drawing can begin.
BitmapToTexturepublicConverts the given bitmap to a TTexture object.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
ClearpublicClears this 3D context.
CopyToBitmappublicCopies the 3D context to the destination bitmap.
CopyToBitspublicCopies the 3D context to the destination bits.
CreateBufferpublicCreates the vertex and index buffers.
CreateFromWindowprotectedCreates a 3D context from a given FMX window handle. Do not call CreateFromWindow directly in applications.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefinePropertiesprotectedProvides an interface for a method that reads and writes otherwise unpublished data.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
DoBeginSceneprotectedMakes the initialization required to begin drawing on the TContext3D object.
DoDrawPrimitivesprotectedProvides a mechanism to draw the specified primitives.
DoDrawPrimitivesBatchprotectedProvides a mechanism to draw the specified batch of primitives on the currently selected hardware-accelerated layer.
DoEndSceneprotectedMakes required cleaning after drawing on the TContext3D object.
DrawLinespublicDraws the lines specified by the parameters.
DrawPointspublicDraws the points specified by the parameters.
DrawPrimitivespublicDraws the primitives specified by the parameters.
DrawTrianglespublicDraws the triangles specified by the parameters.
EndScenepublicNotifies the TContext3D object that the drawing is complete.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
FieldAddresspublicReturns the address of a published object field.
FinalizeShaderpublicFinalizes a given shader.
FinalizeTexturepublicFinalizes a given texture.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeBufferpublicFrees the buffer of this 3D context.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
FreeNotificationprotectedImplements the FreeNotification method defined in the IFreeNotification interface.
GetContextScaleprotectedReturns the value to assign to the Scale property during the initialization of the context.
GetDisposedprotectedGetter for the Disposed property.
GetHashCodepublicReturns an integer containing the hash code.
GetIndexBufferSupportprotectedReturns the supported index buffer limit of the currently selected hardware-accelerated layer.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetNamePathpublicReturns the name of the object as it appears in the Object Inspector.
GetOwnerprotectedReturns the owner of an object.
InheritsFrompublicDetermines the relationship of two object types.
InitializeShaderpublicInitializes a given shader.
InitializeTexturepublicInitializes a given texture.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
MaxLightCountpublicRepresents the maximum number of lights available for this context.
MaxTextureSizepublicRepresents the maximum size of textures in this context.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
operator ()publicC++ operator that retrieves the IFreeNotification interface of this 3D context.
PickpublicComputes the pick ray vector.
PixelFormatpublicRepresents the pixel format in this context.
PixelToPixelPolygonOffsetpublicValue required to render pixel-perfect graphics.
PopContextStatespublicPops the top state from the stack of saved states, restoring the context to that state.
PushContextStatespublicPushes the current state to the stack of saved states.
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfacepublicReturns a reference to a specified interface if the object supports that interface.
ResizepublicResizes a buffer.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SetCameraMatrixpublicSets the current camera matrix and the inverse camera matrix.
SetContextStatepublicSets the given context state of the 3D context.
SetMatrixpublicSets the value of the CurrentMatrix field with the given 3D matrix.
SetMultisamplepublicSets the value of the FMultisample field.
SetRenderToMatrixpublicSets the matrix that will be used for the rendering of the objects in the context.
SetScissorRectpublicSets the scissor rectangle of the context.
SetShaderspublicSets the shaders for the context.
SetShaderVariablepublicSets a shader variable.
SetSizepublicSets the Width and Height properties of the 3D context, at once.
SetStateFromContextpublicSets the camera matrices and lights of the AContext parameter to the current context.
SetStencilFuncpublicTo be implemented in subclasses in order to set the stencil function for the 3D context.
SetStencilOppublicTo be implemented in subclasses in order to set the stencil operation for the 3D context.
StylepublicRepresents the style of the context.
TextureUnitCountpublicRepresents the number of texture units in this context.
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UpdateTexturepublicUpdates the given texture with the specified data.
ValidpublicSpecifies whether this 3D context is valid.
WorldToScreenpublicConverts a 2D point (for instance, mouse coordinates) to a 3D point in a scene.