@itwin/core-common
Version:
iTwin.js components common to frontend and backend
25 lines • 1.19 kB
TypeScript
/** @packageDocumentation
* @module Rendering
*/
import { RenderTexture } from "../RenderTexture";
/** Parameters used to construct a [[RenderTexture]] in old RenderTexture functions.
* Use RenderSystem.createTexture and CreateTextureArgs instead.
* @internal
*/
export declare class RenderTextureParams {
/** A string uniquely identifying this texture within the context of an [[IModel]]. Typically this is the element Id of the corresponding [Texture]($backend) element.
* Textures created on the front-end generally have no key.
*/
readonly key?: string;
/** Indicates the type of texture. */
readonly type: RenderTexture.Type;
/** Indicates that some object is managing the lifetime of this texture and will take care of calling its dispose function appropriately.
* An unowned texture associated with a [RenderGraphic]($frontend) will be disposed when the RenderGraphic is disposed.
*/
readonly isOwned: boolean;
constructor(key?: string, type?: RenderTexture.Type, isOwned?: boolean);
get isTileSection(): boolean;
get isGlyph(): boolean;
get isSkyBox(): boolean;
}
//# sourceMappingURL=RenderTextureParams.d.ts.map