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... | |
2D Texture base representation
|
strong |
Filter type used with the Texture (nearest, linear)
float4 nv::index::xac::Texture2D::sample | ( | const float2 & | uv_coordinate | ) | const |
Sample the RGBA entry of the texture at a specific u,v coordinate.