com.threerings.opengl.compositor
Class Dependency.CubeTexture

java.lang.Object
  extended by com.threerings.opengl.compositor.Dependency
      extended by com.threerings.opengl.compositor.Dependency.CubeTexture
Enclosing class:
Dependency

public static class Dependency.CubeTexture
extends Dependency

A cube map texture.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.compositor.Dependency
Dependency.Adder, Dependency.CubeTexture, Dependency.Planar, Dependency.PlanarTexture, Dependency.ReflectionTexture, Dependency.RefractionTexture, Dependency.RenderEffect, Dependency.Shadows, Dependency.ShadowTexture, Dependency.ShadowVolumes, Dependency.StencilReflection, Dependency.StencilRefraction
 
Field Summary
 TextureConfig config
          The config from whose pool the texture was created.
 int faces
          A bitmask of the faces to include.
 float far
          Distances to the near and far clip planes.
 float near
          Distances to the near and far clip planes.
 Vector3f origin
          The render origin in world space.
 Texture texture
          The texture to which we render.
 
Constructor Summary
Dependency.CubeTexture(GlContext ctx)
          Creates a new cube texture dependency.
 
Method Summary
 void cleanup()
          Performs any necessary cleanup.
 boolean equals(Object other)
           
 int hashCode()
           
 void merge(Dependency dependency)
          Merges another dependency (for which Object.equals(java.lang.Object) returns true) into this one.
 void resolve()
          Resolves this dependency.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

origin

public Vector3f origin
The render origin in world space.


near

public float near
Distances to the near and far clip planes.


far

public float far
Distances to the near and far clip planes.


texture

public Texture texture
The texture to which we render.


faces

public int faces
A bitmask of the faces to include.


config

public TextureConfig config
The config from whose pool the texture was created.

Constructor Detail

Dependency.CubeTexture

public Dependency.CubeTexture(GlContext ctx)
Creates a new cube texture dependency.

Method Detail

merge

public void merge(Dependency dependency)
Description copied from class: Dependency
Merges another dependency (for which Object.equals(java.lang.Object) returns true) into this one.

Overrides:
merge in class Dependency

resolve

public void resolve()
Description copied from class: Dependency
Resolves this dependency.

Overrides:
resolve in class Dependency

cleanup

public void cleanup()
Description copied from class: Dependency
Performs any necessary cleanup.

Overrides:
cleanup in class Dependency

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.