TextureSampler wraps the OptiX C API RTtexturesampler opaque type and its associated function set.
|
void | destroy () |
|
void | validate () |
|
Context | getContext () const |
|
RTtexturesampler | get () |
|
|
void | setMipLevelCount (unsigned int num_mip_levels) |
|
unsigned int | getMipLevelCount () const |
|
void | setArraySize (unsigned int num_textures_in_array) |
|
unsigned int | getArraySize () const |
|
void | setWrapMode (unsigned int dim, RTwrapmode wrapmode) |
|
RTwrapmode | getWrapMode (unsigned int dim) const |
|
void | setFilteringModes (RTfiltermode minification, RTfiltermode magnification, RTfiltermode mipmapping) |
|
void | getFilteringModes (RTfiltermode &minification, RTfiltermode &magnification, RTfiltermode &mipmapping) const |
|
void | setMaxAnisotropy (float value) |
|
float | getMaxAnisotropy () const |
|
void | setMipLevelClamp (float minLevel, float maxLevel) |
|
void | getMipLevelClamp (float &minLevel, float &maxLevel) const |
|
void | setMipLevelBias (float value) |
|
float | getMipLevelBias () const |
|
void | setReadMode (RTtexturereadmode readmode) |
|
RTtexturereadmode | getReadMode () const |
|
void | setIndexingMode (RTtextureindexmode indexmode) |
|
RTtextureindexmode | getIndexingMode () const |
|
|
int | getId () const |
|
|
void | setBuffer (unsigned int texture_array_idx, unsigned int mip_level, Buffer buffer) |
|
Buffer | getBuffer (unsigned int texture_array_idx, unsigned int mip_level) const |
|
void | setBuffer (Buffer buffer) |
|
Buffer | getBuffer () const |
|
|
void | registerGLTexture () |
|
void | unregisterGLTexture () |
|
|
void | registerD3D9Texture () |
|
void | registerD3D10Texture () |
|
void | registerD3D11Texture () |
|
void | unregisterD3D9Texture () |
|
void | unregisterD3D10Texture () |
|
void | unregisterD3D11Texture () |
|
void | addReference () |
|
int | removeReference () |
|
virtual void | checkError (RTresult code) const |
|
virtual void | checkError (RTresult code, Context context) const |
|
void | checkErrorNoGetContext (RTresult code) const |
|