Uses of Interface
org.sunflow.core.Shader
-
Packages that use Shader Package Description org.sunflow org.sunflow.core org.sunflow.core.light org.sunflow.core.primitive org.sunflow.core.renderer org.sunflow.core.shader -
-
Uses of Shader in org.sunflow
Fields in org.sunflow with type parameters of type Shader Modifier and Type Field Description static Plugins<Shader>
PluginRegistry. shaderPlugins
Methods in org.sunflow that return Shader Modifier and Type Method Description private Shader
RenderObjectMap.RenderObjectHandle. getShader()
(package private) Shader
RenderObjectMap. lookupShader(java.lang.String name)
Shader
SunflowAPI. lookupShader(java.lang.String name)
Retrieve a shader object by its name, ornull
if no shader was found, or if the specified object is not a shader.Methods in org.sunflow with parameters of type Shader Modifier and Type Method Description (package private) void
RenderObjectMap. put(java.lang.String name, Shader shader)
Constructors in org.sunflow with parameters of type Shader Constructor Description RenderObjectHandle(Shader shader)
-
Uses of Shader in org.sunflow.core
Subinterfaces of Shader in org.sunflow.core Modifier and Type Interface Description interface
AlphaShader
Fields in org.sunflow.core declared as Shader Modifier and Type Field Description (package private) Shader
ShadingCache.Sample. s
private Shader
ShadingState. shader
private Shader
LightServer. shaderOverride
private Shader[]
Instance. shaders
Methods in org.sunflow.core that return Shader Modifier and Type Method Description private Shader
LightServer. getPhotonShader(ShadingState state)
Shader
Instance. getShader(int i)
Get a shader for the instance's list.private Shader
LightServer. getShader(ShadingState state)
Shader
ShadingState. getShader()
Get the shader to be used to shade this surface.Methods in org.sunflow.core with parameters of type Shader Modifier and Type Method Description void
ShadingCache. add(ShadingState state, Shader shader, Color c)
static Instance
Instance. createTemporary(PrimitiveList primitives, Matrix4 transform, Shader shader)
Color
ShadingCache. lookup(ShadingState state, Shader shader)
void
Instance. removeShader(Shader s)
Remove the specified shader from the instance's list if it is being used.void
ShadingState. setShader(Shader shader)
Record which shader should be executed for the intersected surface.(package private) void
LightServer. setShaderOverride(Shader shader, boolean photonOverride)
void
Scene. setShaderOverride(Shader shader, boolean photonOverride)
Enables shader overiding (set null to disable). -
Uses of Shader in org.sunflow.core.light
Classes in org.sunflow.core.light that implement Shader Modifier and Type Class Description class
ImageBasedLight
class
SphereLight
class
SunSkyLight
class
TriangleMeshLight
-
Uses of Shader in org.sunflow.core.primitive
Classes in org.sunflow.core.primitive that implement Shader Modifier and Type Class Description class
CornellBox
class
Hair
-
Uses of Shader in org.sunflow.core.renderer
Fields in org.sunflow.core.renderer declared as Shader Modifier and Type Field Description (package private) Shader
BucketRenderer.ImageSample. shader
-
Uses of Shader in org.sunflow.core.shader
Classes in org.sunflow.core.shader that implement Shader Modifier and Type Class Description class
AlphaDiffuseShader
class
AlphaPhongShader
class
AlphaShinyPhong
class
AlphaTexturedDiffuse
class
AlphaTexturedPhong
class
AlphaTexturedShinyPhong
class
AmbientOcclusionShader
class
AnisotropicWardShader
class
ConstantShader
class
DiffuseShader
class
GlassShader
class
IDShader
class
MirrorShader
class
NormalShader
class
PhongShader
class
PrimIDShader
class
QuickGrayShader
class
ShinyDiffuseShader
class
ShinyPhongShader
class
SimpleShader
class
TexturedAmbientOcclusionShader
class
TexturedConstantShader
class
TexturedDiffuseShader
class
TexturedPhongShader
class
TexturedShinyDiffuseShader
class
TexturedShinyPhongShader
class
TexturedWardShader
class
TransparentShinyPhong
class
UberShader
class
UVShader
class
ViewCausticsShader
class
ViewGlobalPhotonsShader
class
ViewIrradianceShader
class
WireframeShader
-