Manual

TextureId

struct in Doozy.Engine.Themes

Description

The TextureId is a structure that stores a Texture reference and Guid pair

Properties

  • public Guid Id – Id of this struct

  • public Texture Texture – Texture reference of this struct

Constructors

  • public TextureId(Texture texture) – Construct a new TextureId with the given Texture reference and a unique Id

  • public TextureId(Guid id, Texture texture) – Construct a new TextureId with the given Id and Texture reference

Public Methods

  • public void SetId(Guid newGuid) – Set the Id value

  • public void SetTexture(Texture texture) – Set the Texture reference