Skip to content

RageLib.ResourceWrappers.GTA5.PC.Textures.TextureWrapper_GTA5_pc

Jérémie N'gadi edited this page Aug 5, 2018 · 3 revisions

Represents a wrapper for a GTA5PC texture.

namespace: RageLib.ResourceWrappers.GTA5.PC.Textures

Inheritance Hierarchy

Syntax

public class TextureWrapper_GTA5_pc : ITexture

Constructors

prototype description
method TextureWrapper_GTA5_pc () __
method TextureWrapper_GTA5_pc (TextureDX11 texture) __

Properties

name description
property Format __
property Height __
property Levels __
property MipMapLevels __
property Name __
property Stride __
property Width __

Methods

prototype description
method void Encode(byte[] data, TextureFormat format) __
method [] GetTextureData(int mipMapLevel) Gets the texture data of the specified mipMapLevel.
method [] GetTextureData() Gets the texture data.
method void Reset(int width, int height, int mipMapLevels, int stride, TextureFormat format) Resets all the data of the texture.
method void SetTextureData(byte[] data, int mipMapLevel) Sets the texture data of the specified mipMapLevel.
method void SetTextureData(byte[] data) Sets the texture data.
method void UpdateClass() __

Events

name description
Clone this wiki locally