Tachyon (current)  Current Main Branch
Data Fields
rt_texture Struct Reference

structure containing Tachyon texture (only used on host side) More...

#include <TachyonOptiXShaders.h>

Data Fields

int texflags
 linear/sRGB colorspace | texturing flags More...
 
float3 texgen_origin
 world coordinate texgen origin More...
 
float3 texgen_uaxis
 world coordinate texgen U axis More...
 
float3 texgen_vaxis
 world coordinate texgen V axis More...
 
float3 texgen_waxis
 world coordinate texgen W axis More...
 
cudaArray_t d_img
 GPU allocated image buffer. More...
 
cudaTextureObject_t tex
 texture, non-zero if valid More...
 
int userindex
 material user index, positive if valid More...
 

Detailed Description

structure containing Tachyon texture (only used on host side)

Definition at line 233 of file TachyonOptiXShaders.h.

Field Documentation

◆ d_img

cudaArray_t rt_texture::d_img

GPU allocated image buffer.

Definition at line 239 of file TachyonOptiXShaders.h.

◆ tex

cudaTextureObject_t rt_texture::tex

texture, non-zero if valid

Definition at line 240 of file TachyonOptiXShaders.h.

◆ texflags

int rt_texture::texflags

linear/sRGB colorspace | texturing flags

Definition at line 234 of file TachyonOptiXShaders.h.

◆ texgen_origin

float3 rt_texture::texgen_origin

world coordinate texgen origin

Definition at line 235 of file TachyonOptiXShaders.h.

◆ texgen_uaxis

float3 rt_texture::texgen_uaxis

world coordinate texgen U axis

Definition at line 236 of file TachyonOptiXShaders.h.

◆ texgen_vaxis

float3 rt_texture::texgen_vaxis

world coordinate texgen V axis

Definition at line 237 of file TachyonOptiXShaders.h.

◆ texgen_waxis

float3 rt_texture::texgen_waxis

world coordinate texgen W axis

Definition at line 238 of file TachyonOptiXShaders.h.

◆ userindex

int rt_texture::userindex

material user index, positive if valid

Definition at line 241 of file TachyonOptiXShaders.h.

Referenced by TachyonOptiX::add_tex2d_rgba4u(), and TachyonOptiX::add_tex3d_rgba4u().


The documentation for this struct was generated from the following file: