MiniQuake2

miniquake2.renderer.classic.types.ClassicTexture

ClassicTexture

struct ClassicTexture

CPU-side OpenGL resource description. `id` is assigned by the backend, while the pixel payload remains here so context loss/re-upload is possible without reparsing the BSP or WAL.

View source

Members

generation

generation

Stores the generation value associated with classic texture.

View source

height

height

Stores the height value associated with classic texture.

View source

id

id

Stores the id value associated with classic texture.

View source

name

name

Stores the name value associated with classic texture.

View source

released

released

Stores the released value associated with classic texture.

View source

rgbaPixels

rgbaPixels

Stores the rgba pixels value associated with classic texture.

View source

role

role

Stores the role value associated with classic texture.

View source

uploaded

uploaded

Stores the uploaded value associated with classic texture.

View source

width

width

Stores the width value associated with classic texture.

View source