Lysa  0.0
Lysa 3D Engine
ImageTexture Struct Reference

Detailed Description

A texture descriptor pairing a GPU image with a sampler and UV transform.

Lua full name: lysa.ImageTexture

Properties

integer id
 Unique texture identifier.
 
Image image
 The underlying GPU image. (read-only)
 
integer sampler_index
 Index into the sampler descriptor array (see lysa.Samplers). (read-only)
 
float3x3 transform
 UV transform matrix applied to texture coordinates.
 

Property Documentation

integer id

Unique texture identifier.

Image image

The underlying GPU image. (read-only)

integer sampler_index

Index into the sampler descriptor array (see lysa.Samplers). (read-only)

float3x3 transform

UV transform matrix applied to texture coordinates.