NVIDIA IndeX API nvidia_logo_transpbg.gif Up
nv::index::xac::Compute_texture_LOD_tile Class Reference

Texture tile level of detail (LOD) computation. More...

#include <xac_interface_scene_elements_doc.h>

Inheritance diagram for nv::index::xac::Compute_texture_LOD_tile:
nv::index::xac::Compute_texture_tile_base

Public Member Functions

float4 sample (const float2 &uv_coordinate, const float sample_distance) const
 Sample the compute texture at a given u,v coordinate and at a given sample distance. More...
 
- Public Member Functions inherited from nv::index::xac::Compute_texture_tile_base
bool is_valid () const
 Check if the compute texture tile is valid. More...
 
uint2 get_tile_resolution () const
 Retrieve the resolution of the compute texture tile. More...
 
float2 get_minimum_uv_coordinate () const
 Get current minimum coordinate in u,v space coordinates. More...
 
float2 get_maximum_uv_coordinate () const
 Get current maximum coordinate in u,v space coordinates. More...
 
uint get_format () const
 Get the format identifer for the compute texture. More...
 
float2 get_extent () const
 Get extents of current texture tile in scene space coordinates. More...
 
float2 transform_uv_to_tile (float2 uv_position) const
 Transform a given u,v space coordinate into texture coordinates. More...
 
float2 transform_uv_to_tile_inverse (float2 tile_position) const
 Transform a given texture coordinate into u,v space coordinates. More...
 
xac::Colormap get_colormap () const
 Retrieve the colormap for the current compute texture tile. More...
 

Detailed Description

Texture tile level of detail (LOD) computation.

Member Function Documentation

 sample()

float4 nv::index::xac::Compute_texture_LOD_tile::sample ( const float2 &  uv_coordinate,
const float  sample_distance 
) const

Sample the compute texture at a given u,v coordinate and at a given sample distance.


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