TextureEvaluator Class

TextureEvaluator Class

This is the interface to a lightweight object capable of evaluating texture color throughout uvw space. Derive from this class to create your own texture evaluator to return from a custom RenderTexture.
Inheritance Hierarchy
SystemObject
  Rhino.RenderTextureEvaluator

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class TextureEvaluator : IDisposable
Public Class TextureEvaluator
	Implements IDisposable

The TextureEvaluator type exposes the following members.

Constructors
  NameDescription
Protected methodTextureEvaluator Obsolete.
Base class constructor
Protected methodTextureEvaluator(RenderTextureTextureEvaluatorFlags)
Base class constructor
Top
Methods
  NameDescription
Public methodDispose
For Dispose pattern
Protected methodDispose(Boolean)
For Dispose pattern
Public methodEquals (Inherited from Object.)
Protected methodFinalize
For Dispose pattern
(Overrides ObjectFinalize.)
Public methodGetColor
Get the color of the texture at a particular point in uvw space. May be called from within a rendering shade pipeline. note For ray differentials see Pharr Humphreys, "Physically Based Rendering", chapter 11.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInitialize
Call this function before calling GetColor for the first time. Ideally, this should be on the main thread, but you can also call it on a worker thread as long as you are sure that Initialize() or GetColor() cannot be called at the same time on another thread.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Version Information

Rhino for Windows

Supported in: 6.8
See Also