TextureComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct TextureComponent : IComponent

Implements: IComponent

⭐ Constructors

public TextureComponent(Texture2D texture, int targetSpriteBatch)

Parameters
texture Texture2D
targetSpriteBatch int

⭐ Properties

AutoDispose

public readonly bool AutoDispose;

Returns
bool

TargetSpriteBatch

public readonly int TargetSpriteBatch;

Returns
int

Texture

public readonly Texture2D Texture;

Returns
Texture2D