PrtCompressedBuffer Class

Language:

Stores a compressed version of a PrtBuffer object for use with principal component analysis (PCA).

Definition

Visual Basic Public Class PrtCompressedBuffer
    Inherits MarshalByRefObject
    Implements IDisposable
C# public class PrtCompressedBuffer : MarshalByRefObject, IDisposable
C++ public ref class PrtCompressedBuffer : MarshalByRefObject, IDisposable
JScript public class PrtCompressedBuffer extends MarshalByRefObject implements IDisposable

Members Table

Event Description
Disposing Occurs when the Dispose method is called or when the PrtCompressedBuffer object is finalized and collected by the garbage collector of the .NET common language runtime.
Method Description
Dispose Immediately releases the unmanaged resources used by the PrtCompressedBuffer object.
Equals Returns a value that indicates whether the current instance is equal to a specified object.
ExtractBasis Extracts the mean and PCA basis vectors for a given cluster from a PrtCompressedBuffer object.
ExtractClusterIDs Extracts the per-sample cluster identifiers (IDs) from a PrtCompressedBuffer object.
ExtractPca Extracts the per-sample PCA projection coefficients from a PrtCompressedBuffer object.
ExtractTexture Extracts the per-sample PCA projection coefficients from a PrtCompressedBuffer object and adds the data to a Texture object.
ExtractToMesh Extracts the per-sample PCA projection coefficients from a PrtCompressedBuffer object and adds the data to a Mesh object.
Finalize Allows the PrtCompressedBuffer object to free resources before it is destroyed by the garbage collector.
static (Shared in Visual Basic) FromFile Loads into memory a compressed PRT buffer that was saved to disk.
GetHashCode Returns the hash code for the current instance.
GetObjectByValue This member supports the infrastructure for Microsoft DirectX 9.0 for Managed Code and is not intended to be used directly from your code.
NormalizeData Normalizes all PCA weights so that they are between -1 and 1. Basis vectors are modified to reflect this normalization.
static (Shared in Visual Basic) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic) op_Inequality Compares the current instance of a class to another instance to determine whether they are different.
PrtCompressedBuffer Initializes a new instance of the PrtCompressedBuffer class.
raise_Disposing Raises the Microsoft.DirectX.Direct3D.PrtCompressedBuffer.Disposing event when called from within a derived class.
Save Saves a compressed precomputed radiance transfer (PRT) buffer to disk.
UpdateUnmanagedPointer Updates the unmanaged pointer for this PrtCompressedBuffer object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code.
Property Description
Disposed Gets a value that indicates whether the object is disposed.
Height Retrieves the height of the texture, in pixels.
IsTexture Indicates whether the compressed buffer contains a texture.
NumberChannels Retrieves the number of color channels used in memory to store samples.
NumberClusters Retrieves the number of clusters to use for compression.
NumberCoefficients Retrieves the number of scalars per color channel used in memory to store samples.
NumberPcaVectors Retrieves the number of PCA basis vectors to use in each cluster.
NumberSamples Retrieves the number of vertices (or texels) sampled.
UnmanagedComPointer Returns the unmanaged Component Object Model (COM) ID3DXPRTCompBuffer interface pointer.
Width Retrieves the width of the texture, in pixels.

Inheritance Hierarchy

Object Leave Site
MarshalByRefObject Leave Site
PrtCompressedBuffer

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center