struct CCL::ITextureMaterial3D
Overview
3D texture material interface. More…
#include <imodel3d.h> struct ITextureMaterial3D: public CCL::IMaterial3D { // methods virtual tresult CCL_API setTexture (int textureIndex, IBitmap* texture) = 0; virtual IBitmap*CCL_API getTexture (int textureIndex) const = 0; virtual tresult CCL_API setTextureFlags (int textureIndex, TextureFlags3D flags) = 0; virtual TextureFlags3D CCL_API getTextureFlags (int textureIndex) const = 0; virtual void CCL_API setOpacity (float opacity) = 0; virtual float CCL_API getOpacity () const = 0; DECLARE_STRINGID_MEMBER (kOpacity); };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0; virtual void CCL_API getShaderParameters (IShaderValue3D& parameters) const = 0; virtual GraphicsContentHint CCL_API getMaterialHint () const = 0; virtual IGraphicsShader3D*CCL_API getPixelShader () const = 0; virtual void CCL_API setDepthBias (float bias) = 0; virtual float CCL_API getDepthBias () const = 0; virtual void CCL_API setLightMask (uint32 mask) = 0; virtual uint32 CCL_API getLightMask () const = 0;
Detailed Documentation
3D texture material interface.
Methods
virtual tresult CCL_API setTexture (int textureIndex, IBitmap* texture) = 0
Set texture (shared).
virtual IBitmap*CCL_API getTexture (int textureIndex) const = 0
Get texture.
virtual tresult CCL_API setTextureFlags (int textureIndex, TextureFlags3D flags) = 0
Set texture flags.
virtual TextureFlags3D CCL_API getTextureFlags (int textureIndex) const = 0
Get texture flags.
virtual void CCL_API setOpacity (float opacity) = 0
Set opacity.
virtual float CCL_API getOpacity () const = 0
Get opacity.