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

Texture tile computation. More...

#include <xac_interface_scene_elements_doc.h>

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

Public Member Functions

float4 sample (const float2 &uv_coordinate) const
 Sample the compute texture at a given u,v coordinate. More...
 
float4 sample_offset (const float2 &uv_coordinate, const int2 &offset) const
 Sample the compute texture at an offset of the given u,v coordinate. More...
 
float4 sample_non_normalized (const float2 &tile_coordinate) const
 Sample the compute texture at a given texture tile coordinate. 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 computation.

Member Function Documentation

 sample()

float4 nv::index::xac::Compute_texture_tile::sample ( const float2 &  uv_coordinate) const

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

 sample_non_normalized()

float4 nv::index::xac::Compute_texture_tile::sample_non_normalized ( const float2 &  tile_coordinate) const

Sample the compute texture at a given texture tile coordinate.

 sample_offset()

float4 nv::index::xac::Compute_texture_tile::sample_offset ( const float2 &  uv_coordinate,
const int2 &  offset 
) const

Sample the compute texture at an offset of the given u,v coordinate.


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