struct Compositor_StageRenderSettings {
HmdColor_t m_PrimaryColor;
HmdColor_t m_SecondaryColor;
float m_flVignetteInnerRadius;
float m_flVignetteOuterRadius;
float m_flFresnelStrength;
bool m_bBackfaceCulling;
bool m_bGreyscale;
bool m_bWireframe;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CompositorStageRenderSettings.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | M_BBACKFACECULLING
The struct member offsets. |
| public static final int | M_BGREYSCALE
The struct member offsets. |
| public static final int | M_BWIREFRAME
The struct member offsets. |
| public static final int | M_FLFRESNELSTRENGTH
The struct member offsets. |
| public static final int | M_FLVIGNETTEINNERRADIUS
The struct member offsets. |
| public static final int | M_FLVIGNETTEOUTERRADIUS
The struct member offsets. |
| public static final int | M_PRIMARYCOLOR
The struct member offsets. |
| public static final int | M_SECONDARYCOLOR
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CompositorStageRenderSettings(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static CompositorStageRenderSettings | |
| public static CompositorStageRenderSettings. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CompositorStageRenderSettings | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CompositorStageRenderSettings. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected CompositorStageRenderSettings | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static CompositorStageRenderSettings | |
| public static CompositorStageRenderSettings | create(long address)
Returns a new |
| public static CompositorStageRenderSettings. | create(int
the buffer capacity capacity)Returns a new |
| public static CompositorStageRenderSettings. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CompositorStageRenderSettings | |
| public static CompositorStageRenderSettings. | |
| public boolean | |
| public boolean | |
| public boolean | |
| public float | |
| public float | m_flVignetteInnerRadius()
Vignette radius is in meters and is used to fade to the specified secondary solid color over that 3D distance from the origin of the playspace. |
| public float | |
| public HmdColor | |
| public HmdColor | |
| public static CompositorStageRenderSettings | |
| public static CompositorStageRenderSettings. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CompositorStageRenderSettings | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CompositorStageRenderSettings. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static float | |
| public static float | |
| public static float | |
| public static HmdColor | |
| public static HmdColor | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| M_BBACKFACECULLING | back to summary |
|---|---|
| public static final int M_BBACKFACECULLING The struct member offsets. | |
| M_BGREYSCALE | back to summary |
|---|---|
| public static final int M_BGREYSCALE The struct member offsets. | |
| M_BWIREFRAME | back to summary |
|---|---|
| public static final int M_BWIREFRAME The struct member offsets. | |
| M_FLFRESNELSTRENGTH | back to summary |
|---|---|
| public static final int M_FLFRESNELSTRENGTH The struct member offsets. | |
| M_FLVIGNETTEINNERRADIUS | back to summary |
|---|---|
| public static final int M_FLVIGNETTEINNERRADIUS The struct member offsets. | |
| M_FLVIGNETTEOUTERRADIUS | back to summary |
|---|---|
| public static final int M_FLVIGNETTEOUTERRADIUS The struct member offsets. | |
| M_PRIMARYCOLOR | back to summary |
|---|---|
| public static final int M_PRIMARYCOLOR The struct member offsets. | |
| M_SECONDARYCOLOR | back to summary |
|---|---|
| public static final int M_SECONDARYCOLOR The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| CompositorStageRenderSettings | back to summary |
|---|---|
| protected CompositorStageRenderSettings(long address, ByteBuffer container) | |
| CompositorStageRenderSettings | back to summary |
|---|---|
| public CompositorStageRenderSettings(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static CompositorStageRenderSettings calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CompositorStageRenderSettings. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CompositorStageRenderSettings calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CompositorStageRenderSettings. Returns a new
| |
| create | back to summary |
|---|---|
| protected CompositorStageRenderSettings create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CompositorStageRenderSettings create() Returns a new | |
| create | back to summary |
|---|---|
| public static CompositorStageRenderSettings create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CompositorStageRenderSettings. Returns a new
| |
| create | back to summary |
|---|---|
| public static CompositorStageRenderSettings. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CompositorStageRenderSettings createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CompositorStageRenderSettings. Like
| |
| m_bBackfaceCulling | back to summary |
|---|---|
| public boolean m_bBackfaceCulling() Controls backface culling.
| |
| m_bGreyscale | back to summary |
|---|---|
| public boolean m_bGreyscale() Converts the render model's texture to luma and applies to rgb equally. This is useful to combat compression artifacts that can occur on desaturated source material.
| |
| m_bWireframe | back to summary |
|---|---|
| public boolean m_bWireframe() Renders mesh as a wireframe.
| |
| m_flFresnelStrength | back to summary |
|---|---|
| public float m_flFresnelStrength() Fades to the secondary color based on view incidence. This variable controls the linearity of the effect. It is mutually exclusive with vignette. Additionally, it treats the mesh as faceted. | |
| m_flVignetteInnerRadius | back to summary |
|---|---|
| public float m_flVignetteInnerRadius() Vignette radius is in meters and is used to fade to the specified secondary solid color over that 3D distance from the origin of the playspace. | |
| m_flVignetteOuterRadius | back to summary |
|---|---|
public float m_flVignetteOuterRadius()
| |
| m_PrimaryColor | back to summary |
|---|---|
| public HmdColor m_PrimaryColor() Primary color is applied as a tint to (i.e. multiplied with) the model's texture.
| |
| m_SecondaryColor | back to summary |
|---|---|
public HmdColor m_SecondaryColor()
| |
| malloc | back to summary |
|---|---|
| public static CompositorStageRenderSettings malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CompositorStageRenderSettings. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CompositorStageRenderSettings malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CompositorStageRenderSettings. Returns a new
| |
| nm_bBackfaceCulling | back to summary |
|---|---|
| public static boolean nm_bBackfaceCulling(long struct) Unsafe version of | |
| nm_bGreyscale | back to summary |
|---|---|
| public static boolean nm_bGreyscale(long struct) Unsafe version of | |
| nm_bWireframe | back to summary |
|---|---|
| public static boolean nm_bWireframe(long struct) Unsafe version of | |
| nm_flFresnelStrength | back to summary |
|---|---|
| public static float nm_flFresnelStrength(long struct) Unsafe version of | |
| nm_flVignetteInnerRadius | back to summary |
|---|---|
| public static float nm_flVignetteInnerRadius(long struct) Unsafe version of | |
| nm_flVignetteOuterRadius | back to summary |
|---|---|
| public static float nm_flVignetteOuterRadius(long struct) Unsafe version of | |
| nm_PrimaryColor | back to summary |
|---|---|
| public static HmdColor nm_PrimaryColor(long struct) Unsafe version of | |
| nm_SecondaryColor | back to summary |
|---|---|
| public static HmdColor nm_SecondaryColor(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
CompositorStageRenderSettings structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CompositorStageRenderSettings |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected CompositorStageRenderSettings | |
| public boolean | Returns: the value of theCompositorStageRenderSettings#m_bBackfaceCulling field.
|
| public boolean | |
| public boolean | |
| public float | Returns: the value of theCompositorStageRenderSettings#m_flFresnelStrength field.
|
| public float | Returns: the value of theCompositorStageRenderSettings#m_flVignetteInnerRadius field.
|
| public float | |
| public HmdColor | |
| public HmdColor | |
| protected CompositorStageRenderSettings. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CompositorStageRenderSettings ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| getElementFactory | back to summary |
|---|---|
| protected CompositorStageRenderSettings getElementFactory() Implements abstract org.
| |
| m_bBackfaceCulling | back to summary |
|---|---|
public boolean m_bBackfaceCulling()
| |
| m_bGreyscale | back to summary |
|---|---|
public boolean m_bGreyscale()
| |
| m_bWireframe | back to summary |
|---|---|
public boolean m_bWireframe()
| |
| m_flFresnelStrength | back to summary |
|---|---|
public float m_flFresnelStrength()
| |
| m_flVignetteInnerRadius | back to summary |
|---|---|
public float m_flVignetteInnerRadius()
| |
| m_flVignetteOuterRadius | back to summary |
|---|---|
public float m_flVignetteOuterRadius()
| |
| m_PrimaryColor | back to summary |
|---|---|
public HmdColor m_PrimaryColor()
| |
| m_SecondaryColor | back to summary |
|---|---|
public HmdColor m_SecondaryColor()
| |
| self | back to summary |
|---|---|
| protected CompositorStageRenderSettings. Implements abstract org.
| |