|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PixelFormat | |
|---|---|
| org.ogre4j | |
| Uses of PixelFormat in org.ogre4j |
|---|
| Methods in org.ogre4j that return PixelFormat | |
|---|---|
PixelFormat |
IPixelFormatList.at(int loc)
|
PixelFormat |
PixelFormatList.at(int loc)
|
PixelFormat |
IPixelFormatList.back()
|
PixelFormat |
PixelFormatList.back()
|
PixelFormat |
IPixelFormatList.front()
|
PixelFormat |
PixelFormatList.front()
|
PixelFormat |
Texture.getDesiredFormat()
Returns the desired pixel format for the texture surface. |
PixelFormat |
TextureUnitState.getDesiredFormat()
Gets the desired pixel format when load the texture. |
PixelFormat |
ITexture.getDesiredFormat()
Returns the desired pixel format for the texture surface. |
PixelFormat |
ITextureUnitState.getDesiredFormat()
Gets the desired pixel format when load the texture. |
PixelFormat |
PixelFormat.getEnum(int val)
|
PixelFormat |
ImageCodec.ImageData.getformat()
|
PixelFormat |
IPixelBox.getformat()
|
PixelFormat |
ShadowTextureConfig.getformat()
|
PixelFormat |
PixelBox.getformat()
|
PixelFormat |
IImageCodec.IImageData.getformat()
|
PixelFormat |
IShadowTextureConfig.getformat()
|
PixelFormat |
Image.getFormat()
Returns the image format. |
PixelFormat |
Texture.getFormat()
Returns the pixel format for the texture surface. |
PixelFormat |
ITexture.getFormat()
Returns the pixel format for the texture surface. |
PixelFormat |
HardwarePixelBuffer.getFormat()
|
PixelFormat |
IHardwarePixelBuffer.getFormat()
|
PixelFormat |
IImage.getFormat()
Returns the image format. |
static PixelFormat |
PixelUtil.getFormatForBitDepths(PixelFormat fmt,
int integerBits,
int floatBits)
Returns the similar format but acoording with given bit depths. |
static PixelFormat |
PixelUtil.getFormatFromName(java.lang.String name,
boolean accessibleOnly,
boolean caseSensitive)
Gets the format from given name. |
PixelFormat |
ITextureManager.getNativeFormat(TextureType ttype,
PixelFormat format,
int usage)
Gets the format which will be natively used for a requested format given the constraints of the current device. |
PixelFormat |
TextureManager.getNativeFormat(TextureType ttype,
PixelFormat format,
int usage)
Gets the format which will be natively used for a requested format given the constraints of the current device. |
PixelFormat |
Texture.getSrcFormat()
Returns the pixel format of the original input texture (may differ due to hardware requirements and pixel format convertion). |
PixelFormat |
ITexture.getSrcFormat()
Returns the pixel format of the original input texture (may differ due to hardware requirements and pixel format convertion). |
PixelFormat |
RenderTarget.suggestPixelFormat()
Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMemory. |
PixelFormat |
RenderWindow.suggestPixelFormat()
|
PixelFormat |
RenderTexture.suggestPixelFormat()
|
PixelFormat |
IRenderTarget.suggestPixelFormat()
Suggests a pixel format to use for extracting the data in this target, when calling copyContentsToMemory. |
PixelFormat |
IRenderTexture.suggestPixelFormat()
|
PixelFormat |
IRenderWindow.suggestPixelFormat()
|
PixelFormat |
MultiRenderTarget.suggestPixelFormat()
|
PixelFormat |
IMultiRenderTarget.suggestPixelFormat()
|
static PixelFormat |
PixelFormat.toEnum(int retval)
|
static PixelFormat |
PixelFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PixelFormat[] |
PixelFormat.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in org.ogre4j with parameters of type PixelFormat | |
|---|---|
void |
IPixelFormatList.assign(int num,
PixelFormat val)
|
void |
PixelFormatList.assign(int num,
PixelFormat val)
|
static void |
PixelUtil.bulkPixelConversion(VoidPointer src,
PixelFormat srcFormat,
VoidPointer dest,
PixelFormat dstFormat,
long count)
Convert consecutive pixels from one format to another. |
static int |
Image.calculateSize(int mipmaps,
int faces,
int width,
int height,
int depth,
PixelFormat format)
|
void |
ITextureManager.createManual(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
TextureType texType,
long width,
long height,
int num_mips,
PixelFormat format,
int usage,
IManualResourceLoader loader,
boolean hwGammaCorrection,
long fsaa)
Create a manual texture with a depth of 1 (not loaded from a file). |
void |
TextureManager.createManual(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
TextureType texType,
long width,
long height,
int num_mips,
PixelFormat format,
int usage,
IManualResourceLoader loader,
boolean hwGammaCorrection,
long fsaa)
Create a manual texture with a depth of 1 (not loaded from a file). |
void |
ITextureManager.createManual(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
TextureType texType,
long width,
long height,
long depth,
int num_mips,
PixelFormat format,
int usage,
IManualResourceLoader loader,
boolean hwGammaCorrection,
long fsaa)
Create a manual texture with specified width, height and depth (not loaded from a file). |
void |
TextureManager.createManual(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
TextureType texType,
long width,
long height,
long depth,
int num_mips,
PixelFormat format,
int usage,
IManualResourceLoader loader,
boolean hwGammaCorrection,
long fsaa)
Create a manual texture with specified width, height and depth (not loaded from a file). |
void |
ITextureManager.createOrRetrieve(IResourceManager.IResourceCreateOrRetrieveResult returnValue,
java.lang.String name,
java.lang.String group,
boolean isManual,
IManualResourceLoader loader,
INameValuePairList createParams,
TextureType texType,
int numMipmaps,
float gamma,
boolean isAlpha,
PixelFormat desiredFormat,
boolean hwGammaCorrection)
Create a new texture, or retrieve an existing one with the same name if it already exists. |
void |
TextureManager.createOrRetrieve(IResourceManager.IResourceCreateOrRetrieveResult returnValue,
java.lang.String name,
java.lang.String group,
boolean isManual,
IManualResourceLoader loader,
INameValuePairList createParams,
TextureType texType,
int numMipmaps,
float gamma,
boolean isAlpha,
PixelFormat desiredFormat,
boolean hwGammaCorrection)
Create a new texture, or retrieve an existing one with the same name if it already exists. |
static int |
PixelUtil.getComponentCount(PixelFormat fmt)
Returns the component count for a certain pixel format. |
static PixelComponentType |
PixelUtil.getComponentType(PixelFormat fmt)
Returns the component type for a certain pixel format. |
static long |
PixelUtil.getFlags(PixelFormat format)
Returns the property flags for this pixel format |
static PixelFormat |
PixelUtil.getFormatForBitDepths(PixelFormat fmt,
int integerBits,
int floatBits)
Returns the similar format but acoording with given bit depths. |
static java.lang.String |
PixelUtil.getFormatName(PixelFormat srcformat)
Gets the name of an image format |
static int |
PixelUtil.getMemorySize(int width,
int height,
int depth,
PixelFormat format)
Returns the size in memory of a region with the given extents and pixel format with consecutive memory layout. |
PixelFormat |
ITextureManager.getNativeFormat(TextureType ttype,
PixelFormat format,
int usage)
Gets the format which will be natively used for a requested format given the constraints of the current device. |
PixelFormat |
TextureManager.getNativeFormat(TextureType ttype,
PixelFormat format,
int usage)
Gets the format which will be natively used for a requested format given the constraints of the current device. |
void |
IShadowTextureManager.getNullShadowTexture(ITexturePtr returnValue,
PixelFormat format)
Get an appropriately defined 'null' texture, i.e. one which will always result in no shadows. |
void |
ShadowTextureManager.getNullShadowTexture(ITexturePtr returnValue,
PixelFormat format)
Get an appropriately defined 'null' texture, i.e. one which will always result in no shadows. |
static int |
PixelUtil.getNumElemBits(PixelFormat format)
Returns the size in bits of an element of the given pixel format. |
static int |
PixelUtil.getNumElemBytes(PixelFormat format)
Returns the size in bytes of an element of the given pixel format. |
static boolean |
PixelUtil.hasAlpha(PixelFormat format)
Shortcut method to determine if the format has an alpha component |
static boolean |
PixelUtil.isAccessible(PixelFormat srcformat)
Returns wether the format can be packed or unpacked with the and functions. |
static boolean |
PixelUtil.isCompressed(PixelFormat format)
Shortcut method to determine if the format is compressed |
static boolean |
PixelUtil.isDepth(PixelFormat format)
Shortcut method to determine if the format is a depth format. |
boolean |
ITextureManager.isEquivalentFormatSupported(TextureType ttype,
PixelFormat format,
int usage)
Returns whether this render system can support the texture format requested with the given usage options, or another format with no quality reduction. |
boolean |
TextureManager.isEquivalentFormatSupported(TextureType ttype,
PixelFormat format,
int usage)
Returns whether this render system can support the texture format requested with the given usage options, or another format with no quality reduction. |
static boolean |
PixelUtil.isFloatingPoint(PixelFormat format)
Shortcut method to determine if the format is floating point |
boolean |
ITextureManager.isFormatSupported(TextureType ttype,
PixelFormat format,
int usage)
Returns whether this render system can natively support the precise texture format requested with the given usage options. |
boolean |
TextureManager.isFormatSupported(TextureType ttype,
PixelFormat format,
int usage)
Returns whether this render system can natively support the precise texture format requested with the given usage options. |
boolean |
ITextureManager.isHardwareFilteringSupported(TextureType ttype,
PixelFormat format,
int usage,
boolean preciseFormatOnly)
Returns whether this render system has hardware filtering supported for the texture format requested with the given usage options. |
boolean |
TextureManager.isHardwareFilteringSupported(TextureType ttype,
PixelFormat format,
int usage,
boolean preciseFormatOnly)
Returns whether this render system has hardware filtering supported for the texture format requested with the given usage options. |
static boolean |
PixelUtil.isLuminance(PixelFormat format)
Shortcut method to determine if the format is a luminance format. |
static boolean |
PixelUtil.isNativeEndian(PixelFormat format)
Shortcut method to determine if the format is in native endian format. |
static boolean |
PixelUtil.isValidExtent(int width,
int height,
int depth,
PixelFormat format)
Return wether a certain image extent is valid for this image format. |
void |
ITextureManager.load(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
TextureType texType,
int numMipmaps,
float gamma,
boolean isAlpha,
PixelFormat desiredFormat,
boolean hwGammaCorrection)
Loads a texture from a file. |
void |
TextureManager.load(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
TextureType texType,
int numMipmaps,
float gamma,
boolean isAlpha,
PixelFormat desiredFormat,
boolean hwGammaCorrection)
Loads a texture from a file. |
IImage |
Image.loadDynamicImage(ShortPointer pData,
int uWidth,
int uHeight,
int depth,
PixelFormat eFormat,
boolean autoDelete,
int numFaces,
int numMipMaps)
Stores a pointer to raw data in memory. |
IImage |
IImage.loadDynamicImage(ShortPointer pData,
int uWidth,
int uHeight,
int depth,
PixelFormat eFormat,
boolean autoDelete,
int numFaces,
int numMipMaps)
Stores a pointer to raw data in memory. |
IImage |
Image.loadDynamicImage(ShortPointer pData,
int uWidth,
int uHeight,
PixelFormat eFormat)
Stores a pointer to raw data in memory. |
IImage |
IImage.loadDynamicImage(ShortPointer pData,
int uWidth,
int uHeight,
PixelFormat eFormat)
Stores a pointer to raw data in memory. |
void |
ITextureManager.loadImage(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
IImage img,
TextureType texType,
int iNumMipmaps,
float gamma,
boolean isAlpha,
PixelFormat desiredFormat,
boolean hwGammaCorrection)
Loads a texture from an object. |
void |
TextureManager.loadImage(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
IImage img,
TextureType texType,
int iNumMipmaps,
float gamma,
boolean isAlpha,
PixelFormat desiredFormat,
boolean hwGammaCorrection)
Loads a texture from an object. |
IImage |
Image.loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
int uDepth,
PixelFormat eFormat,
int numFaces,
int numMipMaps)
Loads raw data from a stream. |
IImage |
IImage.loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
int uDepth,
PixelFormat eFormat,
int numFaces,
int numMipMaps)
Loads raw data from a stream. |
IImage |
Image.loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
PixelFormat eFormat)
Loads raw data from a stream. |
void |
Texture.loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
PixelFormat eFormat)
Loads the data from a raw stream. |
void |
ITexture.loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
PixelFormat eFormat)
Loads the data from a raw stream. |
IImage |
IImage.loadRawData(IDataStreamPtr stream,
int uWidth,
int uHeight,
PixelFormat eFormat)
Loads raw data from a stream. |
void |
ITextureManager.loadRawData(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
IDataStreamPtr stream,
int uWidth,
int uHeight,
PixelFormat format,
TextureType texType,
int iNumMipmaps,
float gamma,
boolean hwGammaCorrection)
Loads a texture from a raw data stream. |
void |
TextureManager.loadRawData(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
IDataStreamPtr stream,
int uWidth,
int uHeight,
PixelFormat format,
TextureType texType,
int iNumMipmaps,
float gamma,
boolean hwGammaCorrection)
Loads a texture from a raw data stream. |
static void |
PixelUtil.packColour(float r,
float g,
float b,
float a,
PixelFormat pf,
VoidPointer dest)
Pack a colour value to memory |
static void |
PixelUtil.packColour(IColourValue colour,
PixelFormat pf,
VoidPointer dest)
Pack a colour value to memory |
static void |
PixelUtil.packColour(short r,
short g,
short b,
short a,
PixelFormat pf,
VoidPointer dest)
Pack a colour value to memory |
void |
ITextureManager.prepare(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
TextureType texType,
int numMipmaps,
float gamma,
boolean isAlpha,
PixelFormat desiredFormat,
boolean hwGammaCorrection)
Prepares to loads a texture from a file. |
void |
TextureManager.prepare(ITexturePtr returnValue,
java.lang.String name,
java.lang.String group,
TextureType texType,
int numMipmaps,
float gamma,
boolean isAlpha,
PixelFormat desiredFormat,
boolean hwGammaCorrection)
Prepares to loads a texture from a file. |
void |
IPixelFormatList.push_back(PixelFormat val)
|
void |
PixelFormatList.push_back(PixelFormat val)
|
void |
TextureUnitState.setDesiredFormat(PixelFormat desiredFormat)
Sets the desired pixel format when load the texture. |
void |
ITextureUnitState.setDesiredFormat(PixelFormat desiredFormat)
Sets the desired pixel format when load the texture. |
void |
ImageCodec.ImageData.setformat(PixelFormat _jni_value_)
|
void |
IPixelBox.setformat(PixelFormat _jni_value_)
|
void |
ShadowTextureConfig.setformat(PixelFormat _jni_value_)
|
void |
PixelBox.setformat(PixelFormat _jni_value_)
|
void |
IImageCodec.IImageData.setformat(PixelFormat _jni_value_)
|
void |
IShadowTextureConfig.setformat(PixelFormat _jni_value_)
|
void |
Texture.setFormat(PixelFormat pf)
Sets the pixel format for the texture surface; can only be set before . |
void |
ITexture.setFormat(PixelFormat pf)
Sets the pixel format for the texture surface; can only be set before . |
void |
DefaultSceneManager.setShadowTextureConfig(int shadowIndex,
int width,
int height,
PixelFormat format)
Set the detailed configuration for a shadow texture. |
void |
ISceneManager.setShadowTextureConfig(int shadowIndex,
int width,
int height,
PixelFormat format)
Set the detailed configuration for a shadow texture. |
void |
SceneManager.setShadowTextureConfig(int shadowIndex,
int width,
int height,
PixelFormat format)
Set the detailed configuration for a shadow texture. |
void |
DefaultSceneManager.setShadowTexturePixelFormat(PixelFormat fmt)
Set the pixel format of the textures used for texture-based shadows. |
void |
ISceneManager.setShadowTexturePixelFormat(PixelFormat fmt)
Set the pixel format of the textures used for texture-based shadows. |
void |
SceneManager.setShadowTexturePixelFormat(PixelFormat fmt)
Set the pixel format of the textures used for texture-based shadows. |
void |
DefaultSceneManager.setShadowTextureSettings(int size,
int count,
PixelFormat fmt)
Sets the size and count of textures used in texture-based shadows. |
void |
ISceneManager.setShadowTextureSettings(int size,
int count,
PixelFormat fmt)
Sets the size and count of textures used in texture-based shadows. |
void |
SceneManager.setShadowTextureSettings(int size,
int count,
PixelFormat fmt)
Sets the size and count of textures used in texture-based shadows. |
static void |
PixelUtil.unpackColour(FloatPointer r,
FloatPointer g,
FloatPointer b,
FloatPointer a,
PixelFormat pf,
VoidPointer src)
Unpack a colour value from memory |
static void |
PixelUtil.unpackColour(IColourValue colour,
PixelFormat pf,
VoidPointer src)
Unpack a colour value from memory |
static void |
PixelUtil.unpackColour(ShortPointer r,
ShortPointer g,
ShortPointer b,
ShortPointer a,
PixelFormat pf,
VoidPointer src)
Unpack a colour value from memory |
| Constructors in org.ogre4j with parameters of type PixelFormat | |
|---|---|
PixelBox(IBox extents,
PixelFormat pixelFormat,
VoidPointer pixelData)
Constructor providing extents in the form of a object. |
|
PixelBox(int width,
int height,
int depth,
PixelFormat pixelFormat,
VoidPointer pixelData)
Constructor providing width, height and depth. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||