메소드 | 설명 | |
---|---|---|
PICACommandReader ( Stream input, uint wordCount, bool ignoreAlign = false ) : System |
Creates a new PICA200 Command Buffer reader and reads the content.
|
|
getAlphaTest ( ) : RenderBase.OAlphaTest |
Gets the parameters used for Alpha testing.
|
|
getBlendOperation ( ) : RenderBase.OBlendOperation |
Gets Blending operation parameters.
|
|
getColorLogicOperation ( ) : RenderBase.OLogicalOperation |
Gets the Logical operation applied to Fragment colors.
|
|
getCullMode ( ) : RenderBase.OCullMode |
Gets the Culling mode.
|
|
getDepthTest ( ) : RenderBase.ODepthOperation |
Gets the parameters used for Depth testing.
|
|
getFSHLookUpTable ( ) : float[] |
Gets the 1D LookUp table sampler used on the Fragment Shader lighting.
|
|
getFragmentBufferColor ( ) : Color |
Gets the Fragment Buffer Color.
|
|
getIndexBufferAddress ( ) : uint |
Gets the Address where the Index Buffer is located.
|
|
getIndexBufferFormat ( ) : PICACommand.indexBufferFormat |
Gets the Format of the Index Buffer (byte or short).
|
|
getIndexBufferTotalVertices ( ) : uint |
Gets the total number of vertices indexed by the Index Buffer.
|
|
getParameter ( ushort commandId ) : uint |
Gets the lastest written parameter of a given Command in the buffer.
|
|
getReflectanceSamplerAbsolute ( ) : |
Gets if the Absolute value should be used before using the LUT for each Input.
|
|
getReflectanceSamplerInput ( ) : |
Gets the Input used to pick a value from the LookUp Table on Fragment Shader.
|
|
getReflectanceSamplerScale ( ) : |
Gets the scale used on the value on Fragment Shader.
|
|
getStencilTest ( ) : RenderBase.OStencilOperation |
Gets the parameters used for Stencil testing.
|
|
getTevStage ( byte stage ) : RenderBase.OTextureCombiner |
Gets TEV Stage parameters.
|
|
getTexUnit0Address ( ) : uint |
Gets the Address of the texture at Texture Unit 0.
|
|
getTexUnit0BorderColor ( ) : Color |
Gets the border color used on Texture Unit 0, when the wrapping mode is set to Border.
|
|
getTexUnit0Format ( ) : RenderBase.OTextureFormat |
Gets the encoded format of the texture at Texture Unit 0.
|
|
getTexUnit0Mapper ( ) : RenderBase.OTextureMapper |
Gets the mapping parameters used on Texture Unit 0, such as the wrapping mode, filtering and so on.
|
|
getTexUnit0Size ( ) : |
Gets the resolution of the texture at Texture Unit 0.
|
|
getTexUnit1Address ( ) : uint |
Gets the Address of the texture at Texture Unit 1.
|
|
getTexUnit1BorderColor ( ) : Color |
Gets the border color used on Texture Unit 1, when the wrapping mode is set to Border.
|
|
getTexUnit1Format ( ) : RenderBase.OTextureFormat |
Gets the encoded format of the texture at Texture Unit 1.
|
|
getTexUnit1Mapper ( ) : RenderBase.OTextureMapper |
Gets the mapping parameters used on Texture Unit 1, such as the wrapping mode, filtering and so on.
|
|
getTexUnit1Size ( ) : |
Gets the resolution of the texture at Texture Unit 1.
|
|
getTexUnit2Address ( ) : uint |
Gets the Address of the texture at Texture Unit 2.
|
|
getTexUnit2BorderColor ( ) : Color |
Gets the border color used on Texture Unit 2, when the wrapping mode is set to Border.
|
|
getTexUnit2Format ( ) : RenderBase.OTextureFormat |
Gets the encoded format of the texture at Texture Unit 2.
|
|
getTexUnit2Mapper ( ) : RenderBase.OTextureMapper |
Gets the mapping parameters used on Texture Unit 2, such as the wrapping mode, filtering and so on.
|
|
getTexUnit2Size ( ) : |
Gets the resolution of the texture at Texture Unit 2.
|
|
getVSHAttributesBufferAddress ( ) : uint |
Gets the Address where the Attributes Buffer is located. Note that it may be a Relative address, and may need to be relocated.
|
|
getVSHAttributesBufferAddress ( byte bufferIndex ) : uint |
Gets the Address of a given Attributes Buffer. It is relative to the Main Buffer address.
|
|
getVSHAttributesBufferFormat ( ) : Ohana3DS_Transfigured.Ohana.Models.PICA200.PICACommand.attributeFormat[] |
Gets an array containing all formats of the main Attributes Buffer. It have the length of each attribute, and the format (byte, float, short...).
|
|
getVSHAttributesBufferPermutation ( ) : PICACommand.vshAttribute[] |
Gets an array containing all Vertex Atrributes permutation order.
|
|
getVSHAttributesBufferPermutation ( byte bufferIndex ) : uint[] |
Gets the Permutation of a given Attributes Buffer. Values corresponds to a value on the main Permutation.
|
|
getVSHAttributesBufferStride ( byte bufferIndex ) : byte |
Gets the Stride of a given Attributes Buffer.
|
|
getVSHBooleanUniforms ( ) : bool[] |
Gets Uniform Booleans used on Vertex Shader.
|
|
getVSHFloatUniformData ( uint register ) : Stack |
Gets the Float Uniform data array from the given register.
|
|
getVSHTotalAttributes ( ) : uint |
Gets the Total Attributes minus 1.
|
|
getVSHTotalAttributes ( byte bufferIndex ) : uint |
Gets the Total Attributes of a given Attributes Buffer.
|
메소드 | 설명 | |
---|---|---|
toFloat ( uint value ) : float |
Converts a IEEE 754 encoded float on uint to float.
|
public PICACommandReader ( Stream input, uint wordCount, bool ignoreAlign = false ) : System | ||
input | Stream | The Input stream where the buffer is located |
wordCount | uint | Total number of words (4 bytes per word) that the buffer have |
ignoreAlign | bool | (Optional) Set to true to ignore potential 0x0 padding words |
리턴 | System |
public getBlendOperation ( ) : RenderBase.OBlendOperation | ||
리턴 | RenderBase.OBlendOperation |
public getColorLogicOperation ( ) : RenderBase.OLogicalOperation | ||
리턴 | RenderBase.OLogicalOperation |
public getDepthTest ( ) : RenderBase.ODepthOperation | ||
리턴 | RenderBase.ODepthOperation |
public getIndexBufferFormat ( ) : PICACommand.indexBufferFormat | ||
리턴 | PICACommand.indexBufferFormat |
public getParameter ( ushort commandId ) : uint | ||
commandId | ushort | ID code of the command |
리턴 | uint |
public getReflectanceSamplerAbsolute ( ) : |
||
리턴 |
public getReflectanceSamplerInput ( ) : |
||
리턴 |
public getReflectanceSamplerScale ( ) : |
||
리턴 |
public getStencilTest ( ) : RenderBase.OStencilOperation | ||
리턴 | RenderBase.OStencilOperation |
public getTevStage ( byte stage ) : RenderBase.OTextureCombiner | ||
stage | byte | The stage (0-5) |
리턴 | RenderBase.OTextureCombiner |
public getTexUnit0Format ( ) : RenderBase.OTextureFormat | ||
리턴 | RenderBase.OTextureFormat |
public getTexUnit0Mapper ( ) : RenderBase.OTextureMapper | ||
리턴 | RenderBase.OTextureMapper |
public getTexUnit1Format ( ) : RenderBase.OTextureFormat | ||
리턴 | RenderBase.OTextureFormat |
public getTexUnit1Mapper ( ) : RenderBase.OTextureMapper | ||
리턴 | RenderBase.OTextureMapper |
public getTexUnit2Format ( ) : RenderBase.OTextureFormat | ||
리턴 | RenderBase.OTextureFormat |
public getTexUnit2Mapper ( ) : RenderBase.OTextureMapper | ||
리턴 | RenderBase.OTextureMapper |
public getVSHAttributesBufferAddress ( byte bufferIndex ) : uint | ||
bufferIndex | byte | Index number of the buffer (0-11) |
리턴 | uint |
public getVSHAttributesBufferFormat ( ) : Ohana3DS_Transfigured.Ohana.Models.PICA200.PICACommand.attributeFormat[] | ||
리턴 | Ohana3DS_Transfigured.Ohana.Models.PICA200.PICACommand.attributeFormat[] |
public getVSHAttributesBufferPermutation ( ) : PICACommand.vshAttribute[] | ||
리턴 | PICACommand.vshAttribute[] |
public getVSHAttributesBufferPermutation ( byte bufferIndex ) : uint[] | ||
bufferIndex | byte | Index number of the buffer (0-11) |
리턴 | uint[] |
public getVSHAttributesBufferStride ( byte bufferIndex ) : byte | ||
bufferIndex | byte | Index number of the buffer (0-11) |
리턴 | byte |
public getVSHFloatUniformData ( uint register ) : Stack |
||
register | uint | Index number of the register (observed values: 6 and 7) |
리턴 | Stack |
public getVSHTotalAttributes ( byte bufferIndex ) : uint | ||
bufferIndex | byte | Index number of the buffer (0-11) |
리턴 | uint |