|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.resources.TextureResourceRequest
public class TextureResourceRequest
This is a ResourceRequest for a Texture resource to be loaded with TextureLoader.
| Constructor Summary | |
|---|---|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName)
Creates a new TextureResourceRequest. |
|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format)
Creates a new TextureResourceRequest. |
|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode)
Creates a new TextureResourceRequest. |
|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
boolean flipped)
Creates a new TextureResourceRequest. |
|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
boolean flipped,
boolean fallbackTextureAccepted)
Creates a new TextureResourceRequest. |
|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
boolean flipped,
boolean fallbackTextureAccepted,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
Creates a new TextureResourceRequest. |
|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
boolean flipped,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
Creates a new TextureResourceRequest. |
|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
Creates a new TextureResourceRequest. |
|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
Creates a new TextureResourceRequest. |
|
TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
Creates a new TextureResourceRequest. |
|
| Method Summary | |
|---|---|
boolean |
fallbackTextureAccepted()
|
boolean |
flipped()
|
org.jagatoo.opengl.enums.TextureFormat |
format()
|
java.lang.String |
getBagName()
|
java.lang.String |
getName()
|
org.jagatoo.loaders.textures.locators.TextureStreamLocator |
getTSL()
|
java.lang.Object |
loadResource(ResourceLocator resLoc,
ResourceBag resBag)
Loads the resource and stores it into the ResourceBag. |
Texture.MipmapMode |
mipmapMode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
boolean flipped,
boolean fallbackTextureAccepted,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagformat - load alpha channel?mipmapMode - load mipmap?flipped - flip the texture vertically?fallbackTextureAccepted - if false and the fallback Texture was loaded, null is put
into the ResourceBagtsl - the TextureStreamLocator to be used to locate the resource
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
boolean flipped,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagformat - load alpha channel?mipmapMode - load mipmap?flipped - flip the texture vertically?tsl - the TextureStreamLocator to be used to locate the resource
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagformat - load alpha channel?mipmapMode - load mipmap?tsl - the TextureStreamLocator to be used to locate the resource
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagformat - load alpha channel?tsl - the TextureStreamLocator to be used to locate the resource
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.loaders.textures.locators.TextureStreamLocator tsl)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagtsl - the TextureStreamLocator to be used to locate the resource
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
boolean flipped,
boolean fallbackTextureAccepted)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagformat - load alpha channel?mipmapMode - load mipmap?flipped - flip the texture vertically?fallbackTextureAccepted - if false and the fallback Texture was loaded, null is put
into the ResourceBag
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode,
boolean flipped)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagformat - load alpha channel?mipmapMode - load mipmap?flipped - flip the texture vertically?
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format,
Texture.MipmapMode mipmapMode)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagformat - load alpha channel?mipmapMode - load mipmap?
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName,
org.jagatoo.opengl.enums.TextureFormat format)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBagformat - load alpha channel?
public TextureResourceRequest(java.lang.String name,
java.lang.String bagName)
name - the name of the Texture resource to use for loadingbagName - the name, that the Texture resource will carry in the ResourceBag| Method Detail |
|---|
public final java.lang.String getName()
getName in interface org.jagatoo.datatypes.NamedObjectgetName in interface ResourceRequestpublic final java.lang.String getBagName()
getBagName in interface ResourceRequestpublic final boolean flipped()
public final org.jagatoo.opengl.enums.TextureFormat format()
public final Texture.MipmapMode mipmapMode()
public final boolean fallbackTextureAccepted()
public final org.jagatoo.loaders.textures.locators.TextureStreamLocator getTSL()
public java.lang.Object loadResource(ResourceLocator resLoc,
ResourceBag resBag)
ResourceBag.
loadResource in interface ResourceRequestresLoc - the ResourceLocator to load resources fromresBag - the ResourceBag to store the loaded resource to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||