org.ogre4j
Interface IRenderSystemCapabilities

All Superinterfaces:
IAllocatedObject<IRenderSysAllocPolicy>, INativeObject, IRenderSysAllocatedObject
All Known Implementing Classes:
RenderSystemCapabilities

public interface IRenderSystemCapabilities
extends INativeObject, IRenderSysAllocatedObject


Nested Class Summary
static interface IRenderSystemCapabilities.IShaderProfiles
           
 
Method Summary
 void addShaderProfile(java.lang.String profile)
          Adds the profile to the list of supported profiles
 int calculateSize()
           
 java.lang.String getDeviceName()
           
 void getDriverVersion(IDriverVersion returnValue)
           
 int getFragmentProgramConstantBoolCount()
           
 int getFragmentProgramConstantFloatCount()
           
 int getFragmentProgramConstantIntCount()
           
 int getGeometryProgramConstantBoolCount()
           
 int getGeometryProgramConstantFloatCount()
           
 int getGeometryProgramConstantIntCount()
           
 int getGeometryProgramNumOutputVertices()
           
 float getMaxPointSize()
           
 boolean getNonPOW2TexturesLimited()
          Are non-power of two textures limited in features?
 int getNumMultiRenderTargets()
           
 int getNumTextureUnits()
          Returns the number of texture units the current output hardware supports.
 int getNumVertexBlendMatrices()
          Returns the number of matrices available to hardware vertex blending for this rendering system.
 int getNumVertexTextureUnits()
           
 int getNumWorldMatrices()
           
 java.lang.String getRenderSystemName()
           
 int getStencilBufferBitDepth()
          Determines the bit depth of the hardware accelerated stencil buffer, if supported.
 IRenderSystemCapabilities.IShaderProfiles getSupportedShaderProfiles()
          Returns a set of all supported shader profiles
 GPUVendor getVendor()
           
 int getVertexProgramConstantBoolCount()
           
 int getVertexProgramConstantFloatCount()
           
 int getVertexProgramConstantIntCount()
           
 boolean getVertexTextureUnitsShared()
           
 boolean hasCapability(Capabilities c)
          Checks for a capability
 boolean isCapabilityRenderSystemSpecific(Capabilities c)
          Returns true if capability is render system specific
 boolean isCategoryRelevant(CapabilitiesCategory cat)
           
 boolean isDriverOlderThanVersion(IDriverVersion v)
           
 boolean isShaderProfileSupported(java.lang.String profile)
          Returns true if profile is in the list of supported profiles
 void log(ILog pLog)
          Write the capabilities to the pass in
 void parseDriverVersionFromString(java.lang.String versionString)
           
 void parseVendorFromString(java.lang.String vendorString)
           
 void removeShaderProfile(java.lang.String profile)
          Remove a given shader profile, if present.
 void setCapability(Capabilities c)
          Adds a capability flag
 void setCategoryRelevant(CapabilitiesCategory cat, boolean relevant)
           
 void setDeviceName(java.lang.String name)
           
 void setDriverVersion(IDriverVersion version)
          Set the driver version.
 void setFragmentProgramConstantBoolCount(int c)
           
 void setFragmentProgramConstantFloatCount(int c)
           
 void setFragmentProgramConstantIntCount(int c)
           
 void setGeometryProgramConstantBoolCount(int c)
           
 void setGeometryProgramConstantFloatCount(int c)
           
 void setGeometryProgramConstantIntCount(int c)
           
 void setGeometryProgramNumOutputVertices(int numOutputVertices)
           
 void setMaxPointSize(float s)
           
 void setNonPOW2TexturesLimited(boolean l)
           
 void setNumMultiRenderTargets(int num)
           
 void setNumTextureUnits(int num)
           
 void setNumVertexBlendMatrices(int num)
           
 void setNumVertexTextureUnits(int n)
           
 void setNumWorldMatrices(int num)
           
 void setRenderSystemName(java.lang.String rs)
           
 void setStencilBufferBitDepth(int num)
           
 void setVendor(GPUVendor v)
           
 void setVertexProgramConstantBoolCount(int c)
           
 void setVertexProgramConstantFloatCount(int c)
           
 void setVertexProgramConstantIntCount(int c)
           
 void setVertexTextureUnitsShared(boolean shared)
           
 void unsetCapability(Capabilities c)
          Remove a capability flag
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

calculateSize

int calculateSize()

setDriverVersion

void setDriverVersion(IDriverVersion version)
Set the driver version.


parseDriverVersionFromString

void parseDriverVersionFromString(java.lang.String versionString)

getDriverVersion

void getDriverVersion(IDriverVersion returnValue)

getVendor

GPUVendor getVendor()

setVendor

void setVendor(GPUVendor v)

parseVendorFromString

void parseVendorFromString(java.lang.String vendorString)

isDriverOlderThanVersion

boolean isDriverOlderThanVersion(IDriverVersion v)

setNumWorldMatrices

void setNumWorldMatrices(int num)

setNumTextureUnits

void setNumTextureUnits(int num)

