com.threerings.opengl.renderer.config
Class TextureConfig.Original2D.Blank

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.TextureConfig.Original2D.Contents
          extended by com.threerings.opengl.renderer.config.TextureConfig.Original2D.Blank
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
TextureConfig.Original2D

public static class TextureConfig.Original2D.Blank
extends TextureConfig.Original2D.Contents

Creates a blank texture.


Field Summary
 int height
          The height of the texture.
 int width
          The width of the texture.
 
Constructor Summary
TextureConfig.Original2D.Blank()
           
 
Method Summary
 void load(GlContext ctx, Texture2D texture, TextureConfig.Format format, boolean border, boolean mipmap)
          Loads the texture with the contents.
 
Methods inherited from class com.threerings.opengl.renderer.config.TextureConfig.Original2D.Contents
getUpdateResources
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

width

@Editable(min=1.0,
          hgroup="d")
public int width
The width of the texture.


height

@Editable(min=1.0,
          hgroup="d")
public int height
The height of the texture.

Constructor Detail

TextureConfig.Original2D.Blank

public TextureConfig.Original2D.Blank()
Method Detail

load

public void load(GlContext ctx,
                 Texture2D texture,
                 TextureConfig.Format format,
                 boolean border,
                 boolean mipmap)
Description copied from class: TextureConfig.Original2D.Contents
Loads the texture with the contents.

Specified by:
load in class TextureConfig.Original2D.Contents


Copyright © 2011. All Rights Reserved.