org.ogre4j
Interface IRenderSystemCapabilities
- All Superinterfaces:
- IAllocatedObject<IRenderSysAllocPolicy>, INativeObject, IRenderSysAllocatedObject
- All Known Implementing Classes:
- RenderSystemCapabilities
public interface IRenderSystemCapabilities
- extends INativeObject, IRenderSysAllocatedObject
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.