jcuda.runtime
Class cudaResourceViewDesc

java.lang.Object
  extended by jcuda.runtime.cudaResourceViewDesc

public class cudaResourceViewDesc
extends java.lang.Object

CUDA resource view descriptor


Field Summary
 long depth
          Depth of the resource view
 int firstLayer
          First layer index
 int firstMipmapLevel
          First defined mipmap level
 int format
          Resource view format
 long height
          Height of the resource view
 int lastLayer
          Last layer index
 int lastMipmapLevel
          Last defined mipmap level
 long width
          Width of the resource view
 
Constructor Summary
cudaResourceViewDesc()
          Creates a new, uninitialized cudaResourceViewDesc
 
Method Summary
 java.lang.String toFormattedString()
          Creates and returns a formatted (aligned, multi-line) String representation of this object
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

format

public int format
Resource view format

See Also:
cudaResourceViewFormat

width

public long width
Width of the resource view


height

public long height
Height of the resource view


depth

public long depth
Depth of the resource view


firstMipmapLevel

public int firstMipmapLevel
First defined mipmap level


lastMipmapLevel

public int lastMipmapLevel
Last defined mipmap level


firstLayer

public int firstLayer
First layer index


lastLayer

public int lastLayer
Last layer index

Constructor Detail

cudaResourceViewDesc

public cudaResourceViewDesc()
Creates a new, uninitialized cudaResourceViewDesc

Method Detail

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
A String representation of this object.

toFormattedString

public java.lang.String toFormattedString()
Creates and returns a formatted (aligned, multi-line) String representation of this object

Returns:
A formatted String representation of this object