message: Added TextureCreateParams and Texture to common/Render.ts Note, commented out getImageSource() method of Texture
diff: @@ -468,9 +468,6 @@ export const enum GeometryClass {
  Pattern = 3,
  }
  -export class Texture {
  -}
  -
  export class Material {
  }
  @@ -932,3 +929,19 @@ export class FeatureTable {
  public clear(): void { this.map.clear(); }
  public static fromFeatureTable(table: FeatureTable): FeatureTable { return new FeatureTable(table.maxFeatures, table.modelId, table.map); }
  }
  +
  +export class TextureCreateParams {
  + constructor(public key: Id64,
  + public pitch: number = 0,
  + public isTileSection: boolean = false,
  + public isGlyph: boolean = false,
  + public isRGBE: boolean = false) {}
  +}
  +
  +/** A Texture for rendering */
  +export class Texture {
  + public get key(): Id64 { return this.params.key; }
  + public get isGlyph(): boolean { return this.params.isGlyph; }
  + constructor(public params: TextureCreateParams) {}
  + // public getImageSource(): ImageSource;
  +}
  