RageLib.ResourceWrappers.GTA5.PC.Textures.TextureWrapper_GTA5_pc - indilo53/gta-toolkit GitHub Wiki
Represents a wrapper for a GTA5PC texture.
namespace: RageLib.ResourceWrappers.GTA5.PC.Textures
Inheritance Hierarchy
Syntax
public class TextureWrapper_GTA5_pc : ITexture
Constructors
:white_large_square: |
prototype |
description |
method |
TextureWrapper_GTA5_pc () |
__ |
method |
TextureWrapper_GTA5_pc (TextureDX11 texture) |
__ |
Properties
:white_large_square: |
name |
description |
property |
Format |
__ |
property |
Height |
__ |
property |
Levels |
__ |
property |
MipMapLevels |
__ |
property |
Name |
__ |
property |
Stride |
__ |
property |
Width |
__ |
Methods
:white_large_square: |
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
:white_large_square: |
name |
description |