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

2D Texture base representation More...

#include <xac_interface_scene_elements_doc.h>

Public Types

enum class  Filter : unsigned
 Filter type used with the Texture (nearest, linear) More...
 

Public Member Functions

template<Filter TEX_filter_mode = Filter::NEAREST>
float4 sample (const float2 &uv_coordinate) const
 Sample the RGBA entry of the texture at a specific u,v coordinate. More...
 

Detailed Description

2D Texture base representation

Member Enumeration Documentation

 Filter

enum class nv::index::xac::Texture2D::Filter : unsigned
strong

Filter type used with the Texture (nearest, linear)

Member Function Documentation

 sample()

template<Filter TEX_filter_mode = Filter::NEAREST>
float4 nv::index::xac::Texture2D::sample ( const float2 &  uv_coordinate) const

Sample the RGBA entry of the texture at a specific u,v coordinate.


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