Class CWrp::Texture
In: ../lib/roller/CWRP.rb
Parent: Object

A texure stored in a WRP file.

Methods

new   new   new   write  

Constants

OFP_TEXTURE_STRING_LEN = 32
OFP_TEXTURE_STRING_FORMAT = "Z#{OFP_TEXTURE_STRING_LEN}"
DEFAULT_MAJOR = 0

External Aliases

initialize -> init_1
initialize -> init_2
initialize -> init_3

Attributes

major  [RW] 
name  [RW] 

Public Class methods

Reads ArmA-format (8WVR) texture information from a stream.

reader:BinaryIO#BinaryReader
stream:input stream

Reads OFP-format (4WVR) texture information from a stream.

stream:input stream

Creates a "dummy" texture.

Public Instance methods

[Validate]