Inheritance
CVRRenderModels
Assembly: cs.temp.dll.dll
public class CVRRenderModels
Methods
Declaration
public void FreeRenderModel(IntPtr pRenderModel)
Parameters
Type |
Name |
Description |
IntPtr |
pRenderModel |
|
Declaration
public void FreeTexture(IntPtr pTexture)
Parameters
Type |
Name |
Description |
IntPtr |
pTexture |
|
Declaration
public void FreeTextureD3D11(IntPtr pD3D11Texture2D)
Parameters
Type |
Name |
Description |
IntPtr |
pD3D11Texture2D |
|
Declaration
public ulong GetComponentButtonMask(string pchRenderModelName, string pchComponentName)
Parameters
Type |
Name |
Description |
String |
pchRenderModelName |
|
String |
pchComponentName |
|
Returns
Declaration
public uint GetComponentCount(string pchRenderModelName)
Parameters
Type |
Name |
Description |
String |
pchRenderModelName |
|
Returns
Declaration
public uint GetComponentName(string pchRenderModelName, uint unComponentIndex, StringBuilder pchComponentName, uint unComponentNameLen)
Parameters
Returns
Declaration
public uint GetComponentRenderModelName(string pchRenderModelName, string pchComponentName, StringBuilder pchComponentRenderModelName, uint unComponentRenderModelNameLen)
Parameters
Returns
Declaration
public bool GetComponentState(string pchRenderModelName, string pchComponentName, ref VRControllerState_t pControllerState, ref RenderModel_ControllerMode_State_t pState, ref RenderModel_ComponentState_t pComponentState)
Parameters
Returns
Declaration
public bool GetComponentStateForDevicePath(string pchRenderModelName, string pchComponentName, ulong devicePath, ref RenderModel_ControllerMode_State_t pState, ref RenderModel_ComponentState_t pComponentState)
Parameters
Returns
Declaration
public uint GetRenderModelCount()
Returns
Declaration
public string GetRenderModelErrorNameFromEnum(EVRRenderModelError error)
Parameters
Returns
Declaration
public uint GetRenderModelName(uint unRenderModelIndex, StringBuilder pchRenderModelName, uint unRenderModelNameLen)
Parameters
Returns
Declaration
public uint GetRenderModelOriginalPath(string pchRenderModelName, StringBuilder pchOriginalPath, uint unOriginalPathLen, ref EVRRenderModelError peError)
Parameters
Returns
Declaration
public uint GetRenderModelThumbnailURL(string pchRenderModelName, StringBuilder pchThumbnailURL, uint unThumbnailURLLen, ref EVRRenderModelError peError)
Parameters
Returns
Declaration
public EVRRenderModelError LoadIntoTextureD3D11_Async(int textureId, IntPtr pDstTexture)
Parameters
Type |
Name |
Description |
Int32 |
textureId |
|
IntPtr |
pDstTexture |
|
Returns
Declaration
public EVRRenderModelError LoadRenderModel_Async(string pchRenderModelName, ref IntPtr ppRenderModel)
Parameters
Type |
Name |
Description |
String |
pchRenderModelName |
|
IntPtr |
ppRenderModel |
|
Returns
Declaration
public EVRRenderModelError LoadTexture_Async(int textureId, ref IntPtr ppTexture)
Parameters
Type |
Name |
Description |
Int32 |
textureId |
|
IntPtr |
ppTexture |
|
Returns
Declaration
public EVRRenderModelError LoadTextureD3D11_Async(int textureId, IntPtr pD3D11Device, ref IntPtr ppD3D11Texture2D)
Parameters
Type |
Name |
Description |
Int32 |
textureId |
|
IntPtr |
pD3D11Device |
|
IntPtr |
ppD3D11Texture2D |
|
Returns
Declaration
public bool RenderModelHasComponent(string pchRenderModelName, string pchComponentName)
Parameters
Type |
Name |
Description |
String |
pchRenderModelName |
|
String |
pchComponentName |
|
Returns