setStencilBufferBitDepth

void setStencilBufferBitDepth(int num)

setNumVertexBlendMatrices

void setNumVertexBlendMatrices(int num)

setNumMultiRenderTargets

void setNumMultiRenderTargets(int num)

getNumWorldMatrices

int getNumWorldMatrices()

getNumTextureUnits

int getNumTextureUnits()
Returns the number of texture units the current output hardware supports. For use in rendering, this determines how many texture units the are available for multitexturing (i.e. rendering multiple textures in a single pass). Where a has multiple texture layers, it will try to use multitexturing where available, and where it is not available, will perform multipass rendering to achieve the same effect. This property only applies to the fixed-function pipeline, the number available to the programmable pipeline depends on the shader model in use.


getStencilBufferBitDepth

int getStencilBufferBitDepth()
Determines the bit depth of the hardware accelerated stencil buffer, if supported.


getNumVertexBlendMatrices

int getNumVertexBlendMatrices()
Returns the number of matrices available to hardware vertex blending for this rendering system.


getNumMultiRenderTargets

int getNumMultiRenderTargets()

isCapabilityRenderSystemSpecific

boolean isCapabilityRenderSystemSpecific(Capabilities c)
Returns true if capability is render system specific


setCapability

void setCapability(Capabilities c)
Adds a capability flag


unsetCapability

void unsetCapability(Capabilities c)
Remove a capability flag


hasCapability

boolean hasCapability(Capabilities c)
Checks for a capability


addShaderProfile

void addShaderProfile(java.lang.String profile)
Adds the profile to the list of supported profiles


removeShaderProfile

void removeShaderProfile(java.lang.String profile)
Remove a given shader profile, if present.


isShaderProfileSupported

boolean isShaderProfileSupported(java.lang.String profile)
Returns true if profile is in the list of supported profiles


getSupportedShaderProfiles

IRenderSystemCapabilities.IShaderProfiles getSupportedShaderProfiles()
Returns a set of all supported shader profiles


getVertexProgramConstantFloatCount

int getVertexProgramConstantFloatCount()

getVertexProgramConstantIntCount

int getVertexProgramConstantIntCount()

getVertexProgramConstantBoolCount

int getVertexProgramConstantBoolCount()

getGeometryProgramConstantFloatCount

int getGeometryProgramConstantFloatCount()

getGeometryProgramConstantIntCount

int getGeometryProgramConstantIntCount()

getGeometryProgramConstantBoolCount

int getGeometryProgramConstantBoolCount()

getFragmentProgramConstantFloatCount

int getFragmentProgramConstantFloatCount()

getFragmentProgramConstantIntCount

int getFragmentProgramConstantIntCount()

getFragmentProgramConstantBoolCount

int getFragmentProgramConstantBoolCount()

setDeviceName

void setDeviceName(java.lang.String name)

getDeviceName

java.lang.String getDeviceName()

setVertexProgramConstantFloatCount

void setVertexProgramConstantFloatCount(int c)

setVertexProgramConstantIntCount

void setVertexProgramConstantIntCount(int c)

setVertexProgramConstantBoolCount

void setVertexProgramConstantBoolCount(int c)

setGeometryProgramConstantFloatCount

void setGeometryProgramConstantFloatCount(int c)

setGeometryProgramConstantIntCount

void setGeometryProgramConstantIntCount(int c)

setGeometryProgramConstantBoolCount

void setGeometryProgramConstantBoolCount(int c)

setFragmentProgramConstantFloatCount

void setFragmentProgramConstantFloatCount(int c)

setFragmentProgramConstantIntCount

void setFragmentProgramConstantIntCount(int c)

setFragmentProgramConstantBoolCount

void setFragmentProgramConstantBoolCount(int c)

setMaxPointSize

void setMaxPointSize(float s)

getMaxPointSize

float getMaxPointSize()

setNonPOW2TexturesLimited

void setNonPOW2TexturesLimited(boolean l)

getNonPOW2TexturesLimited

boolean getNonPOW2TexturesLimited()
Are non-power of two textures limited in features?


setNumVertexTextureUnits

void setNumVertexTextureUnits(int n)

getNumVertexTextureUnits

int getNumVertexTextureUnits()

setVertexTextureUnitsShared

void setVertexTextureUnitsShared(boolean shared)

getVertexTextureUnitsShared

boolean getVertexTextureUnitsShared()

setGeometryProgramNumOutputVertices

void setGeometryProgramNumOutputVertices(int numOutputVertices)

getGeometryProgramNumOutputVertices

int getGeometryProgramNumOutputVertices()

getRenderSystemName

java.lang.String getRenderSystemName()

setRenderSystemName

void setRenderSystemName(java.lang.String rs)

setCategoryRelevant

void setCategoryRelevant(CapabilitiesCategory cat,
                         boolean relevant)

isCategoryRelevant

boolean isCategoryRelevant(CapabilitiesCategory cat)

log

void log(ILog pLog)
Write the capabilities to the pass in



Copyright © 2007 netAllied GmbH. All Rights Reserved.