Blender  V3.3
Public Member Functions | List of all members
Freestyle::StrokeShaders::StrokeTextureStepShader Class Reference

#include <BasicStrokeShaders.h>

Inheritance diagram for Freestyle::StrokeShaders::StrokeTextureStepShader:
Freestyle::StrokeShader

Public Member Functions

 StrokeTextureStepShader (float step)
 
virtual string getName () const
 
virtual int shade (Stroke &stroke) const
 
- Public Member Functions inherited from Freestyle::StrokeShader
 StrokeShader ()
 
virtual ~StrokeShader ()
 

Additional Inherited Members

- Public Attributes inherited from Freestyle::StrokeShader
voidpy_ss
 

Detailed Description

[ Texture Shader ]. Shader to assign texture to the Stroke material.

Definition at line 622 of file BasicStrokeShaders.h.

Constructor & Destructor Documentation

◆ StrokeTextureStepShader()

Freestyle::StrokeShaders::StrokeTextureStepShader::StrokeTextureStepShader ( float  step)
inline

Builds the shader.

Parameters
idThe number of the preset to use.

Definition at line 631 of file BasicStrokeShaders.h.

Member Function Documentation

◆ getName()

virtual string Freestyle::StrokeShaders::StrokeTextureStepShader::getName ( ) const
inlinevirtual

Returns the string corresponding to the shader's name.

Reimplemented from Freestyle::StrokeShader.

Definition at line 636 of file BasicStrokeShaders.h.

◆ shade()

int Freestyle::StrokeShaders::StrokeTextureStepShader::shade ( Stroke stroke) const
virtual

The shading method

Reimplemented from Freestyle::StrokeShader.

Definition at line 292 of file BasicStrokeShaders.cpp.

References Freestyle::Stroke::setTextureStep().


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