public interface KVisibleSetOpaquesBuilderType extends KVisibleSetShadowsBuilderType
KVisibleSetOpaques
snapshots.Modifier and Type | Method and Description |
---|---|
void |
visibleOpaqueAddUnlit(KInstanceOpaqueType instance)
Add an instance
instance which is expected to have an opaque
material and is unaffected by lighting. |
KVisibleSetLightGroupBuilderType |
visibleOpaqueNewLightGroup(String name)
Construct a new builder to construct a light group.
|
visibleShadowsAddCaster, visibleShadowsAddLight
void visibleOpaqueAddUnlit(KInstanceOpaqueType instance) throws RExceptionBuilderInvalid, RExceptionInstanceAlreadyVisible
Add an instance instance
which is expected to have an opaque
material and is unaffected by lighting.
Due to depth buffering, opaque instances may be rendered in any order and therefore the order that they are added to the scene has no effect on the rendered image.
instance
- The shadow-casting instanceRExceptionBuilderInvalid
- If the builder has already been used.RExceptionInstanceAlreadyVisible
- If the instance is already visible.KVisibleSetLightGroupBuilderType visibleOpaqueNewLightGroup(String name) throws RExceptionLightGroupAlreadyAdded, RExceptionBuilderInvalid
Construct a new builder to construct a light group.
name
- The name of the new light group.RExceptionLightGroupAlreadyAdded
- A light group already exists with the given name.RExceptionBuilderInvalid
- If the builder has already been used.Copyright © 2015 <code@io7m.com> http://io7m.com