Table of Contents

Class OpenGLTexture

Namespace
TaleWorlds.TwoDimension.Standalone
Assembly
TaleWorlds.TwoDimension.Standalone.dll
public class OpenGLTexture : ITexture
Inheritance
OpenGLTexture
Implements
Inherited Members

Constructors

OpenGLTexture()

public OpenGLTexture()

Properties

ClampToEdge

public bool ClampToEdge { get; set; }

Property Value

bool

Height

public int Height { get; }

Property Value

int

Name

public string Name { get; }

Property Value

string

Width

public int Width { get; }

Property Value

int

Methods

CopyFrom(OpenGLTexture)

public void CopyFrom(OpenGLTexture texture)

Parameters

texture OpenGLTexture

Delete()

public void Delete()

FromFile(string)

public static OpenGLTexture FromFile(string fullFilePath)

Parameters

fullFilePath string

Returns

OpenGLTexture

FromFile(ResourceDepot, string)

public static OpenGLTexture FromFile(ResourceDepot resourceDepot, string name)

Parameters

resourceDepot ResourceDepot
name string

Returns

OpenGLTexture

Initialize(string, int, int)

public void Initialize(string name, int width, int height)

Parameters

name string
width int
height int

IsLoaded()

public bool IsLoaded()

Returns

bool

LoadFromFile(string)

public void LoadFromFile(string fullPathName)

Parameters

fullPathName string

LoadFromFile(ResourceDepot, string)

public void LoadFromFile(ResourceDepot resourceDepot, string name)

Parameters

resourceDepot ResourceDepot
name string

Release()

public void Release()

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).