Class TCustomDrawableTexture
Unit
PXL.Textures
Declaration
type TCustomDrawableTexture = class abstract(TCustomBaseTexture)
Description
Base definition of "drawable" texture; that is, a texture that can be drawn to. Typically, this means that the texture is a render target or render buffer.
Hierarchy
Overview
Fields
Methods
|
function BeginDraw: Boolean; virtual; abstract; |
|
procedure EndDraw; virtual; abstract; |
Properties
Description
Fields
|
FDepthStencil: TDepthStencil; |
Currently set level of depth/stencil support.
|
|
FMultisamples: Integer; |
The number of multisamples that is currently selected.
|
Methods
|
function BeginDraw: Boolean; virtual; abstract; |
Activates this texture as destination rendering surface, after which normal rendering calls would draw directly on this texture's surface. This should be implemented by derived classes to implement the appropriate functionality depending on provider and platform.
|
|
procedure EndDraw; virtual; abstract; |
Deactivates this texture as destination rendering surface and updates its contents to reflect what has been drawn. This should be implemented by derived classes to implement the appropriate functionality depending on provider and platform.
|
Properties
|
property DepthStencil: TDepthStencil read FDepthStencil write SetDepthStencil; |
The required level of depth/stencil support that should be provided. This can be written to only before the texture is initialized, but can be read at any time.
|
|
property Multisamples: Integer read FMultisamples write SetMultisamples; |
The required number of multisamples that should be used for rendering. This is merely a hint and the actual number of multisamples that is being used can be overwritten when the texture is initialized. This property can be written to only before the texture is initialized, but can be read at any time.
|
Copyright © 2000 - 2017 Yuriy Kotsarenko. Help files generated by PasDoc.
|